概要
Overview of Deployment Options on AWS
https://d1.awsstatic.com/whitepapers/overview-of-deployment-options-on-aws.pdf
AWSへのプロビジョニングやデプロイの方法が紹介されている資料です。
以下のようなことを知ることができます。
- デプロイに関するサービスについて
- デプロイに関する概念について
- ダウンタイムなしで新しいバージョンのWebアプリをデプロイする方法(Blue-Green)
以下はメモです。
構成要素サービス
- EC2
- EBS
- S3/Glacier
- RDS
- Redshift
- DynamoDB
- Kinesis
デプロイサービス
- Elastic Beanstalk
- CloudFormation
- OpsWoks
- CodeCommit
- CodePipeline
- CodeDeploy
- Amazon EC2 Container Service
Common Features
- Provision
- Deploy
- Configure
- Scale
- Monitoring
- Logging
- Instance Profiles
- Custom variables
- Other AWS service integration
- Tags
Prebaking AMIs
CloudFormation経由でアプリのブートストラップをする方法 https://s3.amazonaws.com/cloudformation-examples/BoostrappingApplicationsWithAWSCloudFormation.pdf
Blue-Green デプロイに関する資料
https://d1.awsstatic.com/whitepapers/AWS_Blue_Green_Deployments.pdf
Weighted Round Robin(WRR)を使って、徐々にトラフィックをGreen側に寄せる。