OpenStack Private Cloud on Your Laptop with DevStack Guide is a complete Guide with needed video for setup of private Cloud using your laptop as Bare Metal. We told you to get your Ubuntu to ready for Private Cloud ! There is not to much to say about this guide on OpenStack Private Cloud on your Laptop with Dev tack Guide, the word ‘laptop’ in title we hope will make people more interested. Total cost is zero up to the point we have shown you. OpenStack Private Cloud is deployed with DevStack using your computer / laptop as bare metal like a data center.
OpenStack Private Cloud on Your Laptop with DevStack Guide : Requirements
The requirement is thin. An Ubuntu back version (11.x) is suggested, we took the risk with Ubuntu 12.04 LTS (we basically modified few files that made Ubuntu crazy a bit, seriously do not use 12.04 for Dev Stack) on a Laptop with 2 GB RAM. It was a good laptop once. Officially you can check Github for more info on DevStack before seriously starting the project OpenStack Private Cloud on Your Laptop with DevStack :
OpenStack Private Cloud on Your Laptop with DevStack : Requirements
First the Ubuntu must be of minimal setup. Second is, the Internet connection, Router etc. should be clean and have a Static IP, proper DNS etc. Third is, install the needed components to make it a LAMP server, if you are hesitating with commands, you can read this guide. We will take that you already know the Debian specific UNIX commands. The reason to use DevStack instead of OpenStack are various. OpenStack can be deployed with low (relatively) RAM too, but networking mode is important. Basically we have installed server components on Ubuntu, so it has become Server with GUI.
In your BIOS settings, you need eth0 and eth1 . In the video you will see, we have first installed :
sudo apt-get install bridge-utils # install birdge
Here is the reference for the command :
Then we opened the Interfaces config file and there are onscreen instructions to find the data easily, we used :
We used gksudo gedit command to open it in Gedit as read and write enabled file. Classically it should look like this after Editing (except the IPs) :
<span style="color: #0000ff;"># The loopback network interface</span>
iface lo inet loopback
<span style="color: #0000ff;"># The primary network interface</span>
iface eth0 inet static
iface br100 inet static
18.104.22.168 is your Private IP. Then we installed git :
sudo apt-get install git
Cloned the DevStack repo :
git clone git://github.com/cloudbuilders/devstack
Went to devstack folder (cd devstack) and opened the localrc file :
Unofficially this should be added :
<span style="color: #0000ff;">LIBVIRT_TYPE=kvm</span>
Deploying is by using ./stack command. As like many Rackspace Beta Products (if you are an user like us), do not use symbols but numbers, letters etc. up to 8. Go to your IP on browser (delete any Apace2 html file like things from www folder) :
You will get the OpenStack panel. It reminds me of old Rackspace mail server GUI. The options are also quite familiar. Instances and services are two important things which you must understand clearly for OpenStack Private Cloud setup.
With direct OpenStack Private Cloud Software, there is no pain of so much CLI commands. As you actually need no big config Cloud Server to add, you can do a practice with this kind of setup. Otherwise this way to setup is actually not for real usage in deployment field. It is actually not enough stable.
Follow the Author of this article :