Overview
- Represents application code to be deployed on the stack
App Configuration
- Settings
- Application Source
- S3 archive
- git (GitHub, BitBucket)
- Use tag to reference static version
- Subversion
- HTTP archive
- Data Sources
- RDS
- Database Instance
- Database Name
- Connection string is added to deploy attributes
- None
- RDS
- Environment Variables
- Key - Value
- Secure = protected Value for sensitive data (not returned by DescribeApps API)
- Added to deploy attributes
- Key - Value
- Domain and SSL Settings
Deployment
- When app is added or modified it must be deployed manually
- "deploy" event is triggered
- Deploy recipes are run
- All selected instances are concurrently updated
Deployment Types
- Rolling
- Must be manually done (e.g. AZ by AZ)
- ELB must be manually handled (deregister/register)
- Blue-Green
- Separate stacks, e.g.
- Development
- Staging
- Production
- Once Staging ready it's promoted to Green
- Warm-up ELBs on Green
- Gradually change traffic weights
- Separate stacks, e.g.
No comments:
Post a Comment