Install a load-balanced Web farm virtual machine on Windows Azure

Source: Internet
Author: User
Keywords Azure azure virtual machines load balancing

One of my buddies is thinking about moving some of his Linux-based sites to http://www.aliyun.com/zixun/aggregation/13357.html ">azure." If your current site is node.js, ASP, ASP. NET or PHP, it is easiest to use azure Web sites. I'll show you in this article how to install the Azure Web site in a few minutes with git. They hide the underlying operating system from you, automatically update, easily expand, and share hard drives.

However, he likes the virtual machines and virtual machines to give him control, and he can run around, move things, control his world.

I will use open source (GitHub) cross-platform CLI Tools (command-line interfaces) on Azure. If you have node package Manager you can import your signature using the "NPM install Azure-cli--global" command. You can also download the install command-line tool from www.windowsazure.com.

Set up a Linux virtual machine

We'll use the portal to create a preliminary virtual machine (I'll show you how to do it in a minute). This virtual opportunity is used to set up a virtual machine image template. I'm going to create an Ubuntu 13.04 server and then install Apache and PHP. I then captured a common mirror image of the machine I am installing, which can be added to the scene by a copy. This image will be displayed in the "My Mirror" of the Azure portal.

Note: On the open Tech VM Depot, there is a great community-driven category for preparing virtual machine mirroring. It's like the azure secret worth preserving. I'm going to post it later, but it's really worth a closer look.

Starting with the Azure portal, I started a new | virtual machine | And then chose Ubuntu Server 13.04.

The name doesn't matter, but I want to configure a username and password (or use an SSH key):

Note that I want to create a standalone virtual machine:

Tip: If I don't want to create a virtual machine with a portal at all, I can even programmatically discover virtual machine mirroring by using the command line.
Then create the virtual machine instance. Use the Azure VM List command to get me a list of the virtual machines that can be selected. I think
The Ubuntu you want is "UBUNTU-13_04-AMD64-SERVER-20130501-EN-US-30GB" (with a GUID in the name). So I just type "Azure VM create Mydnsname imagename [options]" to handle them.

Related Article

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.