Repository: libcloud Updated Branches: refs/heads/trunk a19d1df1d -> ea16988e4
AWS: Fixes the c3.X instances to have the proper disk size Signed-off-by: Sebastien Goasguen <[email protected]> This closes #405 Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/ea16988e Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/ea16988e Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/ea16988e Branch: refs/heads/trunk Commit: ea16988e4232d2b4ca83a4ed3d218ba98032d7b4 Parents: a19d1df Author: Itxaka Serrano <[email protected]> Authored: Fri Nov 28 15:24:27 2014 +0100 Committer: Sebastien Goasguen <[email protected]> Committed: Mon Dec 1 04:58:17 2014 -0500 ---------------------------------------------------------------------- CHANGES.rst | 4 ++++ libcloud/compute/drivers/ec2.py | 12 ++++++------ 2 files changed, 10 insertions(+), 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/libcloud/blob/ea16988e/CHANGES.rst ---------------------------------------------------------------------- diff --git a/CHANGES.rst b/CHANGES.rst index 012f5e9..8fddb8a 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -61,6 +61,10 @@ Compute (GITHUB-401) [Eric Johnson] +- AWS: Set proper disk size in c3.X instance types + (GITHUB-405) + [Itxaka Serrano] + Storage ~~~~~~~ http://git-wip-us.apache.org/repos/asf/libcloud/blob/ea16988e/libcloud/compute/drivers/ec2.py ---------------------------------------------------------------------- diff --git a/libcloud/compute/drivers/ec2.py b/libcloud/compute/drivers/ec2.py index 2274c5e..32b578f 100644 --- a/libcloud/compute/drivers/ec2.py +++ b/libcloud/compute/drivers/ec2.py @@ -219,35 +219,35 @@ INSTANCE_TYPES = { 'id': 'c3.large', 'name': 'Compute Optimized Large Instance', 'ram': 3750, - 'disk': 16, + 'disk': 32, # x2 'bandwidth': None }, 'c3.xlarge': { 'id': 'c3.xlarge', 'name': 'Compute Optimized Extra Large Instance', - 'ram': 7000, - 'disk': 40, + 'ram': 7500, + 'disk': 80, # x2 'bandwidth': None }, 'c3.2xlarge': { 'id': 'c3.2xlarge', 'name': 'Compute Optimized Double Extra Large Instance', 'ram': 15000, - 'disk': 80, + 'disk': 160, # x2 'bandwidth': None }, 'c3.4xlarge': { 'id': 'c3.4xlarge', 'name': 'Compute Optimized Quadruple Extra Large Instance', 'ram': 30000, - 'disk': 160, + 'disk': 320, # x2 'bandwidth': None }, 'c3.8xlarge': { 'id': 'c3.8xlarge', 'name': 'Compute Optimized Eight Extra Large Instance', 'ram': 60000, - 'disk': 320, + 'disk': 640, # x2 'bandwidth': None }, 'cr1.8xlarge': {
