Arturo Noha created LIBCLOUD-980:
------------------------------------

             Summary: c5 instances not available via libcloud ec2
                 Key: LIBCLOUD-980
                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-980
             Project: Libcloud
          Issue Type: Bug
            Reporter: Arturo Noha


The new c5 family of instances is not available in the ec2 driver.

This is a blocker for me as I am automating the build of a batch of c5.xlarge 
instances.

As a quick fix I've added the following locally to 
*libcloud/compute/drivers/ec2.py* to be able to run the build:
{code:java}
INSTANCE_TYPES = {
...
    'c5.xlarge': {
        'id': 'c5.xlarge',
        'name': 'Compute Optimized Extra Large Instance',
        'ram': GiB(8),
        'disk': 0, # EBS only
        'bandwidth': None,
        'extra': {
        'cpu': 4
    }
},
...
# EU (London) Region
    'eu-west-2': {
...
    'instance_types': [
...
        'c5.xlarge',{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to