Azure OnBoarding – Jump Start to Optimize solution on Azure

Recently, I have come across ISVs having phenomenally exciting products and they would like to optimize their solution for cloud. However, just like any other new technology, for any novice, cloud is an ocean which is having no single starting point and one can be lost easily. So to curb this learning curve, I have consolidated the azure documentation references.

The intent of this article is to provide single starting point to get you quickly started on Azure and lead through optimizing the solution for Cloud. To Start with, I would like to highlight the major categories of cloud services:

  • IaaS (Infrastructure-as-a-Service): Typically, virtual machine falls in this category in which you take care of everything starting from operating system. In this category, cloud provider is only responsible for Hardware, power & virtualization. It is best suited for the simplest form of migration to cloud and we termed it as Lift-&-Shift.
  • PaaS (Platform-as-a-Service): Most optimized services in the cloud in which the platform e.g. IIS, Tomcat, SQL Server etc. will be responsibility of the cloud provider. Each category of PaaS Service you select will have pre-defined performance and advanced monitoring tools will be bundled with the service. This is step further from Lift-&-Shift and provide optimization onto cloud.
  • SaaS (Software-as-a-Service): This is a prepackaged service where the application’s responsibility will be of the cloud provider e.g. Azure Active Directory etc.

Generally, a cloud optimized application uses two or more above mentioned categories of the cloud services. To start, signup with the free trial which will provide you $200 worth of credit for your POC, refer



Create Virtual Machine: Once the account is setup then setup virtual machine.

For Windows & SQL Server workload: 

Step-1: Configure virtual network, refer to
Step-2: Configure Virtual Machine, refer, select Virtual Network & Resource Group, created in above step. (Select windows for application VM & select SQL Server for database VM)
Step-3 (Optional): This step is recommended for disk intensive workload e.g. database etc. Attach premium disk to virtual machine, refer
Step-4: To manage virtual machine's availability, refer

For Linux workload: 

Step-1: Configure virtual network, refer
Step-2: Configure Linux Virtual Machine, refer Please make sure you select Linux flavor you need. Choose virtual network & Resource group created in step-1.
Step-3 (Optional): This step is recommended for disk intensive workload e.g. database etc. Attach premium disk to virtual machine, refer
Step-4: To manage virtual machine's availability, refer


Secure your deployment using Azure VPN Gateway: Because you have deployed virtual machine onto VPN, hence you need not to expose any sensitive ports (e.g. RDP, SSH, SQL ports etc.) to the internet. There are two types of VPN you can configure, site-to-site or point-to-site. Refer, for overview of virtual Network Gateway

For Configuring Site-to-Site VPN:

Step-1: Configure site to site VPN, refer

For Configuring Point-to-Site VPN:

Step-1: Configure point to site VPN, refer


Balance the load with multiple application servers: Once you configure multiple servers of the same workload then you can balance the load using load balancer, there are three kinds of load balancer SKU exists in Azure: Azure Load Balancer, Azure Traffic Manager & Azure application gateway, refer, for comparison and selecting the right one.

Configure Azure Load Balancer: Refer for overview

Step-1: Configure basic load balancer,

Configure advanced Load Balancer (Application Gateway): For overview, refer

Step-1: Configure Azure Application Gateway, refer
Step-2 (Optional): Offload SSL on Application Gateway, refer
Step-3 (Optional): Configure Web Application Firewall to protect your application with most common web attacks e.g. Cross Site Scripting, SQL Injection etc.

Configure Traffic Manager: For overview, refer

Step-1: Configure Azure Traffic Manager, refer
Step-2: Configure End Points, refer


Optimize application with PaaS

  • Azure WebApp for hosting Web Application:
    1. Click here for overview
    2. Continuous deployment from GIT, dropbox, FTP, TFS, VSO etc. refer here
    3. Escalate from staging slot to production slot without any downtime, refer here
    4. Scale out without downtime, refer here
    5. Network architecture, refer here
    6. Understand App Service, refer here


  • Azure APIApp for REST based API:
    • Click here for overview
    • Click here to get started with API App


  • Redis Cache for session offloading or Cache, refer here


  • SQL Azure Database:
    1. Samples, refer here
    2. Comparison with SQL on VM, refer here
    3. Design considerations & guidelines, refer here
    4. Enable Auditing, refer here
    5. Mask Private information, refer here
    6. Security with Always-Encrypted, refer here


  • Azure Search:
    1. Click here for overview (2 mins video)
    2. Get started, refer here (samples, how to documents etc.)
    3. Search samples, refer here


  • Azure Active Directory:
    1. Overview , click here
    2. SSO with minimum code, click here
    3. Multi-factor Authentication, click here


  • Add training/media content in your application, refer here

Advanced Services:

DocumentDB: A NoSQL database with Guaranteed Read & Write performance.

  1. Geo-Replication on set of collection or instance. The answer is the instance. Here is the architecture of geo-distribution. It guarantees latency, consistency, throughput & availability, also we have >10 fault domains which ensures guarantees for prevention on “data loss”.
    • Here is guidance for DocumentDB multi-region development.
    • Here is the reference architecture for multi-region deployment.
  2. Automated Backup & restore strategy, refer
  3. To do versioning of documents you can use track changes with change feed, refer here.
  4. Refer Request Unit calculator for sizing, here & also consider these performance levels against the pricing tiers,  (this article will also help estimating throughput needs with an example estimation)
  5. Migrating from MongoDB to DocumentDB without changing any code. It is called MongoDB protocol support Refer here
  6. There are two ways to migrate the documents:
    • One is through MongoDB API, refer here
    • Second through Data Factory, refer here
  7. Security & Permission structure in DocumentDB, refer here
    • DocumentDB Firewall support, refer here
  8. Multi-region failover, refer here
  9. Social Application using DocumentDB, refer here


        Azure Machine Learning:

        1. Azure ML (Help in Algorithms):
        2. Azure ML Modules:
        3. R Language Modules:
        4. Python Modules:
        5. Retrain Models:
        6. Analyze Customer Churn example algorithm:
        7. Ready to use application examples:
        8. Market place for ML:
        9. Machine Learning Studio:


        Azure HD Insight (Hadoop Cluster):

        1. Apache Storm:
        2. Apache spark:
        3. R Server:


        Azure SQL Datawarehouse as a service:

        1. Migrate with utility as simple as four clicks:
        2. Scale as much as you want:
        3. Pause it whenever not required to save costs:


        Stream Analytics: Analyze data while it is in-flight

        1. Overview of stream analytics, refer
        2. Sample of IoT solution & Stream Analytics, refer
        3. Configure input from IotHub, refer
        4. Configure output to DocumentDB, refer


        Azure Data Factory: To copy data from on-premise to Cloud:

        1. Overview, refer
        2. Security data movement to Azure, refer
        3. Step by Step to on-premise & Azure, refer
        4. Using Stored Proc, refer
        5. Transformation of data, refer
        6. Pricing of data factory, refer


        Analyzing data using Azure Data Lake Analytics: To perform aggregation of data:

        1. Refer here for overview
        2. Refer here for step-by-step.
        3. Refer here for pricing


        Completing analytics story through PowerBI Dashboard:

        1. Refer here for overview.
        2. Refer here to get started
        3. Refer here to connect PowerBI with analysis services.


        To calculate the Bill of Material (BOM), please refer here for Azure pricing calculator.

        Please note that this just to get you started and for full information please navigate here then refer to individual service's documentation.

        Happy optimizing!

        Comments (1)

        Skip to main content