You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Instance scheduler now supports ECS via ASG scaling, however it does not work for Fargate services as they do not use EC2/ASGs and have their own task scaling system.
Describe the feature you'd like
Add support for Fargate task scaling to instance scheduler, similar to how ASGs work.
Additional context
The workaround is to maintain your own scaling rules for Fargate services, but the idea of having a centralized instance scheduler is nice.
Example with CDK
/** Set up office hours scaling to save money on development environments. */privatesetupOfficeHours(scalableTarget: cdk.aws_ecs.ScalableTaskCount){scalableTarget.scaleOnSchedule('OfficeHoursIn',{schedule: appscaling.Schedule.cron(OFFICE_HOURS.in),minCapacity: this.env.minCapacity??1,maxCapacity: this.env.maxCapacity??2,});scalableTarget.scaleOnSchedule('OfficeHoursOut',{schedule: appscaling.Schedule.cron(OFFICE_HOURS.out),minCapacity: 0,maxCapacity: 0,});}
The text was updated successfully, but these errors were encountered:
Instance scheduler now supports ECS via ASG scaling, however it does not work for Fargate services as they do not use EC2/ASGs and have their own task scaling system.
Describe the feature you'd like
Add support for Fargate task scaling to instance scheduler, similar to how ASGs work.
Additional context
The workaround is to maintain your own scaling rules for Fargate services, but the idea of having a centralized instance scheduler is nice.
Example with CDK
The text was updated successfully, but these errors were encountered: