Created
May 18, 2011 12:56
-
-
Save garnaat/978523 to your computer and use it in GitHub Desktop.
Builds on https://gist.github.com/978465 by showing a few instance features
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Assumes that https://gist.github.com/978465 has already been run. Not stand-alone | |
# grab an Elastic IP address | |
address = conn.allocate_address() | |
# now associate with my instance | |
instance.use_ip(address) | |
# now turn on monitoring | |
instance.monitor() | |
# now associate a tag with the instance | |
instance.add_tag(key='os_type', value='maverick') | |
instance.add_tag(key='demo') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment