Skip to main content

nOps Copilot-Managed ASGs

About Copilot-Managed ASG and how it works

Compute Copilot for ASGs are now fully managing your ASGs for additional savings and reliability. Here’s how it works:

  • ASGs managed by Copilot are now converted to Mixed Instances Policy (MIP) ASGs, allowing nOps Compute Copilot to define Spot Instance Types this ASG can launch.
  • Compute Copilot Lambda keeps Managed ASG MIP in sync with the latest Spot Market recommendations by nOps, taking into account your Reserved Instances data. As a result, during scale-out events, Copilot-Managed ASG launches a Spot instance that is cheaper than the On Demand instance this ASG was launching before configuring it to Compute Copilot.
  • If there are OnDemand instances available for Spot migration running, or there are Spot instances that are at risk of interruption, Compute Copilot Lambda initiates an Instance Refresh to bring the ASG to the state approved by nOps Spot Market recommendations.
important

Within your ASG or launch template/launch configuration used for your ASG, you should have an instance type defined instead of instance requirements like just defining memory and CPU.

Why have Copilot manage ASGs

In addition to the benefits of the original approach, which includes the replacement of On Demand instances to Spot after a launch, having Copilot fully manage your ASGs brings the following additional benefits:

  • By utilizing an ASG Mixed Instance Policy, instances are typically not replaced after they are launched, reducing the amount of unnecessary noise your Application experiences.
  • Since Compute Copilot now integrates directly with AWS Instance Refresh and MIP, it now supports complicated use cases like AWS CodeDeploy and any other Life Cycle Hook specific cases.
  • Setting a strict MaxSpotPrice setting within the ASG MIP ensures the price of Managed Spot is always cheaper than the OnDemand that was initially defined, even if Spot Market Prices are changing frequently.

How to make the update

Simply follow the process used to configure Compute Copilot for ASG approach. and select Fully Managed ASG on the ASG Configuration Screen.