help-guix
[Top][All Lists]
Advanced

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

Re: Generating Amazon Machine Images from Guix?


From: Chris Marusich
Subject: Re: Generating Amazon Machine Images from Guix?
Date: Sat, 27 Jan 2018 01:57:31 -0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)

Ricardo Wurmus <address@hidden> writes:

> There only seems to be a very convoluted way to produce AMIs from raw
> virtual machine images[1], so I wonder if we could generate AMIs
> directly with Guix.

I think you probably remember, but just in case, here are some links (in
no particular order) to prior discussion related to this topic that you
might find helpful:

https://lists.gnu.org/archive/html/guix-devel/2017-04/msg00216.html
https://lists.gnu.org/archive/html/guix-devel/2017-09/msg00196.html
https://lists.gnu.org/archive/html/guix-devel/2017-04/msg00204.html
https://lists.gnu.org/archive/html/help-guix/2016-11/msg00073.html
https://lists.gnu.org/archive/html/guix-devel/2017-03/msg00385.html

Essentially, for Amazon EC2, to programmatically import an image, you'll
need to write code that calls the EC2 service APIs related to VM image
importation (raw disk images are supported):

https://aws.amazon.com/ec2/vm-import/
https://docs.aws.amazon.com/vm-import/latest/userguide/vmimport-image-import.html#prerequisites-image

Those docs contain examples using the AWS CLI, but you can also call the
service's APIs directly.  For example, the description of the EC2's
ImportInstance API is here:

https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ImportInstance.html

However, I don't know of any existing Guile libraries that would make it
easy to call EC2 APIs (or any AWS APIs, for that matter).  Since calling
these APIs involves a rather complicated signing protocol (among other
details) creating such a library would probably be a significant project
in its own right.

In addition, apparently there is now also a service called "Server
Migration Service".  I've never heard of it before today, but it sounds
related, so maybe this service is worth checking out, too:

https://aws.amazon.com/server-migration-service

Finally, if you have trouble, you might also consider asking AWS Support
for help.  Sometimes the quickest solution is to ask via the official
support channels:

https://aws.amazon.com/premiumsupport/

Good luck!

-- 
Chris

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]