Channels
announcements
automation-api
aws
azure
blog-posts
built-with-pulumi
cloudengineering
cloudengineering-support
content-share
contribex
contribute
docs
dotnet
finops
general
getting-started
gitlab
golang
google-cloud
hackathon-03-19-2020
hacktoberfest
install
java
jobs
kubernetes
learn-pulumi-events
linen
localstack
multi-language-hackathon
office-hours
oracle-cloud-infrastructure
plugin-framework
pulumi-ai
pulumi-cdk
pulumi-cloud
pulumi-crosscode
pulumi-deployments
pulumi-kubernetes-operator
pulumiverse
python
registry
status
testingtesting123
testingtesting321
typescript
welcome
workshops
yaml
Powered by
Title
p
polite-continent-12996
08/10/2021, 9:25 PM
Is there documentation on how to scale ECS fargate tasks? or is this done automatically?
g
great-sunset-355
08/10/2021, 9:26 PM
https://aws.amazon.com/premiumsupport/knowledge-center/ecs-fargate-service-auto-scaling/
p
polite-continent-12996
08/10/2021, 9:30 PM
Thanks for that, I was actually meaning for Pulumi. Is there a way to do it using that?
g
great-sunset-355
08/10/2021, 9:42 PM
you should be able to find all necessary components either in either awsx
https://www.pulumi.com/docs/reference/pkg/nodejs/pulumi/awsx/ecs/
or
https://www.pulumi.com/docs/reference/pkg/aws/ecs/
also checkout
https://github.com/pulumi/examples
has plenty of basic examples, usually good enough to get started
p
proud-art-41399
08/11/2021, 6:01 AM
First you need to create an app autoscaling target (
https://www.pulumi.com/docs/reference/pkg/aws/appautoscaling/target/#ecs-service-autoscaling
) which in your case will be an ECS service. Then you need to define the autoscaling policy (
https://www.pulumi.com/docs/reference/pkg/aws/appautoscaling/policy/#ecs-service-autoscaling
). AFAIK there's no example in
pulumi/examples
but I can provide one if you won't be able to come up with the solution from the examples in documentation.
p
polite-continent-12996
08/11/2021, 6:51 PM
Awesome thanks guys, Ill take a look and report back.
#aws
Join Slack