1 Risposta
- Più recenti
- Maggior numero di voti
- Maggior numero di commenti
2
I would consider using an AWS Systems Manager (SSM) Automation to call the EC2 API and update the instance type. For scheduling, you could use EventBridge Scheduler with a one-time schedule (it also supports a flexible window). SSM also has a few native scheduling options.
You can use the AWS provided AWS-ResizeInstance
automation, or copy it and create your own one. The SSM document will use the aws:executeAwsApi
action to call ModifyInstanceAttribute
. The main benefit using SSM is that you can ensure it stops the instance, modifies starts etc. and check for errors. Again, the AWS provided one is a good start and might suffice.
Contenuto pertinente
- AWS UFFICIALEAggiornata 4 mesi fa
- AWS UFFICIALEAggiornata 2 anni fa
- AWS UFFICIALEAggiornata 3 anni fa
Thanks Raphael, much appreciated! :)