Classic Solutions Architecture Discussions Flashcards
What is a Golden AMI?
Install apps, OS dependencies beforehand.
How can you instantiate an EC2 app?
Launch EC2 instances from Golden AMI
Use Bootstrap Data (slow)
Hybrid - mix Golden AMI and User Data (Elastic Beanstalk)
How can you instantiate an RDS DB?
Restore from snapshot - DB will have schemas and data ready
How can you instantiate an EBS volume?
Restore from snapshot - disk will be formatted and have data
What is Elastic Beanstalk?
developer centric view of deploying an app on AWS
What components does Elastic Beanstalk use?
EC2
ASG
ELB
RDS
What does it mean that Elastic Beanstalk is a managed service?
Automatically handles capacity provisioning, load balancing, scaling, app health monitoring, instance config
Just the application code is the responsibility of the dev
Basically AWS manages it
Who has full control over the config of Elastic Beanstalk?
You
Is beanstalk free?
Yes
What do you pay in Beanstalk?
Underlying instances
What are Beanstalk’s components?
Application
App version
Environment - Tiers (web server env tier & worker env tier)
Web Server Tier vs Worker Tier
Web - ELB sends info to ASG and in the ASG you have 2 EC2 instances (web servers) and each has their own Security Group.
Worker - SWS Queue, sends SQS messages to each EC2 instance (Worker) which are inside an ASG
How can worker tier scale?
Based on number of SQS messages
Can you push messages to SQS queue from another Web Server Tier?
Yes