Create your own private cloud by using Openstack
Abhinav Paul
Infra Dev Specialist | Devops | Cloud | AWS | Terraform | Shell Scripting | Gitlab CI CD | Python | Linux | Ansible
OpenStack is an open source platform that uses pooled virtual resources to build and manage private and public clouds.
Create your own private cloud. :)
Here I am using GCP to launch my base machine on top of that we are going to install open stack to launch our own private cloud.You can also used oracle virtual box to use the resources you have in your base machine.
Isn't it cool where you will be having your own private resources and on top of that you are going to deploy various applications .
Here we GO !!!!
I am copying the ISO files which are required for the setup to the remote host machine which I have launched on GCP using WINSCP.
IP of your instance should we Static else if we restart our vm it might get a new public IP again so we must make the public IP static .
The VM configuration that I did for testing purpose:
Prerequisites :
I have copied all ISO files in one folder /software and I have created my own yum repository.
systemctl stop NetworkManager systemctl disable NetworkManager systemctl start network systemctl enable network systemctl stop firewalld systemctl disable firewalld systemctl status firewalld mkdir /software
Create Yum Repository
yum install -y createrepo cd /software
Clear the cache
[root@rhel7 sunny]# free -m total used free shared buff/cache available Mem: 15884 322 155 8 15405 15222 Swap: 0 0 0 [root@rhel7 sunny]# echo 3 > /proc/sys/vm/drop_caches [root@rhel7 sunny]# free -m total used free shared buff/cache available Mem: 15884 284 15496 8 103 15378 Swap: 0 0 0
Install openstack-packstack
yum install -y openstack-packstack
rpm -qa | grep puppet rpm -qa | grep openstack
Generate the file where we are going to define the services we require and clear the cache
packstack --gen-answer-file=a.txt echo 3 > /proc/sys/vm/drop_caches
Now start installing Redhat Openstack
packstack --answer-file=a.txt
Installation successful !!!!!!!!!!!!!!!!
Now access the Dashboard of the openstack by giving the public IP address on your base machine.Login with the credentials from the file keystonerc_admin
Now start creating your own private instances using your own private resources .
Thats All !! Thanks
Cloud Engineer | Cloud & DevOps Enthusiast | AZURE & AWS Certified | Penultimate At GLA University, Mathura
5 个月Hello Abhinav First... a huge round of applause ?? for that great work. I’m currently working on a similar project and would really appreciate any guidance or advice from you who had experience with this. If you could share the approach or best practices, it would be very helpful. Looking forward to learning from the community. Thanks in advance!