Deploying Virtual Machines via Windows Azure
A first look at how you can run server instances in the new Microsoft Infrastructure as a Service public cloud offering.
The long-awaited release of Microsoft Windows Azure Infrastructure Services means enterprise customers can finally migrate their existing applications to Redmond's public cloud service or run new apps as server instances. According to Microsoft, Windows Azure Infrastructure Services is a viable alternative to the popular Amazon Simple Storage Service (S3) and Elastic Compute Cloud (EC2).
Not only can customers now provision their own virtual Windows servers -- such as SharePoint, BizTalk and SQL Server -- in the Microsoft cloud, but they can also stand up Linux instances. This vastly expands the options available in Windows Azure. After its April 16 release (see the May 2013 Redmond Report article, "Microsoft Takes on Amazon in the Cloud with Windows Azure IaaS," for more details), I took Windows Azure Infrastructure Services for a test-drive.
I based my evaluation on a 90-day free trial of the Windows Azure service. The sign-up process was relatively simple. I had to sign in using my Windows Live ID, and then had to provide Microsoft with my cell phone number. Microsoft then sent me a text message with a confirmation code, which I entered into the Web site to confirm my identity. Microsoft also provides a voice call option for those who don't want to receive text messages.
Although the sign-up process was easy, there was one aspect I didn't like. Even though I was signing up for a free trial, Microsoft required me to provide a credit card. According to the Web site, the card is used solely for identification purposes. Even so, I'm paranoid I'll forget to cancel my trial subscription, resulting in unwanted charges. I haven't found anything on the Windows Azure Web site to indicate that you'll be billed when your trial expires, but I've had this happen with other vendors in the past. As such, I'm always immediately suspicious when a site asks for a credit-card number for a "free" trial. I think Microsoft could find a better way to verify my identity, such as using my Windows Live account.
After logging in for the first time, I checked out the Windows Azure Service Dashboard (Figure 1). This dashboard gives subscribers a quick and easy way to check the health of the various services by region. I thought it was a nice touch.
After a quick health check, I clicked on the Portal icon to access the Windows Azure portal. Upon doing so for the first time, I was presented with a screen offering me a 30-second tour of the portal. If you've worked primarily with on-premises solutions in the past, I'm sure you'll find the quick tour helpful.
After taking the 30-second tour (which was actually more like 15 seconds), I was directed to the main portal screen.
As you can see, no resources are created by default. As such, the first step in making Windows Azure your own is to create something by clicking on the Create an Item link. Doing so brings up a pane at the bottom of the screen that gives you a number of different options for creating various items (Figure 2).
The various object types are grouped into categories. The categories and the object types within them include the following:
- Web Site
- Virtual Machine
- Mobile Service
- Cloud Service
- Data Services
- SQL Database
- SQL Reporting
- Recovery Services
- App Services
- Service Bus
- Media Service
- Access Control
In addition to the categories listed here, there's also a Store option. Clicking the Store option brings up the Purchase from Store screen (Figure 3). The Store reminds me a lot of the app store found in Windows 8. However, most of the items in the Windows Azure Store are geared toward developers.
Creating an Object
After I looked around the portal, I decided to create some resources. I began by creating a VM. Win-dows Azure provides different options for VM creation: Quick Create and From Gallery. I decided to try out both options, starting with Quick Create.
Building a VM by using the Quick Create option was easy. I was prompted to specify a DNS name,image, VM size, username, password and a location (Figure 4). The Image option lets you select from a number of predefined VM images. There are quite a few different images to select from, including options such as Windows Server 2012, Windows Server 2008 R2 SP1, Linux servers, BizTalk Server, SharePoint Server, SQL Server and more. I was surprised Exchange Server wasn't on the list.
The Size dropdown list allows you to specify the number of VM cores and the amount of memory that you want to dedicate to the VM. The interface doesn't let you directly specify the amount of memory that you want to use. Instead, a memory amount is assigned based on the number of cores you choose. VMs can range from Very Small (with a shared core and 768MB of memory) to A7 (eight cores and 56GB of memory). As you define the VM parameters it's important to remember that you'll be charged based on the resources you choose, and that not all subscription plans allow for the larger-sized VMs to be created.
Upon making my selections, the provisioning process took roughly 5 or 6 minutes to get everything up and running. One thing that I did notice was the Windows Azure portal hadn't given me an option to specify how large the virtual hard disk (VHD) should be. I did a quick check of the VM and saw that it was provisioned with a 126GB VHD and another 69.9GB of temporary storage (Figure 5). Inci-dentally, the portal does offer a mechanism for creating virtual disks.
Next, I created a VM using the From Gallery option. This process begins by asking you to choose an OS for the new VM (Figure 6). As I worked through the process of creating a VM from the gallery, I found that the process was nearly identical to the other creation method that I had used. The main difference is when you create a VM from the gallery you're given the opportunity to create an availa-bility set.
Building a couple of VMs proved to be a quick and easy task, but I was curious to see how useful the new VMs really were. Because I had full administrative control over the VMs, it would be simple to create Active Directory forests and enable various roles and features. However, the whole market-ing effort around Windows Azure Infrastructure Services is that it's supposed to allow you to run your applications in the cloud. Microsoft gives you plenty of developer resources that can be used to create applications, but I wondered how difficult it would be to load a commercial application onto a VM running on Windows Azure.
My initial idea was to capture a local DVD drive, insert an Exchange 2013 DVD and install Exchange Server. I had no trouble setting up an Active Directory forest, but I couldn't find any obvious way to connect to a local DVD drive. That being the case, I decided instead to see if I could download an application from the Internet and run it on a VM. I had no trouble disabling the Internet Explorer Enhanced Security Configuration and downloading an application from one of the major download sites. The application ran on the hosted VM just as efficiently as if I had run it in my own on-premises lab.
Other Object Types
Although the bulk of this test-drive focused on creating and testing VMs, I did take a look at some of the other object types. I found it to be just as easy to create objects such as Web sites as it was to create VMs. When you create a Web site, Microsoft allows you to create a blank site, but you can also use templates to build things like e-commerce sites or blog sites.
Microsoft has slashed Windows Azure pricing and has made a commitment to match Amazon Web Services pricing for commodity services including things such as bandwidth, storage and compute resources. According to the Microsoft Windows Azure pricing page (bit.ly/x3INk9), plans start at $500 per month. There's also a pay-as-you-go plan available.
Although many of the features found in the Windows Azure platform are geared toward developers, administrators will have no trouble creating and configuring VMs. I found the process of setting up and configuring VMs to be simple and intuitive. I was especially impressed by the variety of VM OSes from which Microsoft allows you to choose. In my opinion, Windows Azure Infrastructure Services really is a good alternative to Amazon cloud services offerings. I do, however, hope that Microsoft eventually creates templates for deploying VMs that are preconfigured for servers such as Exchange or Lync.