Create Elastic Beanstalk Environment

Fundamentals of Elastic Beanstalk

  1. Application: Application is a logical collection of components like Environments, Versions and Environment Configurations.
  2. Version: Each Application has many versions. For example, Application with version A uses Mysql and with Version B it uses PostgreSQL.
  3. 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.
  4. Environment Configuration: The settings of the Application.

In this section, we will create a High Availability Environment with AWS provided sample code.

Only eb architecture

Content

  1. Create a VPC
  2. Enable auto-assign public IPv4 address
  3. Create EC2 Keypair
  4. Create EC2 Instance Profile
  5. Deploy the Environment
  6. Test the Environment