Open kingfischer16 opened 3 years ago
The ASG size should match 1:1 the SQS queue size, up to the maximum allowed number of instances. This can be setup using a CloudWatch alarm.
If CloudWatch alarms are setup, this may interfere with the hibernate
function. Does the hibernate
function need to disable these CloudWatch alarms?
A Fargate cluster will automatically hibernate when there are no more jobs, but an EC2 cluster will not. A
hibernate
function should be callable on an active deployment, and should trigger:Additionally, a
resume
orthaw
orwakeup
function is required to restart the execution again. This is functionality will likely come in handy so users don't have toundeploy
andredeploy
the same deployment everytime they need to take a break.