The setup described below has been tested on Ubuntu 14.04 LTS, but should work similarly on other Linux or Mac OS X environments. You may need to install additional development tools.
If you do not wish to install additional tools in your host, you can create a VM and execute the installation steps from there.
To run this installation, you will need
- an AWS account. You can create one at http://aws.amazon.com
- credentials for an AWS IAM User/Role that permits creating EC2 instances
- ansible v2.1 or higher, and supporting python tools / libraries
# Ubuntu
sudo apt-get install git python-pip python-dev
sudo pip install ansible boto awscli netaddr
# OS X
sudo easy_install pip
sudo pip install ansible boto awscli netaddraws configureThis will prompt you for your AWS Access Key ID, AWS Secret Key ID and Region.
AWS Access Key ID [None]: A*******************
AWS Secret Access Key [None]: ****************************************
Default region name [None]: us-west-1
Default output format [None]: If the servers will be accessed by people using an EC2 Key Pair, apply the additional configuration step.
# Configure 'shared-key-1' as the EC2 Key Pair used by the installer
echo "shared-key-1" > ~/.aws/ec2_keypairCheck out the Romana repository and run the installer
git clone https://github.com/romana/romana
cd romana/romana-install
./romana-setup -p aws -s devstack installSee the romana-setup page for details about the command-line options.
The EC2 installation takes 20-25 mins to complete, and creates a Devstack cluster with two nodes. When installation is complete, information about the cluster should be provided.
Devstack Summary
================
Controller
----------
IP: 52.xx.yy.zz
http://52.xx.yy.zz
(username: admin, password: secrete)
ssh -i /.../romana-install/romana_id_rsa ubuntu@52.xx.yy.zz
Other Nodes
-----------
ssh -i /.../romana/romana-install/romana_id_rsa ubuntu@54.zz.yy.xxYou can now proceed to Using Romana on Devstack.
From the same directory, you can perform an uninstall
./romana-setup -p aws -s devstack installThis will destroy the Devstack cluster.