maheshwarirohit87 / typica

Automatically exported from code.google.com/p/typica
Apache License 2.0
0 stars 0 forks source link

Support cc2.8xlarge needed #132

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. In our CI (jenkins) we have various build slaves, when we try the instance 
types using the ec2-plugin which utilizes your library, this works like a 
charm. However, recent changes to AWS API have introduced
new "cc2.8xlarge" which appears to be the only choice! You get a warning if you 
use the existing one, but nothing launches.
2.
3.

What is the expected output? What do you see instead?
The the instance launches in EC2

What version of the product are you using? On what operating system?

We are running inside Amazon EC2 on Ubuntu 11.10.

Please provide any additional information below.

Here's a proposed patch:
Index: java/com/xerox/amazonws/ec2/InstanceType.java
===================================================================
--- java/com/xerox/amazonws/ec2/InstanceType.java   (revision 348)
+++ java/com/xerox/amazonws/ec2/InstanceType.java   (working copy)
@@ -29,8 +29,10 @@
    XLARGE_HMEM ("m2.xlarge"),
    XLARGE_DOUBLE_HMEM ("m2.2xlarge"),
    XLARGE_QUAD_HMEM ("m2.4xlarge"),
-   XLARGE_CLUSTER_COMPUTE ("cc1.4xlarge");
+   XLARGE_CLUSTER_COMPUTE ("cc1.4xlarge"),
+   XLARGE_CLUSTER_COMPUTE_EIGHT_XLARGE ("cc2.8xlarge");

+
    private final String typeId;

    InstanceType(String typeId) {

Original issue reported on code.google.com by chef...@gmail.com on 25 Jun 2012 at 12:26