Cyberiafreak

"Fortunate are those who take the first steps.” ― Paulo Coelho

I’m moving to MSDN blog !!

downloadAfter blogging for the last 10+ years here, I decided to move to MSDN blog for greater reach ability.

>>> Please support me with your feedback & comments –https://blogs.msdn.microsoft.com/maheshk/ or http://aka.ms/maheshk

Advertisements

September 23, 2015 Posted by | Azure | Leave a comment

About Azure App Service [ Web Apps, Mobile Apps, API Apps and Logic Apps] — WAML Apps

In the recent build conference, we had few Azure announcements. Yes out of that, “Azure App Service” is something important for dev’s to learn and try out. Had a chance to go through this announcements, so thought of sharing the awesomeness in this post. Azure App service has got 4 features – Web, Mobile, Logic and API as below.

It actually enables us to to easily create Web(web sites) + Mobile + Logic + API Apps and also facilitate us to refer each of them without complex coding or integration pains.

  1. Azure Web Apps (aka Azure Websites – renamed)
  2. Azure Mobile Apps (aka Mobile Services)
  3. Azure Logic Apps (‘workflow’ style apps – get the data from one connector and pass it on to diff connectors)
  4. Azure API Apps (uses Swagger)

40   1   3    4  41   2 5

Azure Web Apps(a.k.a Azure Websites)

+ straightforward web hosting multitenant platform(PaaS), you can build and host websites using .NET, Java, Node.js, PHP, and Python. there is nothing new here, except renamed from Azure WebSites if you are familiar with.

Azure API Apps

+ new apps from MSFT, this is nothing but our HTTP based API projects. These API can be consumed by the application developed using .NET, Java, Node.js, PHP, and Python. It has got the metadata formatted by swagger (opensource frmk)

Azure Mobile Apps

+ SSO, + build engaging iOS, Android and Windows apps.
+ same like other apps – autoscale helps us to meet the sudden demand
+ you can easily integrate with facebook, Twitter, Google etc.

Azure Logic Apps.

+ again new from MSFT, it has the graphical dashboard workflow diagrams which helps us to experiment and implement easily without much of complex integration code. You could automate certain business process or workflow using designer. For out of the box, you may have to find one from market place. Key things include: Workflow, Connectors, Triggers, Actions

useful links: https://tryappservice.azure.com/   &    https://weblogs.asp.net/scottgu/announcing-the-new-azure-app-service

Videos explaining them – http://azure.microsoft.com/en-us/documentation/services/app-service/

//channel9.msdn.com/Events/Build/2015/2-628/player

June 8, 2015 Posted by | Azure, Azure Cloud Service, Azure websites, Biztalk Server- Begineer | , , , | 1 Comment

Azure Cloud Patterns useful for WebSites, WebJobs, WebRole, WorkerRole

While I was going through the Exam: 70-532 preparation material, I hit these following pattern useful to the Availability, Resiliency and Scalability(ASR) of Azure WebSites and Azure Cloud Services. Wanted to table out here for later reference and detailed reading.

Useful for WebSites/WebJobs & WebRole/WorkerRole
■■ Static Content Hosting pattern
■■ Cache-Aside pattern
■■ Health Endpoint Monitoring pattern
■■ Compensating Transaction pattern
■■ Command and Query Responsibility Segregation pattern(CQRS)

Useful for WebJobs and WorkerRole
■■ Competing Consumers pattern
■■ Priority Queue pattern
■■ Queue-Based Load Leveling pattern
■■ Leader Election pattern
■■ Scheduler Agent Supervisor pattern

RESILIENT CLOUD ARCHITECTURES
> Microsoft Patterns & Practices at http://msdn.microsoft.com/en-us/library/dn568099.aspx [Download PDF]
> Designing resilient architectures for the cloud: http://msdn.microsoft.com/library/azure/jj853352.aspx [provides additinal insight, some specific to Cloud]

April 13, 2015 Posted by | Azure | , , | Leave a comment

Various ways to manage Azure resources explored

I just saw scott post on Azure Resource API lib intro. I thought let me think over all possible ways(recollect) today used to manage Azure Resources like VM, Websites, jobs etc from ones desktop.

1) https://portal.azure.com – famously called azure preview portal.

2) https://manage.windowsazure.com – old portal or manage azure portal.

3) Azure PowerShell PowerShell is a friendly tool for infra guys/DevOps/Admin who manages and automate stuffs using PS commandlets, or advanced stuff like DSC -Desired State configuration, puppet,chef etc.

> There are lot of infra tools available in market place.

4) Azure Resource Manager API –  over REST API – fire commands like PUT,GET,POST from your browser. You could also use ARM client here. It is really nice cmd utility with simple commands written by David E

5) Microsoft Azure Cross Platform Command Line (separate installer available for Mac and windows) – azure-xplat-cli

6) From your managed .NET code too – Microsoft Azure Management Libraries 2.0.0

> Scott H explained how one could do this coding here

7) Using Visual Studio Server Explorer – explained here.

P.s: Let me know if you have any comments regarding this and any other ways left out. 

Update:June-2

8) Blob Transfer Utility for Windows Azure Blob Storage  – https://blobtransferutility.codeplex.com/ read via – http://geekswithblogs.net/tmurphy/archive/2015/05/28/azure-utilities-you-should-have-in-your-toolbox.aspx 

April 12, 2015 Posted by | .NET General, Azure, Azure Tools | | 1 Comment

Azure Glossary

A Cloud and Azure Glossary for the Confused
http://www.hanselman.com/blog/ACloudAndAzureGlossaryForTheConfused.aspx

Windows Azure Platform Glossary for IT Pros
http://blogs.technet.com/b/yungchou/archive/2011/04/21/windows-azure-platform-glossary-for-it-pros.aspx

Microsoft Patterns and practices – Azure Glossary
https://msdn.microsoft.com/en-us/library/ff803363.aspx

March 7, 2015 Posted by | Azure | | Leave a comment

Explored Azure Cloud Service auto scaling feature

This weekend I had a chance to try this blog post by Kirk Evans here. Finally decided to try myself and experience the fact. Trust me, its one of the cool feature implemented in Azure. I can’t imagine how many lines of code would execute in the back-end for each of those button click from portal, say increase the core, queue, cpu etc – really hard to imagine or think about it.

#Hats off to Azure team for their flawless implementation. I was able to experience this feature end to end without any bug or hassle. few observation from my point,

Objective:
========
How to automatically scale the worker role based on the number of messages in a queue

+ Kirk has used Azure service bus to validate this functionality. I have also used the same .NET console application to pump the queue message. It took sometime to fix those project reference etc. Finally with Nuget able to resolve the dependencies and publish it successfully.
+ Everything went flawlessly from there. Spent my time mostly in the portal to know the settings and tweaking it. I think we should bring those nuget console to the project context menu for quicker launch. Right now it is buried some where under main menu of Visual Studio.
+ Though auto scaling worked like charm, the dashboard chart is not getting refreshed or reflecting real data, not sure what’s going on there.

Note: Auto scale feature automatically creates or destroys the VM’s based on the rules

+ Source code uploaded here – http://1drv.ms/1M0I0dS && http://1drv.ms/1M0I51d

+ Screenshots here.

This slideshow requires JavaScript.

Happy weekend !

March 1, 2015 Posted by | Azure, Azure Cloud Service | | Leave a comment

Pizza as a Service [IaaS vs PaaS vs SaaS]

I’ve just come across the below Pizza as a Service chart from linkedin. I just added our Azure chart as well below for side by side comparison. I should give full credit to “Albert Barron” who created this pizza chart and article here. Very layman explanation for Cloud service.. Fantastic.

a

aa

February 26, 2015 Posted by | Azure | | Leave a comment

Getting started with Azure RemoteApp

This weekend, I had a chance to explore Azure RemoteApp. In nutshell, this App runs on Windows 2012 R2 over rdp service. We usually RDP to a remote machine but in this case, we are rdp’ing to a particular published apps without any visible difference like window border or floating bar etc. Trust me, end user won’t be able to identify whether they are on a remote app or local app. I am really impressed with the design thought.

We can connect to a remotely published apps from a azure portal and then use it by installaing a small exe at client machine for logon and app selection. As of now, It comes with few default Office applications(apps) but in case of hybrid option you can customize by uploading your VHD’s as per our wish.

Since this supports resume and continue kind of state management, you could logoff from your office and then continue from home using any device from the place where you’ve left.

+ It delivers the functionality of the on-premises Microsoft RemoteApp, backed by Remote Desktop Services

+ Helps you provide secure, remote access to applications from many different user devices. Available for Windows 8.1, Windows 8, Windows 7 Service Pack 1, iOS, Mac OS X, Windows RT, Android, devices, and Windows Phone. It also support the Windows 10 preview.

> To achieve this, you need to install a clickonce installable RemoteAppClient from here – https://www.remoteapp.windowsazure.com/ClientDownload/Windows.aspx

> Azure documentation: http://azure.microsoft.com/en-us/documentation/services/remoteapp/

> Video – http://azure.microsoft.com/en-us/documentation/videos/azure-remoteapp-hybrid-deployment-overview/

> Azure RemoteApp Cloud Deployment overview

http://azure.microsoft.com/en-us/documentation/videos/azure-remoteapp-cloud-deployment-overview/

> Understanding Azure Remote App

http://channel9.msdn.com/Shows/Edge/Azure-Remote-App-Intro-With-Eric-Orman

This slideshow requires JavaScript.

February 16, 2015 Posted by | Azure | | Leave a comment

Interesting Azure links

Microsoft Azure infographics
http://azure.microsoft.com/en-us/documentation/infographics/

Microsoft Architecture Blueprints
https://msdn.microsoft.com/dn630664#fbid=rVymR_3WSRo

Top architecture trends and perspectives
https://msdn.microsoft.com/en-us/dn800997

Cloud application development
https://msdn.microsoft.com/cloud-app-development-msdn

Azure Symbol/Icon set
http://azure.microsoft.com/en-us/documentation/articles/architecture-overview/#azure-symbolicon-set .

Design patterns
http://azure.microsoft.com/en-us/documentation/articles/architecture-overview/#design-patterns 

February 8, 2015 Posted by | Azure | Leave a comment

Microsoft Azure ebooks download(free from MVA)

Azure-HDInsight-coverBuilding_Cloud_Apps_with_Microsoft_AzureFundamentals_of_Azure_107x130MVA-Intro-Win-AzureMVA-Rethinking-Enterprise

Download@ http://www.microsoftvirtualacademy.com/ebooks#azure

February 4, 2015 Posted by | Azure | | Leave a comment

About -Azure Storage Explorer utility

I got this tools link while searching for Azure Storage free tools – explorer. Azure Storage Explorer is simply a nice tool to work and explore. It is free, elegant and clutter free to use. It just fulfill our expectation. #Good job by david

Download it from here – http://azurestorageexplorer.codeplex.com/

This slideshow requires JavaScript.

February 2, 2015 Posted by | Azure, Azure Storage, Azure Tools | | Leave a comment

Error while deleting Azure storage, how to safe delete

While working with Azure storage, I ran into a tricky problem where I could not able to delete the storage created implicitly during VM creation.

Though I deleted all my VM’s from my account but these underlying storage were listed under my account for some reason. I tried hard to get rid of this by going through all the dependencies but no luck.

ee

I tried deleting using Azure Storage Explorer but same problem persisted.

de

Resolution: You have to delete VHD files before deleting storage. When Virtual Machine is removed, VHD file exists there for some reason – may be by design think so. You can delete it from Virtual Machines -> Disks and then try deleting the storage.

errr

February 2, 2015 Posted by | Azure | | Leave a comment

Microsoft Azure – Website hosting options explored..

Microsoft Azure is growing faster than ever. Being developer for all these years, I have not considered Azure is for Developer. Trust me, you will be bowled after seeing whole list of Azure offerings.
In future, there is no surprise that every developer would be touching atleast one of their offerings at some point in their dev time. If you are Microsoft. NET dev, then there is high chance that you would be asked to consider Azure offerings in your proposal/delivery. This year I am going to concentrate on Microsoft Azure and its bread crumb of technologies from Developer perspective.

Let start with simple web applications hosting, today you can do it in 3 ways using Azure services.

1) Using Azure VM – host under dedicated IIS(VM) – PaaS
> on par with your on-Premises deployments
> you own the VM(your box), so you need to take care of OS updates
> you manage the hostnames inside IIS (setup the host header within IIS)
> pretty much you can install/manage as like your on-premise edition
2) Using Cloud Services- host using Web Role(WR) -IaaS
> you own only a web-role, could service save us from OS updates and other headaches.
> You own the application, you could RDP’s to this VM and perform as you do in your on-premise
> one thing to remember – these are stateless VM. Every start and stop you get a different VM
> you own the code and your application updates – rest is taken care by MS.
> well suited for multitier application – can be scaled independetly (web and work roles)
3) Host it as Azure Website(AWs)
> easiest way to host the websites
> don’t have to worry about OS updates
> all your application updates are pushed through your tfs/dropbox.
> one click swap to production vs staging slots and other cool features
> web jobs adds processing power to our websites by adding worker role to your existing cloud services
> well suited for hosting sites like – wordpress, joomla, drupal- .NET, Java, PHP, Node.js, Python
> built-in Autoscale and load balancing
> high availability and auto-patching
> continous deployment with Git, TFS, GitHub
> SQL Db, Mysql, DocumentDB, Search, MongoDB

Let me start explore from db side in our next post 🙂

February 1, 2015 Posted by | Azure | , | Leave a comment

   

%d bloggers like this: