Easy Steps to Install OpenStack/DevStack All-in-One


Hi!👋 I'm excited to share how I set up OpenStack using DevStack on local machine. If you’re just getting started with OpenStack, this guide might help you spin up your own testing environment.
⚠️ Disclaimer: This is a minimal, all-in-one installation intended for development and testing purposes only. Do not use this setup in production environments.
What is DevStack?
DevStack is a series of extensible scripts used to quickly bring up a complete OpenStack environment for development or testing purposes. It’s not recommended for production use, but it's perfect for labs and learning.
Why Use DevStack?
DevStack is a great way to:
Learn OpenStack hands-on
Test and experiment with OpenStack components
Set up a local cloud lab quickly
But again, it’s not designed for production workloads, so test it as your cloud playground.
My System Info
Before diving in, I’ve already installed a VM on my local machine. Here’s the OS I used:
Setup Steps
1. Update the system
Make sure your packages are up to date:
sudo apt-get update -y
2. Clone my DevStack setup repo
I've uploaded a custom DevStack configuration script to GitHub. Feel free to clone and use it.
git clone https://github.com/linnlattoo-cloud/devstack.git
cd devstack
3. Make the setup script executable
chmod +x devstack_setup.sh
4. Optional: Customize your setup
You can change passwords for:
Database
admin
service
RabbitMQ
Just edit the local.conf
file by using vim editor or nano inside the repo before starting the install.
5. Run the setup script
This will download and install OpenStack and take 20–30 minutes.
./devstack_setup.sh
Accessing OpenStack
Once the setup is done, you can log in to the OpenStack dashboard (Horizon) (http://your-server(vm)-ip/dashboard
) using the admin
user and the admin password you defined in local.conf
.
Cleaning Up
Need to remove everything? Just run:
./clean.sh
This will clean up your DevStack environment so you can start fresh if needed.
That’s it! DevStack is a fantastic way to explore OpenStack locally without complex setups. Feel free to fork my GitHub repo if you find this useful.
Thanks for reading! 🙌
Subscribe to my newsletter
Read articles from Linn Latt Oo directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by
