Classic Solution Architecture Discussion Flashcards
1
Q
How do you install / deploy your EC2 instance to your application?
A
- Can use a golden AMI : install your application, OS dependencies etc, beforehand and launch your EC2 instance from the golden AMI
- Bootstrap using user data: for dynamic configuration, use user data scripts
- Can have a hybrid: mix golden AMI & user data (elastic beanstalk)
2
Q
How do you install / deploy your RDS database to your application?
A
- Restore from a snapshot, the database will have schemas & data ready
3
Q
How do you install / deploy your EBS volumes to your application?
A
- Restore from a snapshot the disk will already be formatted & have data
4
Q
_________ is a developer centric view of deploying an application on AWS
A
Elastic Beanstalk
5
Q
What are some features of elastic beanstalk?
A
- It uses all the components such as EC2, ASG, ELB, RDS
- Managed Service
1. Automatically handles capacity provisioning Los balancing scaring application health monoriting instance configuration
- Just the application code is the responsibility of the developer
- Beanstalk is free but you pay for the underlying instances
6
Q
What are the components of elastic beanstalk?
A
- Application: collection of elastic beanstalk components (environment, versions, configurations)
- Application version: an iteration of your application code
- Environment:
- Collection of AWSresoucres running an application version (only one application version at a time)
- Tiers: web servers environment tier & workers environment tiers
7
Q
What are the different Elastic beanstalkd deployment modes?
A
- Single Instance great for dev
- High availability with load balancer great for prod