Re: [boto-users] Getting tenancy of an instance

24 views
Skip to first unread message

Mitchell Garnaat

unread,
Apr 12, 2013, 10:51:57 AM4/12/13
to boto-users
There is a bit of complexity around this because of backward compatibility concerns but I thing you should be able to find the complete placement info including tenancy using the placement_group attribute.

Mitch


On Fri, Apr 12, 2013 at 6:19 AM, Emilio García <emilio...@cloudreach.co.uk> wrote:
Dear all,

When I get an instance (using get_all_instances method) I cannot find any attribute that maps with the instance's tenancy. Am I missing something very stupid or it just cannot be retrieved?

Thank you.

--
You received this message because you are subscribed to the Google Groups "boto-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to boto-users+...@googlegroups.com.
To post to this group, send email to boto-...@googlegroups.com.
Visit this group at http://groups.google.com/group/boto-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Mitchell Garnaat

unread,
Apr 12, 2013, 10:53:16 AM4/12/13
to boto-users
Correction.  Use placement_tenancy for the tenancy.  You can also use placement_group for the group_name and just placement for the availability zone.

Emilio García

unread,
Apr 15, 2013, 6:16:47 AM4/15/13
to boto-...@googlegroups.com, mi...@garnaat.com
What should be the value in placement_tenancy when is not 'default'?

Mitchell Garnaat

unread,
Apr 15, 2013, 7:49:57 AM4/15/13
to boto-users
The only value other than "default" is "dedicated".  This would mean that the instance is a dedicated instance running within a VPC.

Mitch
Reply all
Reply to author
Forward
0 new messages