Beanstalk

Three architecture modelss:

  • Single instance + EIP for dev env
  • LB + ASG for production or pre-production web applications
  • ASG only, for non-web apps in production (workers, etc...)

[SAP] 33. Deployment and instance management

[SAP] 33. Deployment and instance management

 

CodeDeploy

[SAP] 33. Deployment and instance management

  • Traffic shifting with Lambda Alias
  • There are pre-traffic and post-traffic hook to validate deployment
  • Rolback is easy using CloudWatch Alaram

 

[SAP] 33. Deployment and instance management

Idea would be monitor the request number of the DynamoDB instance is stable. If not, CloudWatch alarm triggered to rollback the deployment.

Then we can make sure, the application is working instead of fully shifted, then found application doesn't work any more

 

CloudFormation

[SAP] 33. Deployment and instance management

  • If you want to update EC2 update ASG, create a new launch configuration + use UpdatePolicy for CloudFormation

 

[SAP] 33. Deployment and instance management

 

[SAP] 33. Deployment and instance management

  • CloudFormation need IAM to create resources
  • If you want CloudFormation to create IAM resouce, need to use CAPABILITY_IAM and CAPABILITY_NAMED_IAM

 

[SAP] 33. Deployment and instance management

  • Cross stack  is mainly Ouputs export and Fn::ImportValue
  • Nested stack, all about re-use

 

[SAP] 33. Deployment and instance management

 

[SAP] 33. Deployment and instance management

  • Users can launch authorized products by admins

 

[SAP] 33. Deployment and instance management

  • Admin defined CloudFromation templates
  • Save to Portfolio
  • Using IAM permission to control access
  • User can authorized by IAM to launch product

 

[SAP] 33. Deployment and instance management

 

[SAP] 33. Deployment and instance management

 

 [SAP] 33. Deployment and instance management

Optworks cannot clone from region to region.

 

[SAP] 33. Deployment and instance management

Only AWS EKS can use third-party add-on, ECS cannot

 

[SAP] 33. Deployment and instance management

 

[SAP] 33. Deployment and instance management

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

相关文章:

  • 2021-07-15
  • 2021-09-09
  • 2022-03-03
  • 2021-09-06
  • 2022-12-23
  • 2021-09-09
  • 2021-11-13
  • 2021-07-24
猜你喜欢
  • 2021-12-22
  • 2021-06-30
  • 2022-12-23
  • 2021-12-03
  • 2022-01-22
  • 2021-04-23
相关资源
相似解决方案