AWS CLI Cheat Sheet

Photo by Taylor Vick on Unsplash

AWS CLI Cheat Sheet

Useful and forgetful AWS CLI commands.

·

1 min read

List and filter available EC2 Linux images

aws ec2 describe-images \
  --owners amazon \
  --filters "Name=platform,Values=windows" "Name=root-device-type,Values=ebs"

Restart the ECS Cluster service

$ aws ecs update-service \
  --force-new-deployment \
  --cluster CLUSTER_NAME \
  --service SERVICE_NAME