In this section, let's understand some of the architectural concepts of Elastic Beanstalk. As you understood from the core concepts, an environment is an essential component used to deploy a web application. Creating a new environment requires selecting the appropriate environment tier, platform, and environment type. Broadly speaking, environment tiers are divided into two environments:
- The web server environment: This tier hosts a web application and handles HTTP(S) requests.
- The worker environment: This tier hosts a web application and handles long-running or scheduled background processing tasks.
A detailed description of these environment tiers will be given in the following subsections.