[
https://issues.apache.org/jira/browse/JCLOUDS-1379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16529529#comment-16529529
]
Andrea Turli edited comment on JCLOUDS-1379 at 7/2/18 8:38 AM:
---------------------------------------------------------------
I've recently stumbled upon AWS Pricing API which may be useful to discover the
instanceType and to get rid of the hard-coded instanceType support jclouds
offers so far.
Using those API looks reasonably simple to getProducts filtering by AWS
service, `location`, and additional things like `operatingSystem` et al.
https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/reading-an-offer.html#json
I think it is worth trying to add it, maybe implemented similarly to aws sts?
wdyt?
was (Author: andreaturli):
I've recently stumbled upon AWS Pricing API which may be useful to discover the
instanceType and to get rid of the hard-coded instanceType support jclouds
offers so far.
I think it is worth trying to add it, maybe implemented similarly to aws sts?
wdyt?
> incompatible instance types selected in new AWS regions
> -------------------------------------------------------
>
> Key: JCLOUDS-1379
> URL: https://issues.apache.org/jira/browse/JCLOUDS-1379
> Project: jclouds
> Issue Type: Bug
> Components: jclouds-compute
> Affects Versions: 2.0.3
> Reporter: Alex Heneveld
> Priority: Major
> Labels: aws-ec2
>
> Using AWS EC2, if I specify minRam 4096M and minCores 4, I get a VM fine in
> some regions (eu-west-1) but errors in others (eu-west-2)
> AWSResponseException: request POST https://ec2.eu-west-2.amazonaws.com/
> HTTP/1.1 failed with code 400, error: AWSError\{requestId='...',
> requestToken='null', code='Unsupported', message='The requested configuration
> is currently not supported. Please check the documentation for supported
> configurations.' ...}
> I assume this is because some instance types are not available in some
> regions.
> Can we do further filtering on instance type selection so that
> minRam/minCores work as expected?
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)