Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

EC2: add support for launching instance store based images#4455

Open
Jawshua wants to merge 2 commits intodocker-archive-public:masterfrom
Jawshua:amazonec2-instance-store-instances
Open

EC2: add support for launching instance store based images#4455
Jawshua wants to merge 2 commits intodocker-archive-public:masterfrom
Jawshua:amazonec2-instance-store-instances

Conversation

@Jawshua
Copy link
Copy Markdown

@Jawshua Jawshua commented Apr 19, 2018

This PR makes it possible to launch instance store backed instances. Currently when launching an instance store AMI you are greeted with an error that looks something like this:

EBS block device mappings not supported for instance-store AMIs.

Resolves #1284

@GordonTheTurtle
Copy link
Copy Markdown

Please sign your commits following these rules:
https://github.com/moby/moby/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:

$ git clone -b "amazonec2-instance-store-instances" git@github.com:Jawshua/machine.git somewhere
$ cd somewhere
$ git rebase -i HEAD~842354128544
editor opens
change each 'pick' to 'edit'
save the file and quit
$ git commit --amend -s --no-edit
$ git rebase --continue # and repeat the amend for each commit
$ git push -f

Amending updates the existing PR. You DO NOT need to open a new one.

@Jawshua Jawshua force-pushed the amazonec2-instance-store-instances branch from 822a640 to 8197f25 Compare April 19, 2018 11:45
Joshua Welsh added 2 commits April 19, 2018 12:48
Also added the ap-northeast-3 region.

Note: The cn-northwest-1 region is no longer listed on the
Ubuntu AMI locator, therefore the images for this region have
not been changed and there is no instance store AMI defined.

Signed-off-by: Joshua Welsh <joshua.welsh@performancehorizon.com>
This commit adds the --amazonec2-instance-store-image flag, which does
two things:
  - suppresses EBS block device configuration when provisioning
  - uses instance store AMIs instead of EBS AMIs as the default
    when the --amazonec2-ami flag is not set.

Signed-off-by: Joshua Welsh <joshua.welsh@performancehorizon.com>
@Jawshua Jawshua force-pushed the amazonec2-instance-store-instances branch from 8197f25 to 550b8ee Compare April 19, 2018 11:49
@rsrchboy
Copy link
Copy Markdown

rsrchboy commented Jan 3, 2019

This would be useful; any status updates?

@DJMatus23
Copy link
Copy Markdown

Just hopping in here too, this is something that would really help us too. If @Jawshua is ok with it, I could try and make a new PR based off their work?

@Jawshua
Copy link
Copy Markdown
Author

Jawshua commented Jan 7, 2020

Just hopping in here too, this is something that would really help us too. If @Jawshua is ok with it, I could try and make a new PR based off their work?

By all means have at it. The only conflict appears to be updated AMI IDs, so it should be an easy branch to use as a basis.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Proposal: add ec2 support for 'Root device type: instance-store'

4 participants