Amazon Fargate · Arazzo Workflow
Amazon Fargate Decommission a Cluster
Version 1.0.0
Scale a service to zero and delete it, then delete the cluster once it has no active services.
View Spec
View on GitHub
Amazon Web ServicesComputeContainersECSEKSMicroservicesServerlessArazzoWorkflows
Provider
Workflows
decommission-cluster
Remove a service and then delete its cluster once no active services remain.
Chains updateService (desiredCount 0), deleteService, a describeClusters poll until activeServicesCount is zero, and deleteCluster.
1
scaleServiceToZero
Scale the service to zero tasks so it can be deleted.
2
deleteService
Delete the now-zeroed service, forcing removal if needed.
3
pollClusterServices
Poll DescribeClusters until the active service count reaches zero, then proceed to delete the cluster.
4
deleteCluster
Delete the cluster now that it has no active services.
Source API Descriptions
openapi
Arazzo Workflow Specification
Work with this as data
Every workflow here is available over the APIs.io API and to AI agents over MCP.