Stop or Delete Scheduled actions for Auto Scaling group

0

I have Auto Scaling group with Dynamic scaling policies:

Enter image description here

And there are Scheduled actions repeatedly. Is it possible to delete Scheduled actions or disable them while leaving Dynamic scaling policies active? Or should they be functioning together with Dynamic scaling policies in an automate?

Enter image description here

asked a month ago427 views
4 Answers
1

What are the names of those actions? It looks like those might be created as part of a Predictive Scaling V1 policy as part of a ScalingPlan

To get rid of them, you would need to either delete the Scaling Plan or remove this ASG from it. The new version of Predictive Scaling that you create as a Native scaling policy in the ASG won't create scheduled actions: https://aws.amazon.com/about-aws/whats-new/2021/05/amazon-ec2-auto-scaling-introduces-predictive-scaling-native-scaling-policy/

If these aren't created from a scaling plan and are created by you, then yes, you can delete scheduled actions without any affect on the dynamic scaling policy. The 2 are separate from each other

AWS
answered a month ago
0

Hi

Yes, it is absolutely possible to delete scheduled actions or disable them while leaving dynamic scaling policies active. They can function independently or together in an automated fashion.

Delete Scheduled Actions This permanently removes the scheduled scaling behavior. Use this if you no longer need the specific scaling events planned for those times. Dynamic scaling policies will continue to operate based on their defined metrics.

Disable Scheduled Actions This temporarily pauses the scheduled actions without affecting the configuration. You can re-enable them later if needed. This is useful if you want to prevent scheduled scaling for a while but might require it again. Dynamic scaling policies remain active and can respond to metric changes.

https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-scheduled-scaling.html

profile picture
EXPERT
GK
answered a month ago
  • Do you mean that Scheduled Actions are linked to Dynamic Scaling Policies and are not separate entities on their own?

  • No, scheduled actions and dynamic scaling policies are not directly linked and can function entirely independently.

0

=>Evaluate Scheduled Actions: Decide if scheduled actions (pre-planned scaling events) are still necessary.

=>Assess Dynamic Scaling: Understand how dynamic scaling policies (automated adjustments based on real-time metrics) are functioning.

=>Decision Time: If Scheduled Actions Are Unnecessary: Delete them to avoid conflicts. If Scheduled Actions Are Needed: Ensure they complement dynamic scaling without overlap.

=>Action Steps: Delete unnecessary scheduled actions. Adjust timings if there's overlap. Fine-tune dynamic scaling policies for optimal performance and cost efficiency.

=>Monitor and Adjust: Keep an eye on performance, cost, and workload patterns. Adjust policies and actions as needed to maintain alignment with application requirements.

=>By simplifying and aligning scheduled actions and dynamic scaling policies, you can effectively manage your AWS Auto Scaling group for optimal performance and cost-effectiveness.

answered a month ago
0

Yes, it is possible to delete scheduled actions for an Auto Scaling group while leaving dynamic scaling policies active. Scheduled actions and dynamic scaling policies are two different ways to scale your Auto Scaling group, and they can function independently of each other.

Here are the steps to delete a scheduled action for an Auto Scaling group using the AWS Management Console:

1.Log in to the AWS Management Console and navigate to the Auto Scaling service.

2.In the navigation pane, select Auto Scaling groups.

3.Select the Auto Scaling group that you want to modify.

4.On the Automatic Scaling tab, in the Scheduled Actions section, select the scheduled action that you want to delete.

5.Click Actions, and then select Delete.

6.Confirm that you want to delete the scheduled action.

Once you have deleted the scheduled action, it will no longer be used to scale your Auto Scaling group. Your dynamic scaling policies will continue to function as usual.

https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DeleteScheduledAction.html

answered a month ago
profile pictureAWS
EXPERT
reviewed a month ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions