Elastic Beanstalk Practical

Build your understanding of AWS Elastic Beanstalk in this practical.

We'll cover the following


In the widget below, we’ll take the following steps to showcase the creation of an Elastic Beanstalk application:

  • Create an IAM role and an EC2 instance profile.
  • Link the IAM role to the EC2 instance profile. Elastic Beanstalk requires an EC2 instance profile to create EC2 instances.
  • Create an Elastic Beanstalk application and application version.
  • Create a configuration file specifying the instance type and other ELB health check parameters.
  • Create the Elastic Beanstalk environment with the configuration file. This is where the actual application is deployed on the EC2 instances.

Note: We may need to type Q in the terminal if it gets stuck on long outputs. Also, running and deleting this practical may take a lot of time because Elastic Beanstalk needs to provision and delete many resources (like EC2 instances and security groups).


Get hands-on with 1200+ tech skills courses.