libcloud-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Toma┼ż Muraus <to...@apache.org>
Subject Re: change ec2 shutdown behavior with libcloud
Date Tue, 17 Jan 2012 17:02:13 GMT
Currently you cannot do that using libcloud, but implementing an extension
method which does this should be pretty easy. Let us know if you need help
with it.

On Tue, Jan 17, 2012 at 3:32 AM, Yaron Naveh <yaronn01@gmail.com> wrote:

> Hi
>
> I use libcloud to create an ec2 instance via the create_node api.
>
> How to set a shutdown behavior of "terminate" to this instance?
>
> I want to get the same effect as if I used:
>
> $> ec2-modify-instance-attribute instance_id
> --instance-initiated-shutdown-behavior terminate
>
> Thanks,
> Yaron
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message