Windows Azure Scale UP – Scale OUT

Couple of days ago I had to explain a colleague at the customer side some things about Windows Azure. And of course Scalability comes around the corner. I saw myself drawing all kinds of pictures to make it clear. So I made a nice presentation, here are a few bits of it. But first some terminology. On the Windows Azure platform we know 5 different sizes of Virtual Machines. That is the SCALE UP. If you change the number of instances in ServiceConfiguration.csdfg from the default 1 to more, then we speak about SCALE OUT. Of course there are combination … Continue reading Windows Azure Scale UP – Scale OUT

SQL Azure Custom Logging to Windows Azure Table storage

At a Windows Azure customer of ours they keep track of changes on the tables in the SQL Azure database. This is done by a trigger, the trigger inserts the change in a table. I can not think of another solution without losing data or changes. But the downside of this, the logging space in SQL Azure costs a lot of money. This logging is only used for an analyses of a problem and the read frequency is rather low. And btw the data is not relational. So the space for this logging data in the SQL Azure database is … Continue reading SQL Azure Custom Logging to Windows Azure Table storage

Update Record in Windows Azure Table storage

As told in my previous Blogpost I kept a list of the Blob name and the LastModifiedUtc. To make this solution usable for more then one instances I stored this list in a Windows Azure storage table. So if I copied a Blob with a changed LastModifiedUtc, I had to update my list too. Adding a new record to the Table storage was rather simple. this.context.AddObject( BlobCheckListContext.BlobCheckListTable, newItem ); this.context.SaveChanges(); But for updating you need to do something little extra. Btw this also goes for a deletion. this.context.AttachTo( BlobCheckListContext.BlobCheckListTable, updatedItem, “*” ); this.context.UpdateObject(updatedItem); this.context.SaveChangesWithRetries( SaveChangesOptions.ReplaceOnUpdate ); So before updating of … Continue reading Update Record in Windows Azure Table storage

Windows Azure Blob storage Modified date

I made a solution for a customer where I copied blobs from Windows Azure Blobstorage to an different location on Windows Azure Blobstorage. But to be a bit efficient I was keeping a list of blobs I have copied already. This list contains a Last modified date. So I the Last modified date was not changed I did not copy etc. Smart and at first it looked rater simple. Take a Blob look at the property LastModifiedUtc and voila. blockBlob.Properties.LastModifiedUtc So with a blob I look in the list compare the LastModifiedUtc of the Blob with the one in the … Continue reading Windows Azure Blob storage Modified date

Windows Azure Configurations

There are different ways on the Windows Azure platform to make and set configurations. For the WebRole we have the web.config and for the WorkerRole we have the app.config. These config files are not new and we are used to use these. The advantage of this is, porting our current applications to the Windows Azure platform do not need many adjustments. Disadvantage these settings are only changeable with a new deploy of the application. In principal with RDP to the Role, you are able to change the settings in the web of app.config . But these changes will disappear during … Continue reading Windows Azure Configurations

New Windows Azure Management Portal

Yes, finally. There has been an update on the Windows Azure Management portal. No new functionality was added (however I have some whishes left), but the UX of the Management portal is more intuitive. Before when you accidently did a Right Mouse click, you got the vague message: it is a Silverlight site. Yeah so what . Luckily of course this means Silverlight is far from dead (but that is a different discussion), but the vague message was not very functional. But with the update there are serious context serious action menu when doing a Right Mouse click on the … Continue reading New Windows Azure Management Portal

Window Azure Co-admin and SQL Azure

At different customer sites I am not the administrator of the Windows Azure subscription. But I am one of the co-admin(‘s). My strategy is to make a live id on the e-mail address I have with that customer. So when I leave the assignment I can give back my co-admin account. The customer is sure, I do not  change the Windows Azure settings. Of course they trust me, but better save than sorry. The only disadvantage was, as a co-admin you were not able to manage a SQL Azure database. You weren’t able to create Databases, change firewall rules etc. … Continue reading Window Azure Co-admin and SQL Azure