Skip to content

Security Group

For this Docker environment, you need to open the port HTTP (80), HTTPS (443) and SSH (22), for that create the following security group:

openstack security group create --description "Docker environment (80 - 443 - 22)" Docker-Environment
openstack security group rule create --dst-port 80 --protocol TCP Docker-Environment
openstack security group rule create --dst-port 443 --protocol TCP Docker-Environment
openstack security group rule create --dst-port 22 --protocol TCP Docker-Environment

For this Docker environment, you need to open the port HTTP (80), HTTPS (443) and SSH (22), for that create the following security group: Go to Network > Security Groups and click on Create Security Group: docker-1.png

Name your security group:

docker-2.png

Add the rule for port 22:

docker-3.png

Add the rule for port HTTP:

docker-4.png

Add the rule for port HTTPS:

docker-4.png

Instance

You can create the instance with the following command:

openstack server create --image "Debian 11.3 bullseye" --flavor a4-ram8-disk50-perf1 --security-group "Docker-Environment" --network ext-net1 Docker-Environment

Check the status of the instance and retrieve the IP address with:

openstack server show Docker-Environment

Go to Compute > Instances and click on Launch Instance:

docker-5.png

Name your instance:

docker-6.png

In the Source tab, select a Debian image:

docker-7.png

In the Flavor tab, select flavor a4-ram8-disk50-perf1:

docker-8.png

In the Networks tab, select network ext-net1:

docker-9.png

In the Security Groups tab, select the previously created security group:

docker-10.png

In the Key Pair tab, select your keypair and click on Launch Instance:

docker-11.png

Back to top