将 CodeStar 应用程序部署到 Spot 实例

Deploying CodeStar application to Spot Instance

有没有一种简单的方法可以在每次完成请求时自动将 CodeStar 应用程序部署到持久点实例?管道仅在代码更改时运行,并且要求已安装 codedeploy 代理。我在网上搜索过,但似乎找不到任何关于将 CodeStar 与 Spot 实例一起使用的信息。

似乎完全有可能,请阅读Deploying AWS CodeDeploy Applications to Auto Scaling Groups


AWS CodeDeploy supports Auto Scaling, an AWS service that can launch Amazon EC2 instances automatically according to conditions you define. These conditions can include limits exceeded in a specified time interval for CPU utilization, disk reads or writes, or inbound or outbound network traffic. Auto Scaling terminates the instances when they are no longer needed. For more information, see What Is Auto Scaling?.

When new Amazon EC2 instances are launched as part of an Auto Scaling group, AWS CodeDeploy can deploy your revisions to the new instances automatically. You can also coordinate deployments in AWS CodeDeploy with Amazon EC2 instances registered with Elastic Load Balancing load balancers. For more information, see Integrating AWS CodeDeploy with Elastic Load Balancing and Set Up a Classic Load Balancer in Elastic Load Balancing for AWS CodeDeploy Deployments.

祝你好运