Skip to content

Instantly share code, notes, and snippets.

@brucem
Last active December 16, 2015 19:30
Show Gist options
  • Save brucem/5485905 to your computer and use it in GitHub Desktop.
Save brucem/5485905 to your computer and use it in GitHub Desktop.
Get the latest ubuntu AMIs in us-east-1
wget --quiet http://uec-images.ubuntu.com/query/precise/server/released.current.txt -O - | \
grep us-east-1 | \
grep i386 | \
grep paravirtual | \
grep ebs | \
awk '{ print $8 }'
wget --quiet http://uec-images.ubuntu.com/query/precise/server/released.current.txt -O - | \
grep us-east-1 | \
grep amd64 | \
grep paravirtual | \
grep ebs | \
awk '{ print $8 }'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment