Great. You are eligible to use t2.micro but only for certain base images
(Amazon Linux AMIs)

On Thu, Aug 20, 2015 at 7:43 PM, Vishanth Balasubramaniam <
[email protected]> wrote:

> Hi,
>
> "t1.micro" solves that issue. In my own free ec2 account I thought I was
> only eligible to use t2.micro.
>
> Thank you,
> Vishanth
>
> On Thu, Aug 20, 2015 at 7:28 PM, Pubudu Gunatilaka <[email protected]>
> wrote:
>
>> Hi all,
>>
>> Found something related to this issue in [1]. According to that t2
>> instances are supported in EC2 VPC platform. May be you are using
>> EC2-classic platform.
>>
>> [1] -
>> http://serverfault.com/questions/617865/amazon-ec2-t1-micro-instance
>>
>> Thank you!
>>
>> On Thu, Aug 20, 2015 at 7:22 PM, Akila Ravihansa Perera <
>> [email protected]> wrote:
>>
>>> Hi Vishanth,
>>>
>>> Can you share your cartridge definition? The "instanceType" property in
>>> iaasProvider section should be "t1.micro". Also note that some regions do
>>> not support 'micro' instance type. Here is a sample that I tried [1]. You
>>> can use the base image defined in that which is a public image configured
>>> with Puppet agent.
>>>
>>> [1] http://pastebin.com/fSXkbVrM
>>>
>>> Thanks.
>>>
>>> On Thu, Aug 20, 2015 at 7:07 PM, Vishanth Balasubramaniam <
>>> [email protected]> wrote:
>>>
>>>> Hi,
>>>>
>>>> I am getting the following error when I try to deploy a single php
>>>> cartridge application in ec2.
>>>>
>>>> [2015-08-20 18:41:34,217] ERROR
>>>>> {org.apache.stratos.cloud.controller.iaases.JcloudsIaas} -
>>>>> *Could not initialize jclouds
>>>>> IaaSorg.apache.stratos.cloud.controller.exception.InvalidIaasProviderException:
>>>>> Could not build iaas of type: ec2-east*
>>>>> at
>>>>> org.apache.stratos.cloud.controller.iaases.JcloudsIaasUtil.buildComputeServiceAndTemplateFromImage(JcloudsIaasUtil.java:50)
>>>>> at
>>>>> org.apache.stratos.cloud.controller.iaases.JcloudsIaasUtil.buildComputeServiceAndTemplate(JcloudsIaasUtil.java:37)
>>>>> at
>>>>> org.apache.stratos.cloud.controller.iaases.JcloudsIaas.initialize(JcloudsIaas.java:100)
>>>>> at
>>>>> org.apache.stratos.cloud.controller.domain.IaasProvider.getIaas(IaasProvider.java:224)
>>>>> at
>>>>> org.apache.stratos.cloud.controller.services.impl.CloudControllerServiceUtil.validatePartitionAndGetIaasProvider(CloudControllerServiceUtil.java:93)
>>>>> at
>>>>> org.apache.stratos.cloud.controller.concurrent.PartitionValidatorCallable.call(PartitionValidatorCallable.java:51)
>>>>> at
>>>>> org.apache.stratos.cloud.controller.concurrent.PartitionValidatorCallable.call(PartitionValidatorCallable.java:31)
>>>>> at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>>>>> at
>>>>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>>>>> at
>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>>>>> at java.lang.Thread.run(Thread.java:745)
>>>>> *Caused by: java.util.NoSuchElementException: hardwareId(t2.micro) not
>>>>> found*
>>>>
>>>>
>>>> @Akila, did you try out with t2.micro?
>>>>
>>>> Any help on this is appreciated.
>>>>
>>>> Regards,
>>>> Vishanth
>>>>
>>>> --
>>>> *Vishanth Balasubramaniam*
>>>> Committer & PMC Member, Apache Stratos,
>>>> Software Engineer, WSO2 Inc.; http://wso2.com
>>>>
>>>> mobile: *+94771737718*
>>>> about me: *http://about.me/vishanth <http://about.me/vishanth>*
>>>>
>>>
>>>
>>>
>>> --
>>> Akila Ravihansa Perera
>>> WSO2 Inc.;  http://wso2.com/
>>>
>>> Blog: http://ravihansa3000.blogspot.com
>>>
>>
>>
>>
>> --
>>
>> *Pubudu Gunatilaka*
>> Software Engineer
>> WSO2, Inc.: http://wso2.com
>> lean.enterprise.middleware
>> mobile:  +94 77 4078049
>>
>
>
>
> --
> *Vishanth Balasubramaniam*
> Committer & PMC Member, Apache Stratos,
> Software Engineer, WSO2 Inc.; http://wso2.com
>
> mobile: *+94771737718*
> about me: *http://about.me/vishanth <http://about.me/vishanth>*
>



-- 
Akila Ravihansa Perera
WSO2 Inc.;  http://wso2.com/

Blog: http://ravihansa3000.blogspot.com

Reply via email to