18 ‐ Install application in Bastion server and validate the connectivity - SanjeevOCI/Azure GitHub Wiki
Create Resource Group
Create a Resource Group for the Application Gateway.
Create Virtual Network
Create a Virtual Network for the Application Gateway. Also create two Subnets of VNet
Create Virtual Machine
Create a Virtual Machine for the Application Gateway.
After creating the VM, we need to follow the below steps :
Install and Enable httpd service in VM.
Create an index file (/var/www/html/index.html)
Enable firewalld service in VM.
Add port 80 in firewall.
apt install firewalld -y
systemctl enable firewalld
systemctl start firewalld
firewall-cmd --state
firewall-cmd --permanent --add-port=80/tcp
firewall-cmd --reload
firewall-cmd --list-ports
systemctl enable firewalld