It's unclear to me exactly how the underlying AWS Fargate cluster works under the covers.
Does the underlying cluster still scale up and down as needed when the tasks need more instances, and if so, where is that specified?
Yes, Application Autoscaling works fine with Fargate.
Using CloudFormation:
AWS::ApplicationAutoScaling::ScalableTarget
and specify for RescoureId
your service/<cluster-name>/<service-name>
AWS::ApplicationAutoScaling::ScalingPolicy
and specify only the ScalingTargetId
(do not declare ScalableDimension
, ServiceNamespace
and RescoureId
) Add it will scale in/out your ECS service
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.