The Azure software gateway is the function that directs the applying net visitors to particular sources in a backend pool. We will assign listeners to ports, create guidelines, and add sources to a backend pool.
This text will learn to configure Azure software gateway and use a easy setup with a public front-end IP, a major listener to host a single web site on the applying gateway, a fundamental request routing rule, and two digital machines within the backend pool.
On this demo I’ve already created the next situations:
- Digital Community (Weblog-VNet)
- Subnet1 (BackendPool) for Digital machines
- Subnet 2 (AppPool) for Software Gateway
- Digital Machine (Weblog-VM) with IIS service
Create an software gateway
On the Azure Portal web page, in Search sources, enter the software gateway, choose Software Gateway, and click on Create.
Within the Fundamentals tab, enter the next data.
- Useful resource group: choose the proper Useful resource group that we’ve got already deployed the situations.
- Digital Community: Choose the prevailing Digital Community
- Subnet: Choose the empty Subnet
Click on Subsequent: Frontends to configure the frontends.
Within the Frontends tab, enter the next data:
- Frontend IP kind: Public
- Public IP tackle: Create a New Public IP tackle
Click on Subsequent: Backends to configure the Backends
Within the Backends tab, enter the next data:
- Click on Add a backend pool
- Enter the Identify for the backend pool
- Goal kind: Digital machine
- Goal: Choose the prevailing Digital Machine
Click on Add button, after which click on Subsequent: Configuration.
Within the Configuration tab, Frontends and the Backend swimming pools are already configured; we had configured in beforehand, now we have to add the Routing guidelines.
Click on Add a routing rule to configure the routing.
- Rule Identify: Weblog-Rule
- Listener identify: Weblog-Listener
- Frontend IP: Public
Click on Backend targets.
Within the Backend targets, choose the Backend goal and within the HTTP, settings click on Add new.
Within the Add HTTP settings, enter the identify for the HTTP settings, and the Backend port is 80, click on Add.
After finishing this course of click on Create + assessment and Click on Create.
For Testing, whether or not the Net service is working on the Digital Machine’s Public IP, copy the Public IP and paste it to the net browser.
The Touchdown web page has loaded utilizing the Digital Machine’s Public IP tackle.
Open the Software gateway and duplicate the Frontend public IP tackle and paste it into the net browser.
The Touchdown web page has loaded utilizing the Software Gateway’s Public IP tackle.
On this article, I confirmed you the right way to configure an Azure Software Gateway.