Sitemap
Jal P

Jal P

OpenStack Installation on AWS (DevStack)

1 min readAug 16, 2022

This guide will walk you through the installation of OpenStack in Ubuntu 20.04 on AWS using DevStack.

Step 1: Log in to your AWS account and create an EC2 instance with the following configuration.

AMI — Ubuntu 20.04

Instance Type — t2.xlarge

Instance Configuration — Default

Storage — 100GB or more

Tags — [Name: My Ubuntu Server] (You can skip this if you want).

Security Group — SSH, HTTP, HTTPS

Keypair — Create a new keypair or Proceed with the existing one.

Step 2: Connect to your instance via putty.

Get Jal P’s stories in your inbox

Join Medium for free to get updates from this writer.

Step 3: Download DevStack.

Write the following command to download DevStack.

$ git clone https://opendev.org/openstack/devstack
$ cd devstack

Step 4: Create a local.conf file with the following contents.

[[local|localrc]]
ADMIN_PASSWORD=secret
DATABASE_PASSWORD=$ADMIN_PASSWORD
RABBIT_PASSWORD=$ADMIN_PASSWORD
SERVICE_PASSWORD=$ADMIN_PASSWORD

This is the minimum required config to get started with DevStack.

Note: There is a sample local.conf file under the samples directory in the DevStack repository.

Step 5: Start the Install.

$ ./stack.sh

This will take 15–20 minutes, largely depending on the speed of your internet connection. Many git trees and packages will be installed during this process.

All Done!

--

--