Cost, Performance, Reliability, Security, Operational Excellence
server based
WhatsTheTime
- public / private IP & EC2
- Elastic IP vs Route53 vs Load Balancer
- Route53 TTL, A records and Alias records
- manually scale or ASG
- Multi-AZ
- ELB health checks
- Security Group Rules
MyClothes (Stateful)
- ELB sticky session
ElastiCache
- RDS
- Tight security with security group referencing each other (minimal access)
MyWordPress
- Aurora Database to have easy Multi-AZ and Read-Replicas
- Storing data in EBS (single instance) vs EFS (distributed)
Elastic Beanstalk
- Elastic Beanstalk is a developer centric view of deploying an application on AWS
- managed service
- automatically handles capacity provisioning, LB, scaling, application health monitoring, instance configuration
- just the application code is the responsibility of the developer
- pay for the underlying instances
- Components
- Application - collection of Elastic beanstalk components (environments, versions, configurations)
- Application Version - an iteration of your application code
- Environment
- collection of AWS resources running an application version
- Tiers - web / worker