Re: Converting the default instance store Fedora 14 to EBS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jan,

Personally I would avoid snapshotting a running instance. Doing so brings in a bunch of run-time caches and temporary data that you really don't want if you're trying to produce a fresh, pristine image. Of course if you're doing this for personal fun then you can ignore me. :)

But for releasing future Fedora AMIs though I'd suggest a procedure as follows:

1. Build the disk image like usual*
2. Upload the disk image to a running instance
3. From within the instance dd your disk image to an EBS volume
4. Snapshot and register that volume as an AMI

That way you've got an EBS-backed, pristine, never-before-booted image in EC2.

- Jay

* There may be some changes to the image to support EBS backing, specifically in fstab and grub.conf so you're mounting and booting from the right volume(s).


----- "Jan Pazdziora" <jpazdziora@xxxxxxxxxx> wrote:

> On Wed, Nov 03, 2010 at 04:16:56PM +0100, Marek Goldmann wrote:
> > 
> > Attach EBS volume, say on /dev/sdf and it'll be available in
> instance under /dev/xvdf.
> > 
> 
> Great, thanks.
> 
> -- 
> Jan Pazdziora
> Principal Software Engineer, Satellite Engineering, Red Hat
> _______________________________________________
> cloud mailing list
> cloud@xxxxxxxxxxxxxxxxxxxxxxx
> https://admin.fedoraproject.org/mailman/listinfo/cloud
_______________________________________________
cloud mailing list
cloud@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/cloud


[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Big List of Linux Books]     [Yosemite News]     [Linux Apps]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

  Powered by Linux