all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Chris Marusich <cmmarusich@gmail.com>
To: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
Cc: help-guix@gnu.org
Subject: Re: Generating Amazon Machine Images from Guix?
Date: Sat, 27 Jan 2018 01:57:31 -0800	[thread overview]
Message-ID: <87372r7hf8.fsf@gmail.com> (raw)
In-Reply-To: <idjh8ra5bys.fsf@bimsb-sys02.mdc-berlin.net> (Ricardo Wurmus's message of "Thu, 25 Jan 2018 14:01:31 +0100")

[-- Attachment #1: Type: text/plain, Size: 2136 bytes --]

Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de> 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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

      parent reply	other threads:[~2018-01-27  9:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-25 13:01 Generating Amazon Machine Images from Guix? Ricardo Wurmus
2018-01-25 15:02 ` Thompson, David
2018-01-27  9:57 ` Chris Marusich [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87372r7hf8.fsf@gmail.com \
    --to=cmmarusich@gmail.com \
    --cc=help-guix@gnu.org \
    --cc=ricardo.wurmus@mdc-berlin.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.