Skip to content

Instantly share code, notes, and snippets.

@eerien
Created September 2, 2014 03:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eerien/429728383cbe6a2bbda9 to your computer and use it in GitHub Desktop.
Save eerien/429728383cbe6a2bbda9 to your computer and use it in GitHub Desktop.
AWS (Amazon Web Services) AutoScaling: set-desired-capacity script
#!/bin/bash
export AWS_ACCESS_KEY_ID=
export AWS_SECRET_ACCESS_KEY=
/usr/local/bin/aws autoscaling set-desired-capacity --region "$1" --auto-scaling-group-name "$2" --desired-capacity "$3" --no-honor-cooldown
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment