This is a lab of openstack victoria, deploy with kolla-ansible. https://docs.openstack.org//kolla-ansible/latest/doc-kolla-ansible.pdf
This lab deploy this cloud infrastructure :
- Some Flavors
- Centos 8 and Cirros Images
- Network
- One internal network with subnet
- One External network
- One router to connect networks
- Two floating IPs for two compute instance
- Security
- Deploy vagrant public key as available key pair
- One generic security group for SSH and ICMP
- One security group for web server, with ingress 80 and 443
- One instance of Nginx in Centos 8 deploy with cloud-init
- One instance of Cirros
Start the lab with :
- Start VMs with
vagrant up --no-parallel
- Deploy Openstack with command on openstack-kolla :
- source pyvirtenv/bin/activate
cd /etc/kolla
- check connection
ansible -i inventory.yml all -m ping
- deploy Openstack
kolla-ansible -i inventory.yml deploy
- Generate ENV with
kolla-ansible post-deploy
- Source ENV
. admin-openrc.sh
- Deploy Infra with terraform, first terraform/infra, next terraform/project
terraform init
terraform validate
terraform plan -out=tfplan
terraform apply tfplan
Get Floating IP with openstack command openstack floating ip list
or openstack server list
Enjoy !!!