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

     

     

     

     

     

     

     

     

     

     

     

  • 相关阅读:
    1217 实验四 递归下降语法分析程序设计
    1118实验三有限自动机的构造与识别
    11.12评论
    C语言文法
    25-陈庆祥-词法分析
    0909我的看法
    文法定义评价
    1029 语言文法
    1022 词法分析程序
    0909 随说
  • 原文地址:https://www.cnblogs.com/Answer1215/p/15356453.html
Copyright © 2011-2022 走看看