This repository has been archived by the owner on Nov 23, 2017. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
It seems like the ami EBS type is set to 'standard' which is a previous generation HDD.
This type of EBS Volume costs money for I/O and in that case is kind of hard to estimate.
I think it makes sense to change the default EBS type to "gp2" since this is also the default type when launching instances from web console.
This PR changes the default ebs-vol-type for root and additional volumes from 'standard' to 'gp2' which is the api name for "general purpose ssd".
an additional script parameter
ebs-root-vol-type
is introduced to overwrite the type.see also: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html