FAQ: Using your MSDN Windows Azure benefits

Many of you have an MSDN subscription. Frankly, I don’t think I would take a development job if it didn’t come with MSDN, it simply provides all the tools you need to be a developer in the Microsoft world.

Along with that subscription comes a hefty amount of free Windows Azure resources. This makes it really easy to get into cloud computing, do some trial work, and even use that time during your project development.

We have worked hard to make it easier than ever to activate your MSDN benefits. If you tried before, and bailed out because you didn’t have the subscription id, or didn’t want charges to your credit card, then now is your time!

You don’t need to know your MSDN Subscription ID. Just use the Live ID your MSDN account is tied to.

To get started, go to Windows Azure membership offers page.

A quick walkthrough on how to activate your free MSDN Windows Azure benefits.

Why do I need to give credit card?

Yes, you still need a credit card, but you don’t need to worry. We use it to verify you are over 18 (to accept the terms of service) as well as to prove you are a human.

We will never charge to the card because when you activate your MSDN account a spending cap will be placed on your account. This will limit the resources you consume in Windows Azure to those that you get for free from your MSDN subscription. If you hit that limit, we shut down your app until the next month.

You can remove the spending cap if you want. In this case, when you go over your free allocation of resources we will charge any overage to your credit card. Once removed the spending cap cannot be re-activated.

With an MSDN subscription, I can’t think of a reason why you would remove the spending cap. In most instances you will have the amount of time you need for dev/test. Your free utilization resets every month. If you really are going over this cap, maybe you need a different type of subscription.

What do I get?

You will get a generous allocation of free Windows Azure resources. How many you get depends on your MSDN subscription level. I have copied those allocations here, but you should always check WindowsAzure.com for the latest details.

image

What are compute hours?

When you deploy an application to Windows Azure we allocated hardware to you. We charge based on how many hours of CPUs (across all of your servers, or as we say instances) that are allocated to you. We do not charge based on how busy the CPU is. Meaning, an app that is used heavily is charged the same as one that is stagnant and not in use.

Why do we charge this way? Think of it like a hotel room. You are renting the room by the day. When you leave the hotel room to go have fun, or go to a business meeting, you have left your stuff in the room. No one else is going to use that room, at least until you check out.

So even if there isn’t any load on your servers, if your app is deployed to them, you are being charged. This means you need to look at what you have deployed, and for how long. What this also means is that if you don’t need a server up GET RID OF IT. You will be charged for those servers until you tear them down. Just like in a hotel, you will be charged until you check out. The only difference is we charge by the hour, and most hotels charge by the day. Smile

This is the age of disposable servers. Why have all your QA servers up and running all night long when the test team has gone home? That’s a waste of money. Shut them down at night, and restart them in the morning when you are ready to run some more tests. Same thing with your development environment. This is a great way to get the most out of your hours.

To make this even easier, write a simple PowerShell script to do it for you. You could even schedule the script to run everyday at 6am to start up the servers, and at 8pm to shut them down.

What do they mean by ‘Small Instance’?

An instance is a virtual server that we have deployed on your behalf. There are different sizes of instances. You will choose how big the instances are when you deploy, to meet the needs of your app. The typical web app will use a flock of small instances.

Each size of instance (small->medium->large->x-large) basically doubles the amount of CPU and RAM available to your app. Since we charge by the number of CPUs in total, the size does not really affect your bill, only the resources you have per virtual server. As an example, an app that is deployed with 8 small instances (eight servers that have a single CPU each) will cost the same as a single x-large instance (a single server with 8 CPU’s). These instances are running on hardware that is dedicated to you. You won’t have to worry about the noisy-neighbor problem.

You are billed for CPU run time, not CPU load utilization.

When you have 1,500 hours of free small instance hours, we mean 1,500 hours of small instance EQUIVELANT hours. If you run 10 x-large instances, that counts as 80 small hours per running hour. In this configuration you would run for 18.75 hours for free per month.

There is one exception to this setup. We also have extra-small instances. These are still independent virtual servers, but they are running on some shared hardware. You are basically getting a third of a CPU instead of a whole one. Because of this you are charged the equivalent of 1/3 of a small instance hour . If you deploy 10 extra-small instances (which is 10/3 small instance hours per running hour) you could run for about 450 hours per month.

The extra-small instance is meant for either lightweight needs (a small administrator app) or for running your development environment.

What other free stuff do I get?

You will get free storage (blobs, queues, and tables), a SQL Azure database, a cache, bandwidth, lots of other stuff.

I work for a large company, how do I know if I have an MSDN subscription?

You have to figure out who your MSDN administrator is. This is usually someone in IT management or purchasing. I would recommend you start with whoever actually gives you access to downloads, or ISO’s internally. You don’t need to know this person if you already have access to your MSDN subscription with your Live account. If you don’t yet, this person can link your MSDN subscription to your Live Id.

I have billing issue, who do I contact and what information do I need while contacting?

The easiest way is to start a ticket online, and then call in. It saves having to relay all of the technical information over the phone. When you do open a ticket, you will need your basic contact information.

You will be asked several questions to rank the severity of the issue so that we respond with the proper amount of hair on fire.

You may be asked for your subscription id. This is a GUID, and can be found on your management portal. Log in to the portal at windows.azure.com with your Live Id used for the subscription. When the subscription in question. You will find your subscription id in the right hand portal is loaded, click on the “Hosted Services, Storage Accounts & CDN” tab. Then click on subscriptions. Choose the properties panel.

image

If your issue is causing a critical business impact, please dial 1-866-MSONLINE ([866] 676-6546) for support in English, or click here for a local number within your region. Currently, there is no charge for Windows Azure platform and service support.

You can verify the health of the Windows Azure Platform on the Service Dashboard.

Resources:

Tags:

New Windows Azure Billing Portal

Part of the recent December release for Windows Azure included an overhaul of the billing portal. You now see a visual representation of your resource allocation (for trials and MSDN), and how much you have used for the month towards that allocation.

In this screen shot, I am showing some of the bars for compute, storage, and database.

image

The portal also lets you now download your billing data as a CSV file. This is important for those customers that need to break up their charges, and do some pass through billing. Or maybe they want to run a cost model to predict costs with usage curves.

You can also change how you are billed, and even cancel your subscription.

image

I have created a short video to show you how the billing portal works.

Tags:

Publishing to Windows Azure with VS2010

In November we released version 1.6 of the Windows Azure SDK. Along with that we released an upgrade to the Visual Studio tooling. You can download them both here. Of course you can see my prior post on how to sign up for a free trial.

The new tooling makes publishing to Windows Azure super easy. VS lets you download a settings file from your subscription. This file includes all the information VS needs to push out bits to your cloud. No more alt-tabbing like a tango dancer back and forth from VS and the dev portal to copy certificates, upload stuff, get your subscription id, etc. Very, very easy.

This was really the first little glimpse at how the new focus on making developing for Windows Azure easier is fruitful.

Enjoy this light snack of a video. Fairly informal.

Tags:

New Sign Up for Windows Azure and Spending Caps

It hasn’t been a secret that signing up for a Windows Azure account was not a trivial task. It involved more than 12 steps, several web sites, and the collection of three dusty relics. Smile

With the focus on simplification, the sign up process has been boiled down to three steps.

1. Login with Live ID

2. Confirm you are a human with a text/sms message to your phone.

3. Provide billing/credit card details.

Your account will be created with a spending cap if you choose to use the 3 month free trial, or your MSDN account benefits. These spending caps will turn off your services if you reach the ‘free’ level of you resource allocation. This means that your credit card will only be charged if you choose to remove the spending caps. Now you are play with the cloud, for free, without any risk or fear of being charged!

It is so easy to create an account now that you can do it in a quick few moments. I made a small snack sized video to show you how quickly it is. Forgive the ugly ‘blurring’ of the credit card data. It may be the giving season, but I am not that giving.

The new and simpler way to create a Windows Azure account.

Tags:

Build a Game with Windows Azure Toolkit for Social Games

While I was at Casual Connect in Seattle (no, it’s not like that, it’s a casual game developer conference) the Windows Azure Evangelism team (Nate, Wade, etc.) soft released the Windows Azure Toolkit for Social Games. Today they have officially released version 1.0.

One of the key industries that are leveraging the cloud these days are gaming companies, especially social game companies. Most of these companies are small, with limited production budgets, and they hope to win it big with a game that goes viral through social networks. The cloud fits this business model pretty well, where you can launch your game with a small budget, and scale up the infrastructure as the game grows in popularity. Just imagine all of the games we will now see, that in years past would never see the light of day because the developer didn’t have the cash to buy a rack of silicon. Amazing!

So, what does this lengthy named and well built toolkit do for you? It includes code and services that you can use in your own games, for some very common features. It also includes three games built on that engine, including Tankster.net.

Tankster.net is a game built completely in HTML5 with a Widows Azure backend. It provides for inventory, purchasing, chatting, and multiplayer, because of the toolkit.

The toolkit specifically provides libraries to provide these functions:

Server APIs

  • Authentication (Uses Windows Azure Access Control Servers)
  • Game Management
  • Eventing
  • User Profiles
  • Leaderboards
  • Inventory
  • Real-Time Communication (Chat, etc.)
  • Notifications
  • In-App Purchases

HTML5 Features

  • Game Play
  • Turn Management
  • Animations
  • Inventory
  • Leaderboard
  • Events
  • Chat (Real-Time Communication)
  • Social Sharing (Like, Tweet, etc.)
  • Audio

This is just version 1.0, so if there is a feature you really want, you should let them know. I know the ream is eager to rapidly grow the toolkit and provide the features game developers are looking for.

You should download the toolkit here. If you want to read a series of blog posts on how to work with the toolkit, head on over to Nate’s blog. He knows ALL about it. Smile Psst: I runs Node.JS to help with browser to server communications.

Tags:

Windows Azure Tools for Visual Studio 2010 Updated

About a week ago we quietly released a new version of the Windows Azure Tools for Visual Studio 2010 (can our product names get longer?).

The easiest way to get the tools is to use the Web Platform Installer. The WPI is THE best way to get tools, SDKs, and configure you servers for use with the web and the cloud. Download and install it, and then start it up. To install the new Windows Azure tools simply search for “Azure Tools” and it will come right up. Click the Add button, and then the Install button at the bottom. You can easily select multiple items, and install them all in one go.

image

The great thing about WPI is that it doesn’t just install the bits for you, which saves you time in finding, downloading, and installing stuff. It also knows what the prerequisite requirements are, and installs them as well. It can also set the proper configurations in place.

What does the new tool version include?

1. Profiler – You can now profiler your roles while they are running in Windows Azure. Once you have a role deployed, you can right click on an instance in the server explorer and choose ‘View Profiling Report.’ This will help you find performance issues in your applications.

2. MVC3 – In the older tools, MVC2 was a listed role template, and you could always hack MVC3 to work. Now MVC3 is listed as a role template as well. This will automatically include and ship the MVC3 assemblies with your project, so you don’t have to remember to mark them as copylocal.

3. Multiple Service Configurations – As ASP.NET developers we have been spoiled with the great configuration management tools in VS. You could have several web.configs (one each for debug, qa, staging, and production) and then have the right config deployed as needed when you published. In Windows Azure we had to manage service configurations by hand. If you wanted to change storage account connection strings between dev and prod (and who doesn’t) you had to REMEMBER to do this every time. This always leads to a disaster, embarrassment, and sometimes the donning of a dunce cap in the office.

Now you can have multiple service configuration files, each tagged to you own defined setup. Most people will have at least ‘local’ and ‘cloud’. But I would guess you might have also ‘QA Cloud’.

But, wait, that’s not all! We now have package validation. VS will now politely remind you if you make some of the more common mistakes that will cost you time. For example, if you try to publish a project that has local assemblies that AREN’T marked copylocal, you will be reminded so.

And lastly a few notes I copied straight from the web site because I didn’t think I could add anything by re-interpreting them, and I wouldn’t want mess anything up since they are sort of important. All of this progress doesn’t come at a cost. There is one breaking change:

Caution note Caution

Breaking Change: When you build your Windows Azure application the folder named csx is no longer created by the Version 1.4 (August 2011) release. The files in this folder enabled you to use csrun to run your application using the Windows Azure compute emulator. If you used the contents of this folder with Team Build to run your application locally and test the application before you deployed, you must now set the PackageForDevFabric property to true in your build template.

Important note Important

With the release of the 1.4.1 Refresh of Windows Azure SDK and Windows Azure Tools Version 1.4 (March 2011), Web Deploy was enabled for the Windows Azure Visual Studio tools. When you are developing and testing a Windows Azure application, you can use Web Deploy to publish changes incrementally for your web roles. Web Deploy is not for use in a production environment. For more information about how to use Web Deploy, see Enable Web Deploy When You Publish Your Application.

Tags:

Price drop for Extra-Small Instances, and other changes

Today we announced that as of October 1st, 2011 we will be reducing the price of an extra-small instance by 20%. The other big news is that all instances will not be charged based on ‘small instance’ equivalent hours.

There are some programs where you can receive ‘free’ hours in Windows Azure. Before this announcement, if you were allocated Small instance hours, then you would be billed if you used Extra Small instance hours instead. Many people make this mistake, thinking they will use their hours slower by using fewer resources.

Now, if you use Extra Small instances, they will be converted to small instance hour equivalents at a three to one ratio. In essence, you can now swap hours from size to size. Hours allocations for MSDN have been adjusted, see the chart on the official announcement.

We also made some announcements about how bandwidth is metered and charged. If you use a fair amount of bandwidth, then you will want to understand the changes.

This is on the tails of our announcement that all inbound data bandwidth is free.

Get all of the gory details at http://blogs.msdn.com/b/windowsazure/archive/2011/08/15/announcing-simplified-data-transfer-billing-meters-and-swappable-compute-instancess.aspx.

Tags:

10 Must-Have Tools for Windows Azure

While at TechEd North America this year (held in fabulous Atlanta) I presented a session on tools that you should consider when working with Windows Azure. The recording has been published to the Channel 9 site. Watch away!

What were the tools? Well I considered making you watch the whole video, but I guess I will be nice and list them below.

  1. AzureWatch – azurewatch.net
  2. Cost Calculator – azureroi.cloudapp.net
  3. Clumsy Leaf Blob storage tool - www.clumsyleaf.com/
    1. Cloud Storage Studio – www.cerebrata.com
  4. Cerebrata PowerShell Cmdlets – www.cerebrata.com
  5. Greybox – cost limit your dev account – greybox.codeplex.com
  6. SQL Azure Migration Wizard - sqlazuremw.codeplex.com
  7. Lokad Cloud – .NET O/C mapper - lokadcloud.codeplex.com
  8. Multitenant Web Role - zuretoolkit.codeplex.com/releases/view/62330
  9. Windows Azure Migration Scanner – wams.codeplex.com
  10. Fiddler – www.fiddler2.com

Tags:

Get in the cloud for free!

Windows Azure is Microsoft’s cloud platform, and a lot of developers are excited to try it out. We have started a program called “Windows Azure Pass.” You can register your own Live ID for a Pass, and receive 30 days of free cloud computing. Just enough to dip your toes in the cloud and see how easy it really is. NO credit card required. Do this before your boss comes over and expects you to have answers about ‘this cloud thing.’

Windows AzureJust go to www.WindowsAzurePass.com, and enter the promo code DPCE01. Your Pass will be activated within a few days, and you can start deploying code all day long.

Once you get a pass you can attend a two day boot camp to learn more about Windows Azure, try some hands on labs on your own time, or join us online during office hours to get all of your questions answered.

What exactly do you get for free?

The Windows Azure platform 30 day pass includes the following resources :

Windows Azure Windows Azure

  • 3 Small Compute Instances
  • 3 GB of Storage
  • 250,000 Storage Transactions

SQL Azure SQL Azure

  • Two 1 GB Web Edition Database

App Fabric AppFabric

  • 100,000 Access Control Transactions
  • 2 Bus Service Connections

Data Transfers Data Transfers

  • 3 GB In
  • 3 GB Out

Tags:

Windows Azure announcements at the PDC

Here is a list of PDC announcements made by Bob Muglia during the PDC 2010 Keynote (http://www.mcirosoftpdc.com). Remember that you can watch not only the keynotes and all of the sessions online.

Calendar Year 2010

· Virtual Machine (VM) role: increases flexibility to run software of your choice (stateless server components) on Azure platform. Database server is an example of a stateful server which you can’t run on VM role.

· Full IIS: allows multiple web sites per Web role and makes it possible to configure the ASP.NET pipeline

· Elevated Privileges: This allows you to temporarily elevate your privilege (e.g. installation of a software component that requires admin privileges), install a piece of software and downgrade the privileges in preparation for running the application.

· Remote Desktop: Enables the connection into a running Azure role instance for close inspection of the run time aspects of the application and debugging.

· Windows Azure Virtual Network: a collection of network services starting with Windows Azure Connect (formerly Project Sidney) which allows the establishment of IP Sec tunnel for enabling on-premise/cloud hybrid environments

· Extra Small Windows Azure Instance: provides developers a cost effective development and training option

· Windows Azure Marketplace: online marketplace for you to share, buy and sell building block components, premium data sets, training and services needed to build Windows Azure platform applications

The above features will be available by the end of calendar year 2010.

Calendar Year 2011

· Dynamic Content Caching: this capability allows you to cache application generated information in CDN edge nodes. Previously CDN only was able to pull content from Azure Storage.

· CDN SSL Delivery: allows the CDN delivery of content through TLS/SSL links

· Constructing VM role images in the cloud: in future IT Pros will be able to compose VM images on Azure instead of today’s on-premise composition and uploading to Azure

· Windows Server 2003 and 2008 SP2 in VM Role: more gust OS options

· Improved Java Enablement: Java will be a first-class citizen through a set of performance enhancing improvements to Azure roles, Eclipse tooling and Java client libraries for Windows Azure.

Other

TFS on Windows Azure: this is multi-tenant hosted TFS service which enables the integration of globally deployed development teams into a logical one. This is pretty offers same level of functionality as the on-premise equivalent.

For more details, please visit Windows Azure team blog at http://blogs.msdn.com/b/windowsazure/archive/2010/10/28/you-spoke-we-listened-and-responded.aspx.

Brian Harry’s blog for TFS cloud service: http://blogs.msdn.com/b/bharry/archive/2010/10/28/tfs-on-windows-azure-at-the-pdc.aspx

Tags: