IaC allows you to write a script to provision AWS resources. The benefit is that you provision resources in a reproducible manner that saves time.
CloudFormation
CloudFormation allows you to provision AWS resources using IaC.
Features:
- Provides a repeatable process for provisioning resources.
- Works with most AWS services.
- Create templates for the resources you want to provision.
- Automate the creation of EC2 instances in your AWS account.
Elastic Beanstalk
Elastic Beanstalk allows you to deploy your web applications and web services to AWS.
Features:
- Orchestration service that provisions resources.
- Monitors application health via a health dashboard.
- Automatically handles the deployment.
- Helps in capacity provisioning, load balancing and, auto-scaling.
OpsWorks
OpsWorks allows you to use Chef or Puppet to automate the configuration of your servers and deploy code.
Features:
- Deploy code and manage applications.
- Manage on-premises servers or EC2 instances in AWS Cloud.
- Works with Chef and Puppet automation platforms.
- Automate installation scripts and configuration.
Important for the exam:
- CloudFormation supports infrastructure automation using IaC.
- Elastic Beanstalk is only used to deploy applications to the AWS cloud- it is not used to deploy applications on-premises.
- OpsWork can deploy applications on-premises, and it also automates infrastructure management using Chef or Puppet.
Discover more from Information Security Blogs
Subscribe to get the latest posts sent to your email.

One thought on “AWS Infrastructure as Code (IaC)”