Cloud

aws ecs

CautionOperate ECS services

aws ecs list-services --cluster <cluster>

Inspects services and forces task replacement — the containerized 'turn it off and on again'.

Examples

  • aws ecs update-service --cluster prod --service web --force-new-deploymentForce a fresh deployment

Syntax

aws ecs [list-services|describe-services|update-service --force-new-deployment]

Before you run it

Capacity dips during redeploys.

Related commands

The same reference, with no signal at all

Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.

Get it free on the App Store