Skip to main content

AWS CLI Cheat Sheet

Useful and forgetful AWS CLI commands.

Published 1 min readMarkdown
AWS CLI Cheat Sheet

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

No comments yet. Be the first to comment.

More from this blog