> I want to publish a new Virtual Machine Image (VMI) that I created
> locally using jcloud. I then want to reference the image to
> instantiate new nodes.
>
> I also want to install new application packages on a running node and
> then create a snapshot of the image from which I can create other
> running nodes.
I may be missing something obvious here, but...which provider are you
using? ;-)
Thanks!
ap
Ah, thanks. When you talk about "snapshots" I assume you mean
snapshots of an EBS volume [1], rather than the image itself? You
should be able to do that using the services provided by the
ElasticBlockStoreAsyncClient [2], from where you can also attach the
volume to a specific instance.
The EC2TemplateOptions [3] also allow you to map EBS snapshots to
devices, amongst others. A usage sample would look like [4]
template.getOptions().as(EC2TemplateOptions.class).mapEBSSnapshotToDeviceName(deviceName, snapshotId, sizeInGib,
deleteOnTermination)
Hope this helps!
ap
[1]
http://docs.amazonwebservices.com/AWSEC2/latest/CommandLineReference/ApiReference-cmd-CreateSnapshot.html
[2]
https://github.com/jclouds/jclouds/blob/master/apis/ec2/src/main/java/org/jclouds/ec2/services/ElasticBlockStoreAsyncClient.java
[3]
https://github.com/jclouds/jclouds/blob/master/apis/ec2/src/main/java/org/jclouds/ec2/compute/options/EC2TemplateOptions.java
[4] http://code.google.com/p/jclouds/wiki/EC2#Default_image
> --
> You received this message because you are subscribed to the Google
> Groups "jclouds" group.
> To post to this group, send email to jcl...@googlegroups.com.
> To unsubscribe from this group, send email to
> jclouds+u...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/jclouds?hl=en.
>
>
--
Andrew Phillips
qrmedia
Unless expressly stated otherwise, this message is confidential.
Access to this e-mail by anyone else is unauthorised. If you are
not an addressee, any disclosure or copying of the contents of
this e-mail or any action taken (or not taken) in reliance on it
is unauthorised and may be unlawful. If you are not an addressee,
please inform the sender immediately.
This message is confidential and may not be redistributed or
broadcast in whole or part in any form, including but not limited
to any form of internet transmission including email, usenet,
newsgroups, www, irc, icq, etc.
All liability for errors and viruses is disclaimed.