2 Answers
- Newest
- Most votes
- Most comments
1
Hello. To achieve your desired outcome: Continue with the utilization-based scaling policy as you described:
Increase capacity by 2 instances when utilization is above 80%.
Decrease capacity by 1 instance when utilization is below 70%.
Use two CRON expressions to handle the morning surge:
First CRON expression at 5:15 UTC (0 15 5 ? * MON-FRI *): Set the minimum capacity to 45 and the maximum capacity to 50.
Second CRON expression at 8:15 UTC (0 15 8 ? * MON-FRI *): Set the minimum capacity back to its default value (could be 0 or a suitable number for your needs) and the maximum capacity to a higher value if needed (or you can leave it unrestricted).
Regards, Andrii
1
Could you accept the answer if it helped you? Thanks)
This worked great, thank you.
Relevant content
- asked 3 years ago
- asked 3 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
Thank you, I will test tonight and then comment/close this ticket.