From 6b357e84dacd6b13f8959f44ca5068fc8d096ef1 Mon Sep 17 00:00:00 2001 From: Andrew Wong Date: Sat, 5 Feb 2011 19:47:03 -0500 Subject: [PATCH 1/1] This commit fixes the pricing of several EC2 instances. In addition it also fixes spelling mistakes that mislabelled where an instance was. --- libcloud/drivers/ec2.py | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/libcloud/drivers/ec2.py b/libcloud/drivers/ec2.py index 8ae0eb2..9612835 100644 --- a/libcloud/drivers/ec2.py +++ b/libcloud/drivers/ec2.py @@ -139,8 +139,8 @@ EC2_US_EAST_INSTANCE_TYPES['m1.xlarge']['price'] = '.68' EC2_US_EAST_INSTANCE_TYPES['c1.medium']['price'] = '.17' EC2_US_EAST_INSTANCE_TYPES['c1.xlarge']['price'] = '.68' EC2_US_EAST_INSTANCE_TYPES['m2.xlarge']['price'] = '.50' -EC2_US_EAST_INSTANCE_TYPES['m2.2xlarge']['price'] = '1.2' -EC2_US_EAST_INSTANCE_TYPES['m2.4xlarge']['price'] = '2.4' +EC2_US_EAST_INSTANCE_TYPES['m2.2xlarge']['price'] = '1.0' +EC2_US_EAST_INSTANCE_TYPES['m2.4xlarge']['price'] = '2.0' EC2_US_EAST_INSTANCE_TYPES['cg1.4xlarge']['price'] = '2.1' EC2_US_EAST_INSTANCE_TYPES['cc1.4xlarge']['price'] = '1.6' @@ -150,9 +150,9 @@ EC2_US_WEST_INSTANCE_TYPES['m1.large']['price'] = '.38' EC2_US_WEST_INSTANCE_TYPES['m1.xlarge']['price'] = '.76' EC2_US_WEST_INSTANCE_TYPES['c1.medium']['price'] = '.19' EC2_US_WEST_INSTANCE_TYPES['c1.xlarge']['price'] = '.76' -EC2_US_EAST_INSTANCE_TYPES['m2.xlarge']['price'] = '.57' -EC2_US_WEST_INSTANCE_TYPES['m2.2xlarge']['price'] = '1.34' -EC2_US_WEST_INSTANCE_TYPES['m2.4xlarge']['price'] = '2.68' +EC2_US_WEST_INSTANCE_TYPES['m2.xlarge']['price'] = '.57' +EC2_US_WEST_INSTANCE_TYPES['m2.2xlarge']['price'] = '1.14' +EC2_US_WEST_INSTANCE_TYPES['m2.4xlarge']['price'] = '2.28' EC2_EU_WEST_INSTANCE_TYPES['t1.micro']['price'] = '.025' EC2_EU_WEST_INSTANCE_TYPES['m1.small']['price'] = '.095' @@ -160,9 +160,9 @@ EC2_EU_WEST_INSTANCE_TYPES['m1.large']['price'] = '.38' EC2_EU_WEST_INSTANCE_TYPES['m1.xlarge']['price'] = '.76' EC2_EU_WEST_INSTANCE_TYPES['c1.medium']['price'] = '.19' EC2_EU_WEST_INSTANCE_TYPES['c1.xlarge']['price'] = '.76' -EC2_US_EAST_INSTANCE_TYPES['m2.xlarge']['price'] = '.57' -EC2_EU_WEST_INSTANCE_TYPES['m2.2xlarge']['price'] = '1.34' -EC2_EU_WEST_INSTANCE_TYPES['m2.4xlarge']['price'] = '2.68' +EC2_EU_WEST_INSTANCE_TYPES['m2.xlarge']['price'] = '.57' +EC2_EU_WEST_INSTANCE_TYPES['m2.2xlarge']['price'] = '1.14' +EC2_EU_WEST_INSTANCE_TYPES['m2.4xlarge']['price'] = '2.28' # prices are the same EC2_AP_SOUTHEAST_INSTANCE_TYPES = dict(EC2_EU_WEST_INSTANCE_TYPES) -- 1.7.3.5