Installing OpenStack on AWS

1. Prerequisites – Minimal requirements for hosting in AWS, but not limited to:

  • Ubuntu Server 14.04.3 LTS – 64bit
  • Minimum 2VCPU – Cores
  • Minimum 8 GB RAM for just OpenStack (m4.large), Minimum 16 GB RAM for Sahara and clustering (m4.xlarge)
  • Atleast 40 GB of diskspace

2. Install Ubuntu if you dont have one

3. Verify installed version using

4. Update to the latest binaries

5. Create a SUDO user – alternatively you can use the /devstack/tools/ to create a user after step 8

6. Add user to SUDOERs group

7. Switch to the new stack user

8. Switch to user home and install GIT and checkout devstack

9. Configure devstack – update local.config and move to /devstack

* Update the passwords for the accounts

* If you are running on a physical machine with a static IP you can update the following property. On AWS its better to leave it commented as the local IP will be changed on each restart, unless the Elastic IP is assigned to the instance

* And add the following line at the end of the file. These entries will add the Sahara plugin (Data Processing) in OpenStack UI

10. Start the stack services

* This takes up sometime and logs will be available at /opt/stack/logs. On successful completion you will find details something similar as below.

11. To access the dashboard hit in browser (with the ip as displayed in the above step). If you are running in local PC you can directly access with the above url. But if you are running on AWS, this is the internal IP and will not be available to the outside world. In this case, allow HTTP access on 80 port for the outside world and access the service with the Public IP or DNS hostname allocated to your instance. This in my case