Skip to content

Security Group

For WordPress, 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 "WordPress (80 - 443 - 22)" WordPress
openstack security group rule create --dst-port 80 --protocol TCP WordPress
openstack security group rule create --dst-port 443 --protocol TCP WordPress
openstack security group rule create --dst-port 22 --protocol TCP WordPress

For WordPress, 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: wordpress-1.png

Name your security group:

sc_name.png

Add the rule for port 22:

sc_port.png

Repeat operation for HTTP and HTTPS ports.

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 "WordPress" --network ext-net1 WordPress

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

openstack server show WordPress

Go to Compute > Instances and click on Launch Instance:

inst_create.png

Name your instance:

inst_name.png

In the Source tab, select a Debian image:

inst_img.png

In the Flavor tab, select flavor a2-ram4-disk50-perf1:

inst_flavor.png

In the Networks tab, select network ext-net1:

inst_net.png

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

inst_sc.png

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

inst_key.png

Back to top