Is there a common way to specify "Instance_type" for all providers?

10 views
Skip to first unread message

Nirmal Fernando

unread,
Jun 19, 2012, 12:17:46 AM6/19/12
to jcl...@googlegroups.com
Hi,

I've noticed that while in EC2 case, I should pass instance type as "m1.large" etc., but in Openstack-nova case it should be a number (1, 2.. etc.) into templateBuilder.hardwareId().

I think this is something to do with those providers' APIs, but is there something that JClouds could do to overcome this?


--

Thanks & regards,
Nirmal

Software Engineer- Platform Technologies Team, WSO2 Inc.
Mobile: +94715779733
Blog: http://nirmalfdo.blogspot.com/

Chris Strand

unread,
Jun 19, 2012, 9:25:36 AM6/19/12
to jcl...@googlegroups.com
Hi Nirmal,

You can use TemplateBuilder to set the minimum required RAM and minimum required number of CPU cores (see #minRam and #minCores). There is an example of this in compute basics.

I hope that helps!

Chris

--
You received this message because you are subscribed to the Google Groups "jclouds" group.
To post to this group, send email to jcl...@googlegroups.com.
To unsubscribe from this group, send email to jclouds+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/jclouds?hl=en.

Nirmal Fernando

unread,
Jun 19, 2012, 10:13:09 AM6/19/12
to jcl...@googlegroups.com
Hi Chris,

On Tue, Jun 19, 2012 at 6:55 PM, Chris Strand <clas...@gmail.com> wrote:
Hi Nirmal,

You can use TemplateBuilder to set the minimum required RAM and minimum required number of CPU cores (see #minRam and #minCores). There is an example of this in compute basics.

hm.... this will be a work around! Thanks for the pointer!

But, I'd like if I could just specify "m1.large" etc. in an abstract manner!
 
Reply all
Reply to author
Forward
0 new messages