Getting the Windows Azure Pre-Requisites Via Manual Installation

Author: Ben Lobaugh

Date: Wednesday, February 16, 2011, 12:00:00 AM

Tags: Windows Azure, Get Started

Table of Contents

In this tutorial I am going to walk you through the steps required to setup Windows Azure Pre-Requisites Via Manual Installation. See Getting the Windows Azure Pre-Requisites Via the Web Platform Installer for an automatic installation.

As we go along I will be showing you where to download the items we need, however for those of you who may be more advanced users I have provided you with links to the packages we will use first so you can get running quickly.

Getting the .NET Framework

So let's get started! If you do not already have the .NET Framework 3.51 or newer you need to get it now. If you are running Windows 7, Windows Vista SP2 or Windows Server 2008 SP2, you should be covered. If you are running an operating system prior to Windows Vista Service Pack 2 or Windows Server 2008 Service Pack 2 take a look at http://msdn.microsoft.com/en-us/library/gg465715.aspx#MSNET

Setup IIS and FastCGI

On Windows Server 2008:
  1. Click the Start button, and then point to All Programs. Point to Programs, point to Administrative Tools, and then click Server Manager.
  2. In Server Manager, under Roles Summary, verify that Web Server (IIS) appears in the list of available roles. If it does not, click Add Roles to install IIS.
  3. In Server Manager, under Roles Summary, click Web Server (IIS).
  4. In the Web Server (IIS) management window, click Add Role Services.
  5. In the Add Role Services dialog box, under Application Development, click both ASP.NET and Static CGI, then click Next to install.
On Windows 7 or Windows Vista:

1. Click the Start button

2. Click on the Control Panel

3. Click Programs

4. Under Programs and Features click "Turn Windows features on or off"

5. Setup the Internet Information Services as follows

a. Open Web Management Tools

i. Select IIS Management Console

ii. Select IIS Management Scripts and Tools

iii. Select IIS Management Service

b. Open World Wide Web Services

i. Select .NET Extensibility

ii. Select ASP>NET

iii. Select CGI

iv. Select ISAPI Extensions

v. Select ISAPI Filters

c. Open Common HTTP Features

i. Select Default Document

ii. Select Directory Browsing

iii. Select HTTP Errors

iv. Select Static Content

clip_image001

Installing the Windows Azure SDK

The Windows Azure SDK is what will perform the real magic on our development machine. The Compute and Storage emulators come with the SDK. You can think of the Windows Azure SDK as a local cloud platform for your development machine. Additionally it provides the tools you need to package your application for deployment to the Windows Azure cloud.

Note: if you are upgrading from previous version of the SDK, you must exit any currently running versions of the Windows Azure Emulator Environment before installing the new SDK.

The SDK is available in a 64-bit version and a 32-bit version.

Note: The 32-bit version of the SDK cannot be installed on a 64-bit operating system. Running the SDK under Microsoft Windows-32-bit-On-Windows-64-bit (WOW64) is not supported.

You should check to see which operating system type your machine is running. Click the Start button, then right-click on Computer, and select Properties.

clip_image002

clip_image003

You can download the latest Windows Azure SDK from http://www.microsoft.com/downloads/en/details.aspx?FamilyID=7A1089B6-4050-4307-86C4-9DADAA5ED018&displaylang=en

Be sure you select the correct package for your platform, either x64 or x32.

clip_image004

Click "Run" when prompted and follow the on screen instructions when the installer begins. Be prepared to authorize the program to run with some security prompts.

clip_image005

clip_image006

clip_image007

clip_image008

Now that the SDK is installed you should have a new item in your start menu called "Windows Azure SDK" followed by a version number, in my case 1.4. If you want to make sure you install worked correctly click on the "Compute Emulator". Note that the Storage Emulator will not work just yet. We need to get an SQL server install, which just happens to be the next step!

Installing SQL Express [optional]

Technically a SQL server is optional; however I recommend you get it if you wish to develop using the Windows Azure Storage Emulator and use blobs, queues, or tables.

SQL Server Express is used by the Windows Azure Storage Emulator. It lets you test on your machine when you use storage services like Blobs, Tables & Queues. If you don't plan to use these services for now, you can jump skip this step. You can add SQL Server later anyway.

If you have access to the full SQL Server great! You can use that instead. Everyone else follow along.

Cruise on over to http://www.microsoft.com/express/Database/InstallOptions.aspx and choose the "Database Only" option that fits your architecture.

clip_image009

After you have downloaded and launched the installer you will be presented with the SQL Server Installation Center.

1. Choose "New installation or add features to an existing installation"
clip_image010

2. Accept the license terms
clip_image011

3. You can leave the feature set at default, unless you feel the urge to add more
clip_image012

4. Instance configuration is also safe to leave at the default
clip_image013

5. Server configuration may be left at defaults
clip_image014

6. Database engine may be left at defaults
clip_image015

7. Now you should be done with the SQL Express install!
clip_image016

You may check to see if the Storage Emulator is working properly by selecting it from the start menu

1.4UpdatedStartMenu - Copy

On first run, the Storage Emulator should display an initialization message.

clip_image018

Great, now your Windows Azure SDK is all setup and you are ready to start developing your applications.

What next?

 
blog comments powered by Disqus