WEBSITE

Windows Azure and ASP.NET : Creating a Windows Azure Service

2/11/2011 11:39:08 AM
First, you need to set up a Windows Azure service in the cloud so you can deploy a Windows Azure application later. Each Windows Azure service created in the cloud is mapped to a virtual machine; however, you have no control over the virtual machine itself—you can only deploy your applications and configure certain parameters. Follow these steps:
  1. Open Internet Explorer, and go to http://windows.azure.com. You're prompted to sign in with your Windows Live account.

  2. When you've logged in, you see the Windows Azure project you created . Click your project name; this gives you the list of Azure services you've created so far, as shown in Figure 1.

    NOTE

    This article assumes you've signed up for the Windows Azure service. Signing up for the service automatically creates a Windows Azure project in the cloud.

    Figure 1. Windows Azure services summary page
  3. Click New Service to create your first Windows Azure service. Doing so brings up a page asking which kind of service you want to create:

  4. Storage Account. Lets you store large amounts of data

  5. Hosted Services. Lets you run services and web applications

  6. Click Hosted Services. Another page opens, and you're prompted to enter a Service Label and a Service Description (see Figure 2). The Service Label must be unique across all existing services in the cloud. If the name you enter is already registered, a message says so. Click Next.

    Figure 2. Creating a new Azure service
  7. The configuration screen in Figure 3 allows you to select a unique service name to use for your URL. This URL is available on the public Internet and as such must be globally unique. You also need to select a Service Affinity option. Figure 9-3 shows that you're creating a new service to be made available through http://AzureExample.cloudapp.net and hosted in an existing affinity group that you created when creating your SQL Azure database. The affinity group is called USSouthGroup, and it's located in South Central US.

    Figure 3. Windows Azure service configuration page

Creating an affinity group is very important for two reasons:

  • Price. When a Windows Azure service connects to a SQL Azure database located in the same region, there are no additional charges when transferring data between the service and the database.

  • Failover. If something happens and either the Windows Azure service or the SQL Azure database must failover to another region, all the services in the same affinity group are moved together if possible, keeping the performance and cost structure of the service consistent.

  1. To make sure your service is created successfully, click Check Availability in the configuration window shown in Figure 3. A message is returned indicating whether the check was successful. If is the service name is available, click Create. When the service is created, you see a page similar to the one shown in Figure 4.

    Figure 4. Windows Azure service management page

NOTE

As long as no code is deployed on this service, you aren't charged. However, as soon as you deploy something, the clock starts ticking from a billing standpoint.

Other  
  •  IIS 7.0 : Performance and Tuning - Processor
  •  IIS 7.0 : Striking a Balance Between Security and Performance - SSL
  •  IIS 7.0 : Striking a Balance Between Security and Performance - How to Measure Overhead
  •  Advanced ASP.NET : Component-Based Programming - The ObjectDataSource
  •  Advanced ASP.NET : Data-Access Components (part 3) - Enhancing the Component with Error Handling & Enhancing the Component with Aggregate Information
  •  Advanced ASP.NET : Data-Access Components (part 2) - Using the Data-Access Component
  •  Advanced ASP.NET : Data-Access Components (part 1) - A Simple Data-Access Component
  •  Advanced ASP.NET : Component-Based Programming - Properties and State
  •  Advanced ASP.NET : Creating a Component
  •  IIS 7.0 : Troubleshooting - Using Tools and Utilities
  •  IIS 7.0 : Tracing and Troubleshooting - Reading the FRT Logs
  •  The ASP.NET AJAX Control Toolkit (part 3) - The AutoCompleteExtender
  •  The ASP.NET AJAX Control Toolkit (part 2) - The Accordion
  •  The ASP.NET AJAX Control Toolkit (part 1) - Installing
  •  IIS 7.0 : Enabling and Configuring FRT - Configuring FRT by Using Appcmd
  •  IIS 7.0 : Enabling and Configuring FRT - Tracing a Specific Error Code
  •  Joomla! Blogging and RSS Feeds : Using separate blog components
  •  Optimizing for Vertical Search : Optimizing for News, Blog, and Feed Search
  •  ASP.NET AJAX : Timed Refreshes
  •  ASP.NET AJAX : Progress Notification
  •  
    Most View
    Buy A Decent System For $325 (Part 3) : Shuttle SA76R4 Barebone AMD AM3, Asus V7-P8H67E, Foxconn nT-A3500 Nettop Barbones
    Leveraging and Optimizing Search in SharePoint 2010 : Deploying FAST Search Service Applications
    Action Cam For Extreme Sports
    Programming .NET Security : Programming XML Signatures (part 1) - XMLDSIG Explained & Signing an XML Document
    Huge Screen Supertest (Part 8) - Philips Brilliance 248C3LHSB & Samsung 5 Series T27A550
    Aerocool X-Predator X3 Devil Red
    Fujifilm Finepix SL300 - Start Becoming A Real Photographer
    Windows Server 2003 : Network Load-Balancing Clusters (part 1) - NLB Operation Styles and Modes, Port Rules
    Collaborating via Web-Based Communication Tools : Evaluating Web Mail Services
    Big In 2013 (Part 3)
    Top 10
    Nvidia GeForce GTX Titan 6 GB Graphics Card Review (Part 6)
    Nvidia GeForce GTX Titan 6 GB Graphics Card Review (Part 5)
    Nvidia GeForce GTX Titan 6 GB Graphics Card Review (Part 4)
    Nvidia GeForce GTX Titan 6 GB Graphics Card Review (Part 3)
    Nvidia GeForce GTX Titan 6 GB Graphics Card Review (Part 2)
    Nvidia GeForce GTX Titan 6 GB Graphics Card Review (Part 1)
    Nook HD - A High-Definition Tablet With The Heart Of A Reader (Part 4)
    Nook HD - A High-Definition Tablet With The Heart Of A Reader (Part 3)
    Nook HD - A High-Definition Tablet With The Heart Of A Reader (Part 2)
    Nook HD - A High-Definition Tablet With The Heart Of A Reader (Part 1)