Giter Site home page Giter Site logo

frasermolyneux-archive / poc-multiregion-app-terraform Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 1.14 MB

This repository contains a proof of concept for a multi-region deployment of an .NET 7 Web Application using Azure Front Door, Azure Web Application Firewall and Azure App Services.

License: GNU General Public License v3.0

HCL 60.65% HTML 19.90% C# 11.92% CSS 6.34% JavaScript 1.18%
app-services azure dotnet-7 frontdoor github-actions multi-region terraform waf

poc-multiregion-app-terraform's Introduction

POC - Azure Front Door + WAF + App Services + Multi-region

This repository contains a proof of concept for a multi-region deployment of an .NET 7 Web Application using Azure Front Door, Azure Web Application Firewall and Azure App Services.

This is not a full production ready solution, but it can be used as a starting point for your own solution.


Architecture

architecture

  • DNS Zone is an external resource referenced in this solution.
  • Front Door and the WAF Policy are Global services; their metadata is deployed to the primary regions resource group.
  • Log Analytics Workspace is a regional service; to allow consolidation of logs both regions use it.
  • Not shown; all the resources have diagnostic logging configured to the primary regions Log Analytics Workspace.
  • Not shown; the deployed app services are configured against the app insights in their respective regions which are backed by the Log Analytics Workspace in the primary region.
  • App Services have been restricted to only allow traffic from Front Door using service tag and header-check.
  • The WAF is deployed in detection mode, so no traffic is blocked. This is to support the WAF Scenario.

Further Considerations

Naturally, this is a limited architecture for the POC with many additional considerations required. Here are a few as a starting point:

  • Traffic is split evenly between the regions, no scaling or failover is configured. This is a simple POC, but in a production environment you would want to consider how to scale and failover traffic.

  • The GitHub Actions workflow contains no validation or testing steps.


POC Scenarios

  • WAF Scenario - After deploying the solution this scenario will show how to configure the WAF to block traffic.

poc-multiregion-app-terraform's People

Contributors

frasermolyneux 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.