JAEN

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 on this site, held on your device. The app adds 632 more: 1,510 commands and 120 fix flows, searchable with no connection. Free to install, no ads (some content is a one-time purchase).

Get it free on the App Store