Classic SA Discussions - Elastic Beanstalk Flashcards
What is Elastic Beanstalk?
A service for deploying and managing applications on AWS.
Bundles AWS components like EC2, ASG, ELB, and RDS into a single, developer-friendly interface.
Why use Elastic Beanstalk?
Automates provisioning, scaling, load balancing, and health monitoring.
Lets developers focus on writing code instead of managing infrastructure.
What are the key components of Elastic Beanstalk?
Application: Collection of environments, versions, and configurations
.
Application Version: Iterations of your code (e.g., version 1, version 2).
Environment: Resources running a specific application version.
What are the environment tiers in Elastic Beanstalk?
Web Server Tier: Traditional architecture with load balancers and auto-scaling web servers.
Worker Tier: Processes messages from an SQS queue using worker EC2 instances.
What are the deployment modes in Elastic Beanstalk?
Single Instance Mode:
For development, uses one EC2 instance with an Elastic IP.
Highly Available Mode:
For production, includes load balancers, auto-scaling, and multi-AZ RDS.
What are the architecture options in Elastic Beanstalk?
Web Environment:
Load balancer routes traffic to auto-scaling web servers.
Worker Environment:
EC2 instances pull messages from an SQS queue and scale based on the number of messages.
Can you combine web and worker environments in Elastic Beanstalk?
Yes, a web environment can push messages to an SQS queue that the worker environment processes.
Is Elastic Beanstalk free?
The service is free, but you pay for the AWS resources (e.g., EC2, ASG, ELB, RDS) it uses.