[Phpwm] OT: Run AWS EC2 image in Virtual Box

David Goodwin david at codepoets.co.uk
Mon Sep 5 15:02:19 UTC 2011


The EC2 .ami files are just normal filesystem's within a loopback file. 

I'd expect them to boot from within VirtualBox - although you might need to fix the bootloader/bootsector etc.


From memory, I think EC2 is based on Xen, which might help when deciding how to spin up the instance file?

http://docs.amazonwebservices.com/AmazonEC2/dg/2006-06-26/creating-an-ami.html


David.

On 5 Sep 2011, at 15:42, Pete Graham wrote:

> Hello Everybody,
> 
> Does anyone know if it's possible to copy an Amazon Web Services EC2
> image of a server back to a local machine and run it in Virtual Box?
> From research I can see that it's possible to do the reverse, take a
> Virtual Box image and migrate it to AWS, but I'm not sure if you can
> copy a live server setup to Virtual Box for development.
> 
> I've recently taken over a project being hosted on AWS EC2. The
> project requires linux and a fair bit of custom configuration to run,
> so this seamed the best way to setup a dev environment (our
> development machines are Macs).
> 
> I appreciate the this question isn't PHP related, are people ok with
> server infrastructure/hosting questions being discussed here? Is there
> a more appropriate list for this sort of thing? If there isn't then
> then maybe one should be created. I plan to post this on on
> http://serverfault.com/ too, but from my knowledge that's more
> question & answer compared to open ended discussion.
> 
> Thanks,
> Pete
> 
> _______________________________________________
> Phpwm mailing list
> Website : http://www.phpwm.org
> Twitter : http://www.twitter.com/phpwm
> Facebook: http://www.facebook.com/group.php?gid=2361609907
> 
> Post to list: Phpwm at mailman.lug.org.uk
> Archive etc : https://mailman.lug.org.uk/mailman/listinfo/phpwm




More information about the Phpwm mailing list