Pewarta Proxy

πŸ“‹ Server Request & Proxy Logs

Loading active proxy settings...
Developed by Khairul Adha (adhexa.id)
Mengambil log server...

βš™οΈ Pengaturan Proxy Target

Skip to content

About

Build a Private Cloud Using OpenStack PackStack on Bare-metal Server

Topics

Resources

Stars

4 stars

Watchers

2 watching

Forks

Repository files navigation

☁️ Build Your Own OpenStack Cloud Using PackStack on AlmaLinux

Install OpenStack

This guide walks you through building an OpenStack private cloud on a single-node AlmaLinux system using PackStack. It includes pre-configuration, installation, and post-setup steps β€” designed for DevOps engineers, cloud learners, and IT professionals.


βœ… What You'll Achieve

By the end of this guide, you will:

  • Install OpenStack using PackStack
  • Set up core services like Keystone (Identity), Glance (Image), Nova (Compute), Neutron (Networking), etc.
  • Configure external networking and upload test images
  • Access and manage your cloud via the Horizon dashboard (GUI)

🧾 System Requirements

Resource Minimum Recommended
OS AlmaLinux 8 or later AlmaLinux 8 (latest update)
CPU 2 vCPUs 4+ vCPUs
RAM 8 GB 16 GB+
Disk 100 GB 200 GB SSD
Access Root or sudo privileges Root

⚠️ PackStack is ideal for proof of concept (PoC) or learning environments, not production.


πŸ“¦ Installation Overview

πŸ“ Repo Contents

openstack-packstack/
β”œβ”€β”€ pre-configuration-openstack.sh   # Prepares OS for OpenStack
β”œβ”€β”€ install-openstack.sh             # Installs OpenStack using PackStack
└── post-configuration-openstack.sh  # Sets up default network, image, flavor

πŸ”§ Step 1: System Pre-Configuration

Run the pre-configuration-openstack.sh script to:

  • Install required packages
  • Set hostname and configure the network
  • Disable NetworkManager and firewalld
  • Enable SELinux in permissive mode
  • Add EPEL and OpenStack repos

Commands

dnf install git -y
git clone https://github.com/SumonPaul18/openstack-packstack.git
chmod -R +x openstack-packstack
cd openstack-packstack
. pre-configuration-openstack.sh

πŸ”„ The script will automatically reboot your system after configuration.


πŸ—οΈ Step 2: Install OpenStack with PackStack

After reboot, run the install-openstack.sh script to install OpenStack:

Commands

cd /root/openstack-packstack
. install-openstack.sh

This will:

  • Download and install all OpenStack components
  • Generate an answer file (optional for customization)
  • Configure the Horizon dashboard, Keystone, Glance, Nova, Neutron, etc.

πŸ“ Installation may take 10–30 minutes depending on your internet and system performance.


βš™οΈ Step 3: Post-Installation Configuration

After OpenStack is installed, use the post-configuration-openstack.sh script to:

  • Source admin credentials
  • Set up external and private networks
  • Upload a test image (Cirros)
  • Create default flavors

Commands

cd /root
. keystonerc_admin
. /root/openstack-packstack/post-configuration-openstack.sh

🌐 Step 4: Access the OpenStack Dashboard

πŸ“Œ Open your browser and navigate to:

http://<Your-OpenStack-Server-IP> or http://<your-domain>

Example: http://cloud.paulco.xyz

πŸ–₯️ Login Page:

OpenStack Login


πŸ“Š Horizon Dashboard Overview

The Horizon dashboard provides a web-based interface to:

  • Launch and manage instances
  • Create networks and routers
  • Manage volumes and images
  • Create and assign users and projects

OpenStack Dashboard


🧠 Tips & Best Practices

  • Always source keystonerc_admin before running OpenStack CLI commands.
  • You can customize PackStack by editing the answer file (packstack --gen-answer-file=file.txt).
  • Use Cockpit or another tool to monitor system resources.
  • For floating IPs, make sure your external network has access to your LAN or bridge interface.

πŸ“š Useful Commands

Description Command
List instances openstack server list
List networks openstack network list
List images openstack image list
Create flavor openstack flavor create ...
Source credentials . keystonerc_admin

πŸŽ₯ Tutorials

πŸ“Ί Subscribe to my YouTube channel for step-by-step video tutorials:

🎬 Video Guides:

🎯 More videos coming soon! Stay subscribed for DevOps, Cloud, and OpenStack content.


πŸ”— Official References


πŸ™‹β€β™‚οΈ Support

If you face any issues, feel free to:

  • Open an issue in this repository
  • Contact me at LinkedIn
  • πŸ“§ Email: sumonpaul461@gmail.com

πŸŽ‰ You're Ready to Explore the Cloud!

You've now built your own private cloud on AlmaLinux using PackStack β€” time to launch your first instance!


About

Build a Private Cloud Using OpenStack PackStack on Bare-metal Server

Topics

Resources

Stars

4 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages