Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Publishing and snapshoting Virtual Machine Images

Received: by 10.216.234.154 with SMTP id s26mr1161weq.3.1308870014445;
        Thu, 23 Jun 2011 16:00:14 -0700 (PDT)
X-BeenThere: jclouds@googlegroups.com
Received: by 10.216.248.161 with SMTP id v33ls777329wer.2.gmail; Thu, 23 Jun
 2011 16:00:13 -0700 (PDT)
Received: by 10.216.136.96 with SMTP id v74mr361wei.13.1308870013760;
        Thu, 23 Jun 2011 16:00:13 -0700 (PDT)
Received: by 10.216.136.96 with SMTP id v74mr360wei.13.1308870013745;
        Thu, 23 Jun 2011 16:00:13 -0700 (PDT)
Return-Path: <aphill...@qrmedia.com>
Received: from server10.xenserve.com (ns19.xenserve.com [80.82.118.233])
        by gmr-mx.google.com with ESMTPS id ge17si2177380wbb.1.2011.06.23.16.00.13
        (version=TLSv1/SSLv3 cipher=OTHER);
        Thu, 23 Jun 2011 16:00:13 -0700 (PDT)
Received-SPF: neutral (google.com: 80.82.118.233 is neither permitted nor denied by best guess record for domain of aphill...@qrmedia.com) client-ip=80.82.118.233;
Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 80.82.118.233 is neither permitted nor denied by best guess record for domain of aphill...@qrmedia.com) smtp.mail=aphill...@qrmedia.com
Received: (qmail 49423 invoked by uid 80); 24 Jun 2011 01:00:12 +0200
Received: from 209-6-39-84.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com
	(209-6-39-84.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com [209.6.39.84]) by
	webmail.qrmedia.com (Horde MIME library) with HTTP; Fri, 24 Jun 2011
	01:00:12 +0200
Message-ID: <20110624010012.eyj4g2453c48s0cw@webmail.qrmedia.com>
Date: Fri, 24 Jun 2011 01:00:12 +0200
From: Andrew Phillips <aphill...@qrmedia.com>
To: jclouds@googlegroups.com
Subject: Re: Publishing and snapshoting Virtual Machine Images
References: <3c0446ee-590a-4189-ab70-16d71ede6dc0@a11g2000yqm.googlegroups.com>
	<20110622162724.xex20scmygw8g8ok@webmail.qrmedia.com>
	<2e01f9e9-8a3a-4377-bbba-de60f4410806@16g2000yqy.googlegroups.com>
In-Reply-To: <2e01f9e9-8a3a-4377-bbba-de60f4410806@16g2000yqy.googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset=UTF-8;
	DelSp="Yes";
	format="flowed"
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
User-Agent: Internet Messaging Program (IMP) H3 (4.1.6)

> I am using Amazon.

Ah, thanks. When you talk about "snapshots" I assume you mean =20
snapshots of an EBS volume [1], rather than the image itself? You =20
should be able to do that using the services provided by the =20
ElasticBlockStoreAsyncClient [2], from where you can also attach the =20
volume to a specific instance.

The EC2TemplateOptions [3] also allow you to map EBS snapshots to =20
devices, amongst others. A usage sample would look like [4]

template.getOptions().as(EC2TemplateOptions.class).mapEBSSnapshotToDeviceNam=
e(deviceName, snapshotId, sizeInGib, =20
deleteOnTermination)

Hope this helps!

ap

[1] =20
http://docs.amazonwebservices.com/AWSEC2/latest/CommandLineReference/ApiRefe=
rence-cmd-CreateSnapshot.html
[2] =20
https://github.com/jclouds/jclouds/blob/master/apis/ec2/src/main/java/org/jc=
louds/ec2/services/ElasticBlockStoreAsyncClient.java
[3] =20
https://github.com/jclouds/jclouds/blob/master/apis/ec2/src/main/java/org/jc=
louds/ec2/compute/options/EC2TemplateOptions.java
[4] http://code.google.com/p/jclouds/wiki/EC2#Default_image
>
> On Jun 22, 5:27=C2=A0pm, Andrew Phillips <aphill...@qrmedia.com> wrote:
>> Hi Kenneth
>>
>> > I want to publish a new Virtual Machine Image (VMI) that I created
>> > locally using jcloud. =C2=A0I 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
>
> --
> You received this message because you are subscribed to the Google  =20
> Groups "jclouds" group.
> To post to this group, send email to jclouds@googlegroups.com.
> To unsubscribe from this group, send email to  =20
> jclouds+unsubscribe@googlegroups.com.
> For more options, visit this group at  =20
> http://groups.google.com/group/jclouds?hl=3Den.
>
>



--=20
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.