You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stratos.apache.org by chris snow <ch...@gmail.com> on 2014/03/20 07:15:43 UTC

stratos installer - EC2 setup

The installer has a variable ec2_keypair_name.  Where does the stratos
expect to find the keypairs pointed to by this variable?  in ~/.ssh/?
What does stratos expect the keypair filename to be,
~/.ssh/$ec2_keypair_name?

Many thanks,

Chris

Re: stratos installer - EC2 setup

Posted by chris snow <ch...@gmail.com>.
Cool thanks Nirmal.



On Thu, Mar 20, 2014 at 1:20 PM, Nirmal Fernando <ni...@gmail.com> wrote:
> Hi Chris,
>
>
> This is just the name of the key-pair and you do not need to have the
> corresponding private-key file.
>
>
> On Thu, Mar 20, 2014 at 6:44 PM, Udara Liyanage <ud...@wso2.com> wrote:
>>
>> Stratos asks underlying IAAS to create the insances with the given
>> keypair. Then IAAS (say ec2) does the rest.
>>
>>
>> On Thu, Mar 20, 2014 at 9:07 AM, chris snow <ch...@gmail.com> wrote:
>>>
>>> Hi Udara,
>>>
>>> I think I understand the general flow: Stratos uses a key to
>>> communicate with the instance.  My question is how does Stratos know
>>> where to look for the key?
>>>
>>> Many thanks,
>>>
>>> Chris
>>>
>>> On Thu, Mar 20, 2014 at 12:46 PM, Udara Liyanage <ud...@wso2.com> wrote:
>>> > Instances are apaned in the IAAS with this key pair. Then you can ssh
>>> > to
>>> > those machines using the key pair.
>>> >
>>> >
>>> > On Thu, Mar 20, 2014 at 2:40 AM, chris snow <ch...@gmail.com>
>>> > wrote:
>>> >>
>>> >> btw - the reason for asking the question is so vagrant can make the
>>> >> keypair available to the Stratos guest.  While I am working on the
>>> >> cloudstack environment, it seems as though it should be easy to make
>>> >> my scripts work for EC2 as well.
>>> >>
>>> >> On Thu, Mar 20, 2014 at 6:15 AM, chris snow <ch...@gmail.com>
>>> >> wrote:
>>> >> > The installer has a variable ec2_keypair_name.  Where does the
>>> >> > stratos
>>> >> > expect to find the keypairs pointed to by this variable?  in
>>> >> > ~/.ssh/?
>>> >> > What does stratos expect the keypair filename to be,
>>> >> > ~/.ssh/$ec2_keypair_name?
>>> >> >
>>> >> > Many thanks,
>>> >> >
>>> >> > Chris
>>> >>
>>> >>
>>> >>
>>> >> --
>>> >> Check out my professional profile and connect with me on LinkedIn.
>>> >> http://lnkd.in/cw5k69
>>> >
>>> >
>>> >
>>> >
>>> > --
>>> >
>>> > Udara Liyanage
>>> > Software Engineer
>>> > WSO2, Inc.: http://wso2.com
>>> > lean. enterprise. middleware
>>> >
>>> > web: http://udaraliyanage.wordpress.com
>>> > phone: +94 71 443 6897
>>>
>>>
>>>
>>> --
>>> Check out my professional profile and connect with me on LinkedIn.
>>> http://lnkd.in/cw5k69
>>
>>
>>
>>
>> --
>>
>> Udara Liyanage
>> Software Engineer
>> WSO2, Inc.: http://wso2.com
>> lean. enterprise. middleware
>>
>> web: http://udaraliyanage.wordpress.com
>> phone: +94 71 443 6897
>
>
>
>
> --
> Best Regards,
> Nirmal
>
> Nirmal Fernando.
> PPMC Member & Committer of Apache Stratos,
> Senior Software Engineer, WSO2 Inc.
>
> Blog: http://nirmalfdo.blogspot.com/



-- 
Check out my professional profile and connect with me on LinkedIn.
http://lnkd.in/cw5k69

Re: stratos installer - EC2 setup

Posted by Nirmal Fernando <ni...@gmail.com>.
Hi Chris,


This is just the name of the key-pair and you do not need to have the
corresponding private-key file.


On Thu, Mar 20, 2014 at 6:44 PM, Udara Liyanage <ud...@wso2.com> wrote:

> Stratos asks underlying IAAS to create the insances with the given
> keypair. Then IAAS (say ec2) does the rest.
>
>
> On Thu, Mar 20, 2014 at 9:07 AM, chris snow <ch...@gmail.com> wrote:
>
>> Hi Udara,
>>
>> I think I understand the general flow: Stratos uses a key to
>> communicate with the instance.  My question is how does Stratos know
>> where to look for the key?
>>
>> Many thanks,
>>
>> Chris
>>
>> On Thu, Mar 20, 2014 at 12:46 PM, Udara Liyanage <ud...@wso2.com> wrote:
>> > Instances are apaned in the IAAS with this key pair. Then you can ssh to
>> > those machines using the key pair.
>> >
>> >
>> > On Thu, Mar 20, 2014 at 2:40 AM, chris snow <ch...@gmail.com>
>> wrote:
>> >>
>> >> btw - the reason for asking the question is so vagrant can make the
>> >> keypair available to the Stratos guest.  While I am working on the
>> >> cloudstack environment, it seems as though it should be easy to make
>> >> my scripts work for EC2 as well.
>> >>
>> >> On Thu, Mar 20, 2014 at 6:15 AM, chris snow <ch...@gmail.com>
>> wrote:
>> >> > The installer has a variable ec2_keypair_name.  Where does the
>> stratos
>> >> > expect to find the keypairs pointed to by this variable?  in ~/.ssh/?
>> >> > What does stratos expect the keypair filename to be,
>> >> > ~/.ssh/$ec2_keypair_name?
>> >> >
>> >> > Many thanks,
>> >> >
>> >> > Chris
>> >>
>> >>
>> >>
>> >> --
>> >> Check out my professional profile and connect with me on LinkedIn.
>> >> http://lnkd.in/cw5k69
>> >
>> >
>> >
>> >
>> > --
>> >
>> > Udara Liyanage
>> > Software Engineer
>> > WSO2, Inc.: http://wso2.com
>> > lean. enterprise. middleware
>> >
>> > web: http://udaraliyanage.wordpress.com
>> > phone: +94 71 443 6897
>>
>>
>>
>> --
>> Check out my professional profile and connect with me on LinkedIn.
>> http://lnkd.in/cw5k69
>>
>
>
>
> --
>
> Udara Liyanage
> Software Engineer
> WSO2, Inc.: http://wso2.com
> lean. enterprise. middleware
>
> web: http://udaraliyanage.wordpress.com
> phone: +94 71 443 6897
>



-- 
Best Regards,
Nirmal

Nirmal Fernando.
PPMC Member & Committer of Apache Stratos,
Senior Software Engineer, WSO2 Inc.

Blog: http://nirmalfdo.blogspot.com/

Re: stratos installer - EC2 setup

Posted by Udara Liyanage <ud...@wso2.com>.
Stratos asks underlying IAAS to create the insances with the given keypair.
Then IAAS (say ec2) does the rest.


On Thu, Mar 20, 2014 at 9:07 AM, chris snow <ch...@gmail.com> wrote:

> Hi Udara,
>
> I think I understand the general flow: Stratos uses a key to
> communicate with the instance.  My question is how does Stratos know
> where to look for the key?
>
> Many thanks,
>
> Chris
>
> On Thu, Mar 20, 2014 at 12:46 PM, Udara Liyanage <ud...@wso2.com> wrote:
> > Instances are apaned in the IAAS with this key pair. Then you can ssh to
> > those machines using the key pair.
> >
> >
> > On Thu, Mar 20, 2014 at 2:40 AM, chris snow <ch...@gmail.com> wrote:
> >>
> >> btw - the reason for asking the question is so vagrant can make the
> >> keypair available to the Stratos guest.  While I am working on the
> >> cloudstack environment, it seems as though it should be easy to make
> >> my scripts work for EC2 as well.
> >>
> >> On Thu, Mar 20, 2014 at 6:15 AM, chris snow <ch...@gmail.com>
> wrote:
> >> > The installer has a variable ec2_keypair_name.  Where does the stratos
> >> > expect to find the keypairs pointed to by this variable?  in ~/.ssh/?
> >> > What does stratos expect the keypair filename to be,
> >> > ~/.ssh/$ec2_keypair_name?
> >> >
> >> > Many thanks,
> >> >
> >> > Chris
> >>
> >>
> >>
> >> --
> >> Check out my professional profile and connect with me on LinkedIn.
> >> http://lnkd.in/cw5k69
> >
> >
> >
> >
> > --
> >
> > Udara Liyanage
> > Software Engineer
> > WSO2, Inc.: http://wso2.com
> > lean. enterprise. middleware
> >
> > web: http://udaraliyanage.wordpress.com
> > phone: +94 71 443 6897
>
>
>
> --
> Check out my professional profile and connect with me on LinkedIn.
> http://lnkd.in/cw5k69
>



-- 

Udara Liyanage
Software Engineer
WSO2, Inc.: http://wso2.com
lean. enterprise. middleware

web: http://udaraliyanage.wordpress.com
phone: +94 71 443 6897

Re: stratos installer - EC2 setup

Posted by chris snow <ch...@gmail.com>.
Hi Udara,

I think I understand the general flow: Stratos uses a key to
communicate with the instance.  My question is how does Stratos know
where to look for the key?

Many thanks,

Chris

On Thu, Mar 20, 2014 at 12:46 PM, Udara Liyanage <ud...@wso2.com> wrote:
> Instances are apaned in the IAAS with this key pair. Then you can ssh to
> those machines using the key pair.
>
>
> On Thu, Mar 20, 2014 at 2:40 AM, chris snow <ch...@gmail.com> wrote:
>>
>> btw - the reason for asking the question is so vagrant can make the
>> keypair available to the Stratos guest.  While I am working on the
>> cloudstack environment, it seems as though it should be easy to make
>> my scripts work for EC2 as well.
>>
>> On Thu, Mar 20, 2014 at 6:15 AM, chris snow <ch...@gmail.com> wrote:
>> > The installer has a variable ec2_keypair_name.  Where does the stratos
>> > expect to find the keypairs pointed to by this variable?  in ~/.ssh/?
>> > What does stratos expect the keypair filename to be,
>> > ~/.ssh/$ec2_keypair_name?
>> >
>> > Many thanks,
>> >
>> > Chris
>>
>>
>>
>> --
>> Check out my professional profile and connect with me on LinkedIn.
>> http://lnkd.in/cw5k69
>
>
>
>
> --
>
> Udara Liyanage
> Software Engineer
> WSO2, Inc.: http://wso2.com
> lean. enterprise. middleware
>
> web: http://udaraliyanage.wordpress.com
> phone: +94 71 443 6897



-- 
Check out my professional profile and connect with me on LinkedIn.
http://lnkd.in/cw5k69

Re: stratos installer - EC2 setup

Posted by Udara Liyanage <ud...@wso2.com>.
Instances are apaned in the IAAS with this key pair. Then you can ssh to
those machines using the key pair.


On Thu, Mar 20, 2014 at 2:40 AM, chris snow <ch...@gmail.com> wrote:

> btw - the reason for asking the question is so vagrant can make the
> keypair available to the Stratos guest.  While I am working on the
> cloudstack environment, it seems as though it should be easy to make
> my scripts work for EC2 as well.
>
> On Thu, Mar 20, 2014 at 6:15 AM, chris snow <ch...@gmail.com> wrote:
> > The installer has a variable ec2_keypair_name.  Where does the stratos
> > expect to find the keypairs pointed to by this variable?  in ~/.ssh/?
> > What does stratos expect the keypair filename to be,
> > ~/.ssh/$ec2_keypair_name?
> >
> > Many thanks,
> >
> > Chris
>
>
>
> --
> Check out my professional profile and connect with me on LinkedIn.
> http://lnkd.in/cw5k69
>



-- 

Udara Liyanage
Software Engineer
WSO2, Inc.: http://wso2.com
lean. enterprise. middleware

web: http://udaraliyanage.wordpress.com
phone: +94 71 443 6897

Re: stratos installer - EC2 setup

Posted by chris snow <ch...@gmail.com>.
btw - the reason for asking the question is so vagrant can make the
keypair available to the Stratos guest.  While I am working on the
cloudstack environment, it seems as though it should be easy to make
my scripts work for EC2 as well.

On Thu, Mar 20, 2014 at 6:15 AM, chris snow <ch...@gmail.com> wrote:
> The installer has a variable ec2_keypair_name.  Where does the stratos
> expect to find the keypairs pointed to by this variable?  in ~/.ssh/?
> What does stratos expect the keypair filename to be,
> ~/.ssh/$ec2_keypair_name?
>
> Many thanks,
>
> Chris



-- 
Check out my professional profile and connect with me on LinkedIn.
http://lnkd.in/cw5k69