Code Monkey home page Code Monkey logo

path-based-webapp's Introduction

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/

path-based-webapp's People

Contributors

codexponent avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.