Skip to content

Instantly share code, notes, and snippets.

@willglynn
Created July 26, 2016 16:24
Show Gist options
  • Save willglynn/b6732508d8a4ed1f69bf0dc5ed1c9a40 to your computer and use it in GitHub Desktop.
Save willglynn/b6732508d8a4ed1f69bf0dc5ed1c9a40 to your computer and use it in GitHub Desktop.
CoreOS oem/ami/import-instance-store.sh output
$ export AWS_ACCESS_KEY_ID=AKI…
$ export AWS_SECRET_ACCESS_KEY=…
$ export AWS_ACCESS_KEY=$AWS_ACCESS_KEY_ID
$ export AWS_SECRET_KEY=$AWS_SECRET_ACCESS_KEY
$ VERSION=1068.8.0
$ oem/ami/import-instance-store.sh -V $VERSION -g stable -u http://stable.release.core-os.net/amd64-usr/$VERSION/coreos_production_ami_image.bin.bz2 -B totally-not-official-ami -c /home/ec2-user/secrets/cert.pem -k /home/ec2-user/secrets/pk.pem -a <123456789012> -X
Building AMI in zone us-east-1e
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 255M 100 255M 0 0 122M 0 0:00:02 0:00:02 --:--:-- 122M
Bunzipping....
Bundling image file...
Splitting /var/tmp/tmp.Zae4Keed3X/bundle/CoreOS-stable-1068.8.0.tar.gz.enc...
Created CoreOS-stable-1068.8.0.part.00
Created CoreOS-stable-1068.8.0.part.01
Created CoreOS-stable-1068.8.0.part.02
Created CoreOS-stable-1068.8.0.part.03
Created CoreOS-stable-1068.8.0.part.04
Created CoreOS-stable-1068.8.0.part.05
Created CoreOS-stable-1068.8.0.part.06
Created CoreOS-stable-1068.8.0.part.07
Created CoreOS-stable-1068.8.0.part.08
Created CoreOS-stable-1068.8.0.part.09
Created CoreOS-stable-1068.8.0.part.10
Created CoreOS-stable-1068.8.0.part.11
Created CoreOS-stable-1068.8.0.part.12
Created CoreOS-stable-1068.8.0.part.13
Created CoreOS-stable-1068.8.0.part.14
Created CoreOS-stable-1068.8.0.part.15
Created CoreOS-stable-1068.8.0.part.16
Created CoreOS-stable-1068.8.0.part.17
Created CoreOS-stable-1068.8.0.part.18
Created CoreOS-stable-1068.8.0.part.19
Created CoreOS-stable-1068.8.0.part.20
Created CoreOS-stable-1068.8.0.part.21
Created CoreOS-stable-1068.8.0.part.22
Created CoreOS-stable-1068.8.0.part.23
Created CoreOS-stable-1068.8.0.part.24
Created CoreOS-stable-1068.8.0.part.25
Created CoreOS-stable-1068.8.0.part.26
Created CoreOS-stable-1068.8.0.part.27
Generating digests for each part...
Digests generated.
Creating bundle manifest...
Bundle manifest is /var/tmp/tmp.Zae4Keed3X/bundle/CoreOS-stable-1068.8.0.manifest.xml
ec2-bundle-image complete.
Uploading bundled image parts to the S3 bucket totally-not-official-ami ...
Uploaded CoreOS-stable-1068.8.0.part.00
Uploaded CoreOS-stable-1068.8.0.part.01
Uploaded CoreOS-stable-1068.8.0.part.02
Uploaded CoreOS-stable-1068.8.0.part.03
Uploaded CoreOS-stable-1068.8.0.part.04
Uploaded CoreOS-stable-1068.8.0.part.05
Uploaded CoreOS-stable-1068.8.0.part.06
Uploaded CoreOS-stable-1068.8.0.part.07
Uploaded CoreOS-stable-1068.8.0.part.08
Uploaded CoreOS-stable-1068.8.0.part.09
Uploaded CoreOS-stable-1068.8.0.part.10
Uploaded CoreOS-stable-1068.8.0.part.11
Uploaded CoreOS-stable-1068.8.0.part.12
Uploaded CoreOS-stable-1068.8.0.part.13
Uploaded CoreOS-stable-1068.8.0.part.14
Uploaded CoreOS-stable-1068.8.0.part.15
Uploaded CoreOS-stable-1068.8.0.part.16
Uploaded CoreOS-stable-1068.8.0.part.17
Uploaded CoreOS-stable-1068.8.0.part.18
Uploaded CoreOS-stable-1068.8.0.part.19
Uploaded CoreOS-stable-1068.8.0.part.20
Uploaded CoreOS-stable-1068.8.0.part.21
Uploaded CoreOS-stable-1068.8.0.part.22
Uploaded CoreOS-stable-1068.8.0.part.23
Uploaded CoreOS-stable-1068.8.0.part.24
Uploaded CoreOS-stable-1068.8.0.part.25
Uploaded CoreOS-stable-1068.8.0.part.26
Uploaded CoreOS-stable-1068.8.0.part.27
Uploading manifest ...
Uploaded manifest.
Manifest uploaded to: totally-not-official-ami/CoreOS-stable-1068.8.0/CoreOS-stable-1068.8.0.manifest.xml
Bundle upload completed.
Registering hvm AMI
Registering paravirtual AMI
CoreOS stable 1068.8.0
architecture: x86_64
region: us-east-1 (us-east-1e)
aki id: aki-919dcaf8
name: CoreOS-stable-1068.8.0
description: CoreOS stable 1068.8.0
PV AMI id: ami-2881143f
HVM AMI id: ami-f58613e2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment