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

     

     

     

     

     

     

     

     

     

     

     

  • 相关阅读:
    通过TomCat获取html文件时中文乱码
    H5小细节
    jquery中自定义函数被事件调用
    CSS-规则声明
    CSS-继承、层叠、特指
    CSS-伪类
    CSS-属性选择器
    CSS-ID和类选择器
    CSS-上下文选择器
    JQ实现多图片预览和单图片预览
  • 原文地址:https://www.cnblogs.com/Answer1215/p/15356453.html
Copyright © 2011-2022 走看看