Windows Azure Virtual Machine (22)

Source: Internet
Author: User

Using Azure PowerShell, set virtual Machine Endpoint

We can open the endpoint of virtual machine through Windows Azure Management Portal and borrow the pictures from my previous blog:

But if we need to open a lot of endpoint, it needs to be set manually one by one, which is tedious.

In fact, we can set up the endpoint of virtual machine in batches through Windows Azure Powershell.

1. Assuming that you have created a vitual Machine, the name is LEISQLVM

2. We run the Windows Azure Management Portal using the admin identity

3. If you are running Azure PowerShell for the first time. We want to create a certificate file locally. For the local computer and Azure to establish a reliable secure connection.

Please refer to the author's previous blog: [New portal]windows Azure Virtual Machine (16) uses Azure PowerShell to create azure virtual Machine

See more highlights of this column: http://www.bianceng.cnhttp://www.bianceng.cn/Servers/cloud-computing/

4. After uploading the certificate, suppose we need to set up TCP Endpoint for LEISQLVM this virtual machine

Endpoint name is TCP80

Public port is 80

Public port is 80

5. We return to Azure Powershell and continue to enter the following command

After the operation, the results are as follows

6. In the management portal, the results of the setup were found:

7. The author simply introduced the next single VM endpoint settings, if you want more than one VM settings endpoint, please refer to the MSDN article

Http://msdn.microsoft.com/en-us/library/windowsazure/jj152886.aspx

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.