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

Search for a command to run...

No comments yet. Be the first to comment.
When storing sensitive data in Amazon S3, it's critical to make sure it's protected. AWS provides multiple encryption options, and one of the most secure and flexible methods is server-side encryption with AWS Key Management Service (SSE-KMS) using a...

Whether you're a student, developer, or DevOps engineer preparing for a demo, this guide walks you through setting up AKS for demo purposes quickly and efficiently. Let’s get started! Prerequisites An Azure Account: Sign up here Azure CLI: Install ...

If you're running a website or app, securing it with HTTPS is a must. Not only does HTTPS protect your users’ data with encryption, but it also improves trust and even your site's SEO ranking. Let’s Encrypt? Let’s Encrypt is a free and trusted Certif...

Monitoring your infrastructure doesn’t have to be complicated. In this guide, I’ll show you how to set up Prometheus and Grafana in the easy way. Whether you're a beginner or just looking for a quick demo environment, this setup will get you up and r...

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.
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.
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.
Before diving in, I’ve already installed a VM on my local machine. Here’s the OS I used:

Make sure your packages are up to date:
sudo apt-get update -y

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

chmod +x devstack_setup.sh

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.

This will download and install OpenStack and take 20–30 minutes.
./devstack_setup.sh


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.



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! 🙌