【系统设计】什么是Automation?

Automation

The infrastructure is getting big, it can scale to 1000s of instances. We have read replicas, we have horizontal scaling, but we need some automation to help manage it all, we don’t want to manage each individual instance.

There’s a hierarchy of automation tools.

  • Do it yourself: Amazon EC2, AWS CloudFormation.
  • Higher-level services: AWS Elastic Beanstalk, AWS OpsWorks

AWS Elastic Beanstalk: manages the infrastructure for your application automatically. It’s convenient but there’s not a lot of control.

AWS OpsWorks: an environment where you build your application in layers, you use Chef recipes to manage the layers of your application.

  • Also enables the ability to do Continuous Integration and deployment.

AWS CloudFormation: been around the longest.

  • Offers the most flexibility because it offers a templatized view of
    your stack. It can be used to build your entire stack or just
    components of the stack.
  • If you want to update your stack you update the Cloud Formation
    template it will update just that one piece of your application.
  • Lots of control, but less convenient.

AWS CodeDeploy: Deploys your code to a fleet of EC2 instances.

  • Can deploy to one or thousands of instances.
  • Code Deploy can point to an auto scaling configuration so code is
    deployed to a group of instances.
  • Can also be used in conjunction with Chef and Puppet.
posted @ 2020-12-26 09:17  EvanMeetTheWorld  阅读(262)  评论(0)    收藏  举报