Wednesday 5 September 2018

Microsoft Azure - Endpoint Configuration

Microsoft Azure - Endpoint Configuration




When creating a virtual machine, we come across a part where endpoints can be configured. The two default endpoints enabled while creating a virtual machine are Remote Desktop and PowerShell. What actually is an endpoint? Virtual machine on same cloud can communicate to each other automatically. But in case we need them to communicate with our own computer, we will need an endpoint configured to make it happen. It is basically accessing the virtual machine through a port. An endpoint provides remote access to the services running on virtual machine. It has a public and private port that needs to be specified while creating an endpoint. Additionally, an endpoint can be accessed securely by activating Access Control Lists (ACL).
In the following section, it is demonstrated how a new endpoint can be configured for virtual machine that’s already been created. However, it can also be done in the same way as creating a new one on configuration part of wizard.
Step 1 − Click on Virtual Machine in your Azure Management portal.
Step 2 − Click on ‘Endpoint’ and then Click on ‘Add’.
New Endpoint
Step 3 − Select ‘Add a Stand-Alone Endpoint’ as shown in the following image.
Stand-Alone Endpoint
Step 4 − Select the name from dropdown. Alternatively, you can enter a custom name. Here let’s select Http from options. It will assign unused ports automatically. Or you can enter it manually.
Endpoint Details
Step 5 − If you tick ‘Create a Load Balanced Set’, it will allow distributing the load across virtual machines. Let’s leave it unchecked here because it can be configured later, if needed.
Step 6 − The ‘Enable Direct Server Return’ is checked when SQL server’s ‘Always On’ feature is required, so let’s leave it unchecked.
Step 7 − Click on Next arrow.
New Endpoint

Access Control of Endpoint

We can grant or deny the access of services to an individual host or network. If nothing is specified, the endpoint can be accessed from any host and network.
Step 1 − Select ‘Manage ACL’ as shown in the following image.
Access Endpoint
Step 2 − Enter access description.
Step 3 − Enter Subnet Mask.
ACL Endpoint Details
Step 4 − Click on Next and it’s done.
Access Endpoint Success

No comments:

Post a Comment