Microsoft Azure – Tips

  1. Web Apps
    1. All deployment slots for the same Web App are hosted within the same Virtual Machine (VM). This is especially important to remember when stress testing a non-production deployment slot prior to swapping it into production. A significant amount of load on a non-production deployment slot can affect the performance of the live, production Web App.
  2. Storage
    1. Any updates made to a blob are atomic. While an update is in progress, requests to the blob URL will always return the previously committed version of the blob until the update is complete.
  3. Replication Options in Azure Storage: The data in your Microsoft Azure storage account is always replicated to ensure durability and high availability. When you create a storage account, you have four replication options.

    Replication Option

    Number of copies

    Strategy

    Locally redundant storage (LRS) Maintains three copies of your data. Data is replicated three time within a single facility in a single region.
    Zone-redundant storage (ZRS) Maintains three copies of your data. Data is replicated three times across two to three facilities, either within a single region or across two regions.
    Geo-redundant storage (GRS) Maintains six copies of your data. Data is replicated three times within the primary region, and is also replicated three times in a secondary region hundreds of miles away from the primary region.
    Read access geo-redundant storage (RA-GRS) (Default) Maintains six copies of your data. Data is replicated to a secondary geographic location, and also provides read access to your data in the secondary location.
  4. Route Tables – If you would like to control that traffic that goes out from Azure Virtual Machines, then we would need to use User Defined Routes (UDR)