Finally, I found an easy solution to this problem. Everything was pretty simple:
- Go to the autosave groups (this can be found in the EC2-> Autoscaling dashboard section);
- Create a planned action (in this case, the required frequency can be specified for the container instance);
- Save the configuration. The instance will be added at the specified time.
- In my case, I also need to reduce this instance in 1 hour.
source
share