Archive for Uncategorized

31 Jan 2013

Azure Tip: How are Web Sites priced?

No Comments Uncategorized

Azure WebsitesOne of the questions that comes up often related to Azure Websites is: How are Web Sites priced?

To understand how they are priced you have to understand what a Web Site is to Azure. To Azure a Web Site, in its most simple definition, is: A single app pool tied to a single site running in IIS on a virtual machine.

Now that we understand this let’s look at the pricing models. Their are three tiers:

  • Free – You share a virtual machine with many other customers and you have to use as domain name supplied by Azure. Your web sites may or may not be on the same virtual machine with the others.
  • Shared – You share a virtual machine with a few other customers and can use your own domain name. Your web sites may or may not be on the same virtual machine with the others.
  • Reserved – You have a reserved virtual machine that is only for your use and you can use your own domain name. Your web sites will be on the same virtual machine with you others in the same region.

As you know now, the virtual machines and how they are shared is the main deciding factor in what tier you choose and the price you pay.  But lets break it down a little, because the pricing model changes on the tier you choose.

Before we get into the break down of the tiers and how their pricing differs it is good to understand one thing, every tier we talk about is priced per region. As of writing this post there are 5 tiers.

  • West US
  • East US
  • East Asia
  • West Europe
  • North Europe

Free

You can run up to 10 Web Sites per sub-region for free in a multi-tenant environment.  What this means is that each data-center you can run up to 10 web sites for free.

Shared

You can run your production site in a multi-tenant environment with support for custom domain names.  Notice that unlike the free tier that there was no mention of how many web sites you were allowed to have per region.  There is a very good reason for this, that is because you are billed out per website that you setup.  As of writing this the price is $9.36 per website per region per month.

Reserved

You can load balance up to 100 Web Sites across instances dedicated to your apps with support for custom domain names.  Notice that like the free tier there is a limit on the number of web sites you can run, it is 10 times more than the free tier, but there is still a limit.  You may be asking why the difference from the Shared tier, well there is a very good reason for this and it relates back to how the Reserved tier differs from Free and Shared.  In the Reserved tier you are billed per virtual machine instance per region per month.  And Microsoft has determined you shouldn’t have more than 100 web sites per virtual machine.

Now that you know you pay per virtual machine instance per region per month, you have options as to the speed and amount of RAM that your virtual machine has similar to the options the rest of Azure enjoys.  Here is the break down:

  • Small VM (1.6GHz CPU, 1.75 GB RAM) – $57.60 per region per instance per month
  • Medium VM (2 x 1.6GHz CPU, 3.5 GB RAM) – $115.20 per region per instance per month
  • Large VM (4 x 1.6GHz CPU, 7 GB RAM) – $230.40 per region per instance per month

The thing to know and understand is that when you switch the tier from Shared to Reserved or vice versa all your websites are moved at once to the other tier.  Because of how they are priced and the complexity of the different tiers this is the current approach that Microsoft is using.  So in other words, per region you can only have one tier of pricing.  

Conclusion

Unlike other services in Azure, the Web Sites is a rather complex pricing model because of the multiple tiers, and at a certain level of websites or usage it may make sense to move from a Shared tier to a Reserved tier.  So if you have more than 6 web sites or you are blowing through your usage limits it may make sense for you to move up to the reserved tier to keep your web site running and to save money.


Note: Azure is really shaping up to be a fantastic and innovative platform, so I plan on making Azure Tips a weekly feature of my blog, so stay tuned for some more tips in the near future.

24 Jan 2013

Azure Tip: My Management Certificate Is Public What Do I Do?

1 Comment Uncategorized

Yesterday @writeameer posted on twitter a search query, using the new GitHub Code Search, showing that there are a whole lot of users on GitHub that have exposed their management certificates to the public.  If you are not aware a management certificate gives you access to administer your Azure account using the Windows Azure SDK tools.  Which among other things allows you to publish, change, delete, or basically cause total havoc if it fell in to the wrong hands in your Azure account.

 

So what can be done about this?

Nothing can really be done about the old certificate being out in the public, once it is out there assume somebody has a copy of it. Luckily it is pretty easy to remove these certificates and generate new ones. Here is how you do it:

Deleting A Certificate

  1. Go to: https://manage.windowsazure.com
  2. Log in using your account credentails.
  3. Go to the settings tab at the bottom of the left hand side menu.
  4. Click “Management Certificates” right below the word “Settings”.
  5. Select a certificate, by clicking on it.
  6. Click the delete button in the bottom center of the screen.
  7. Repeat 5 and 6 until all certificates are deleted.
  8. You can either upload a new certificate, or just wait, a certificate is usually automatically created when you publish your certain types of projects like Web Roles.

Create New Certificates


Note: Azure is really shaping up to be a fantastic and innovative platform, so I plan on making Azure Tips a weekly feature of my blog, so stay tuned for some more tips in the near future.

24 Oct 2012

Hidden iPhone 5 Upgrade Fees And Bad AT&T Math

3 Comments Uncategorized

This is a break from my normal postings about technology, but I just needed to rant on this a little. Because as a programmer I understand that bad math happens, but this seems deliberate on AT&T’s part.

Let me start out by explaining, I like many other Americans updated to the iPhone 5 on launch day.  I found a lot of the expected fees, such as the “One Time Charge for Upgrade” fee of $36.00, which still baffles me because I have to essentially pay for the privileged to being locked in for another 2 years, but I digress.

The fee that I didn’t expect to find, was one related to AT&T’s bad math, which seems to work out in the favor or AT&T.

If you look closely at this plan change, they changed the old “DataPro 2GB for iPhone” data plan costing $25.00 a month for the new “DataPro 2GB for iPhone on 4G LTE with VVM” data plan costing $25.00 a month.  And some how this change worked out in favor of AT&T to the tune of $3.33 for essentially what should have been an even swap.

So when I noticed this, I called AT&T and they were quick to turn around and give me a good faith credit, no fighting, no haggling, and no bartering required.  So they must know something is going on with their billing system, to part with their money so easily.  Personally I think AT&T should retroactively credit all customers this bogus fee back, instead of forcing people to call them if they actually notice the charge on their bill.  And obviously fix their billing system, because something is obviously wrong.

By the way this isn’t a rare incident.  This also happened to another account of mine that I also upgraded to an iPhone 5.

In this case the change worked out to a $6.00 fee that goes into AT&T’s pockets.

I encourage all of you to look your own bill, and make sure you weren’t hit by the AT&T bad math fee.