Create Elastic Beanstalk Environment
Fundamentals of Elastic Beanstalk
- Application: Application is a logical collection of components like Environments, Versions and Environment Configurations.
- Version: Each Application has many versions. For example, Application with version A uses Mysql and with Version B it uses PostgreSQL.
- Environment Tier: When we create new Environment, we can choose 1 of 2 tiers:
- Web server: For Application that serves on HTTP/HTTPS.
- Worker: For application that pulls tasks of SQS Queue to process.
- Environment Configuration: The settings of the Application.
In this section, we will create a High Availability Environment with AWS provided sample code.

Content
- Create a VPC
- Enable auto-assign public IPv4 address
- Create EC2 Keypair
- Create EC2 Instance Profile
- Deploy the Environment
- Test the Environment