[ec2-beta] ec2 concepts and understanding
Thomas Butter
thomas at butter.eu
Tue Mar 31 07:37:15 BST 2009
Hi Jason,
from a running instance you could do something similar to this:
sudo ec2-bundle-vol -d /mnt -k YOUR-EC2-PRIVATE-KEY-FILE -c YOUR-EC2-
CERT-FILE -u YOUR-AWS-ACCOUNT-NUMBER-WITHOUT-DASHED -r i386 -p
mynewimage
ec2-upload-bundle -b YOUR-TARGET-S3-BUCKET -m /mnt/
mynewimage.manifest.xml -a YOUR-S3-ACCESSKEY -s YOUR-S3-SECRETKEY
You can then register the image at http://console.aws.amazon.com/
using http://s3.amazonaws.com/YOUR-TARGET-S3-BUCKET/mynewimage.manifest.xml
Please refer to the EC2 documentation for details about these commands.
Regards,
Thomas
On 30.03.2009, at 22:09, Jason Morehouse wrote:
> Is there an easy way to build a custom AIM from a running instance?
>
> Darryl wrote:
>> On Mon, Mar 30, 2009 at 2:57 AM, Jim Cheetham <jim at inode.co.nz>
>> wrote:
>>
>>> On Mon, Mar 30, 2009 at 9:28 AM, Darryl <smartssa at gmail.com> wrote:
>>>
>>>> I'm just wondering about how persistent these instances are
>>>> supposed to be
>>>> on the EC2 cloud.
>>>>
>>> An AMI is a read-only "image" of a machine. In itself it doesn't do
>>> anything, and doesn't run. It's just the equivalent of files on a
>>> disk.
>>>
>>> An 'instance' is a running virtual machine. An instance starts
>>> with an
>>> AMI, and the equivalent of being "switched on" and booted from disk.
>>>
>>> An instance lives in EC2 memory only. There is no permanent storage
>>> associated with it, unless you configure EBS or S3 specifically for
>>> it. The filesystems that you see in an instance are virtual; they
>>> will
>>> still be there if you reboot your instance, but once you stop it,
>>> Amazon releases the whole associated memory, and the instance is
>>> lost.
>>>
>>
>> Thank you Jim, that makes the whole scenario clear.
>>
>> Now I have an idea as to how to use this thing.
>>
>> --
>> ~ Darryl ~ smartssa at gmail.com
>> ~ http://darrylclarke.com
>>
>>
>
> --
> Ec2-beta mailing list
> Ec2-beta at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ec2-beta
>
More information about the Ec2-beta
mailing list