Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Boto EC2: Create an instance with tags
- ec2server.create_instance(
- ec2_conn, ami_name, security_group, instance_type_name, key_pair_name, user_data
- )
- rsvn = image.run(
- ... standard options ...
- )
- sleep(1)
- for instance in rsvn.instances:
- instance.add_tag('<tag name>', <tag value>)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement