You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stratos.apache.org by Imesh Gunaratne <im...@wso2.com> on 2013/09/08 19:26:37 UTC

Stratos Installer now supports Amazon EC2

Hi,

We have now updated the Stratos Installer to support both Amazon EC2 and
Openstack.

Patches attached with STRATOS-74 and STRATOS-75 have added functionality to
update key file path in cartridge-config.properties file and fetch
user-data from EC2 meta data service (re-used logic in script
tools/ec2-demo-setup/config.sh and introduced new script
stratos-installer/ec2-user-data.sh).

Thanks

-- 
*Imesh Gunaratne*
Technical Lead
WSO2 Inc | http://wso2.com
Mobile: +94 77 374 2057
Blog: http://imesh.gunaratne.org

Lean . Enterprise . Middleware

Re: Stratos Installer now supports Amazon EC2

Posted by Imesh Gunaratne <im...@wso2.com>.
Hi,

Following are the main scenarios we could test with Stratos Installer:

1. Openstack Installation:
- 1.1 Install Openstack
- 1.2 Create Keypair, Security Group
- 1.3 Upload Stratos Cartridge Images
- 1.4 Setup a node to install Stratos
- 1.5 Upload stratos-installer and stratos packages to the node. This
should also include WSO2MB and MySQL Connector Jar.
- 1.6 Install prerequisites (as described in stratos-installer/README).
- 1.7 Update conf/setup.conf with required information.
- 1.8 Disable EC2 provider (set ec2_provider_enabled variable to false)
- 1.9 Enable Openstack provider (set openstack_provider_enabled variable to
true)
- 1.10 Set cartridge image information
- 1.11 Set other Openstack configuration settings
- 1.12 Run sudo setup.sh -p "all"

2. Amazon EC2 Standard Installation:
- Follow the same steps as in Openstack except for following:
  - 1.1 Create an EC2 account.
  - 1.8 Enable EC2 provider (set ec2_provider_enabled variable to true)
  - 1.9 Disable Openstack provider (set openstack_provider_enabled variable
to false)
  - 1.11 Set other EC2 configuration settings

3. Amazon EC2 Stratos Image Creation:
- Start a new instance of Ubuntu Server 64x
- Install prerequisites (as described in stratos-installer/README).
- Upload stratos-installer and stratos packages to the node. This should
also include WSO2MB and MySQL Connector Jar.
- Create an image of the instance. We should be able to publish this image
as the Apache Stratos Single Node/Demo AMI. However this needs to be tested
beforehand.
- Create an instance from the image created above
- Run setup.sh -p "all" and test the image created.


Thanks


On Sun, Sep 8, 2013 at 10:56 PM, Imesh Gunaratne <im...@wso2.com> wrote:

> Hi,
>
> We have now updated the Stratos Installer to support both Amazon EC2 and
> Openstack.
>
> Patches attached with STRATOS-74 and STRATOS-75 have added functionality
> to update key file path in cartridge-config.properties file and fetch
> user-data from EC2 meta data service (re-used logic in script
> tools/ec2-demo-setup/config.sh and introduced new script
> stratos-installer/ec2-user-data.sh).
>
> Thanks
>
> --
> *Imesh Gunaratne*
> Technical Lead
> WSO2 Inc | http://wso2.com
> Mobile: +94 77 374 2057
> Blog: http://imesh.gunaratne.org
>
> Lean . Enterprise . Middleware
>
>


-- 
*Imesh Gunaratne*
Technical Lead
WSO2 Inc | http://wso2.com
T: +94 11 214 5345 | M: +94 77 374 2057
W: http://imesh.gunaratne.org

Lean . Enterprise . Middleware