codexponent / path-based-webapp

๐Ÿ—บ๏ธ๐ŸŒ Geo Redundant Path-Based Routing

Home Page:http://project5.sulabhshrestha.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Path Based Webapp

Geo Redundant Path Based Routing

Motivation:

We may have built an application but never thought about distributing it at scale, let alone globally. So, in this post, I will be showing you how we can leverage Azure Services like Azure Traffic Manager, Azure Load Balancer, Application gateway, and Azure Front Door to scale our distribution to people around the globe.

Architecture:

architecture

Prerequisites:

  1. Azure Virtual Machine
  2. Azure Virtual Machine Scale Sets
  3. Azure Load Balancer
  4. Azure Traffic Manager
  5. Azure Application Gateway
  6. Azure Front Door

Replication Steps:

As the VMSS template couldn't be exporeted, there is no ARM template for it. I have written all the replication steps on my blog post

Useful Commands:

  • Command for VM
#!/bin/bash
sudo apt update -y
sudo apt install apache2 -y
  • Command for VMSS
#!/bin/bash
sudo apt update -y
sudo apt install apache2 -y
echo "<html><h2>This is images farmed page</h2></html>" > images.html
sudo cp images.html /var/www/html/

About

๐Ÿ—บ๏ธ๐ŸŒ Geo Redundant Path-Based Routing

http://project5.sulabhshrestha.com/

License:MIT License


Languages

Language:HTML 100.0%