zoukankan      html  css  js  c++  java
  • [SAP] 33. Deployment and instance management

    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...)

     

    CodeDeploy

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

    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

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

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

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

    • Users can launch authorized products by admins

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

     

     

     

     

     

     

     

     

     

     

     

  • 相关阅读:
    c# 如何利用异或运算进行简单加密解密
    五分钟读懂UML类图
    深入浅出UML类图
    WPF中DPI的问题
    .NET调用JAVA的WebService方法
    动态调用WebService(C#) (非常实用)
    Docker入门
    idea开发shell脚本并运行
    SpringEl表达式解析
    Navicate 许可证
  • 原文地址:https://www.cnblogs.com/Answer1215/p/15356453.html
Copyright © 2011-2022 走看看