1 Answer
- Newest
- Most votes
- Most comments
0
Fargate uses the application-autoscaling command to configure AutoScaling as described in the following document.
https://repost.aws/knowledge-center/ecs-fargate-service-auto-scaling
Relevant content
- asked 2 years ago
- Accepted Answerasked 2 years ago
- asked 5 months ago
- asked 8 months ago
- AWS OFFICIALUpdated 2 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 9 months ago
- AWS OFFICIALUpdated 2 years ago
I know how to configure autoscaling with the aws-cli and console. I want to know how to configure autoscaling with a json file using the command "'aws ecs create-service --cli-input-json file://service.json --region us-east-2".
AutoScaling cannot be configured with the aws ecs create-service command. Application Auto Scaling and ECS Fargate are two different services to begin with, so it is only natural that they have separate APIs.
https://docs.aws.amazon.com/AmazonECS/latest/userguide/service-auto-scaling.html
Thank you for a description!