Skip to content

Template for creating a Hybrid Network Architecture with Azure Firewall

Notifications You must be signed in to change notification settings

DarrenMayes/VirtualDataCentre

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 

Repository files navigation

Virtual Datacentre

Deploy to Azure

Welcome to the Hybrid Network Architecture Azure Resource Manager template repository. This GitHub repo has been created to help promote the Security Architecture principles of "Secure By Design", "Compartmentalisation" and "Defense in Depth", whilst embracing the concept of "Infrastructure-as-Code" for automation, elasticity and repeatable deployment. It aims to achieve this by adopting a tailored Zero Trust Network Architecture pattern into an Azure Resource Manager Template which, at the click of a button can be deployed within a target subscription for Evaluation, Testing and eventually the Hosting of IaaS and PaaS Services.

The template has been designed to benefit from the Microsoft recommend practice of deploying a Shared Services Virtual Network [HUB] which is peered to a Production or Test Virtual Network [SPOKE]. The Shared Services VNET contains all common Network Security components, needed for traffic analysis, inspection, management and response, such as a Centralised Layer 7 Firewall, Application Gateway, Web Application Firewall and Log Management. The design uses a multi-tiered network zone architecture to Compartmentalise services across functional boundaries, each of which are protected by a Network Security Group firewall at the Subnet Level to ensure Defense in Depth.

The template is customisable and can be used to build and generate similar network patterns within an Azure Subscription and of course can be expanded to support your unique use cases. Naming conventions and IP schemas can be changed to better reflect your context and as such are not dependancies for success.

Please note that use of this template remains at the risk of the subscriber.

Paramaters

Name Value Description
'saName' Standard_LRS Name of the Storage Account used for Diagnostic Archive
'saType' Standard_LRS Used to define the Storage Account Type
'sharedServicesHUB' VNET-TP-EU-SS SHARED SERVICES HUB VIRTUAL NETWORK
'testSPOKE ' VNET-TP-EU-TST PRODUCTION SPOKE VIRTUAL NETWORK
'azfirewallName' AZFW-TP-EU-SS Name of the Azure Firewall deployed within SHARED SERVICES HUB
'azfwSubnetAddressPrefix' 172.16.254.0/26 Private Subnet Used by the Azure Firewall
'noPublicIPAddresses' 1 Count of Public IP Addressess used by Azure Firewall
'publicIPNamePrefix' PIP-TP-EU-AZFW Name of the Public IP Addressess used by Azure Firewall
'availabilityZones' "1", "2", "3" Used to mitigate risk of Azure Datacenter Failure
'aZFWRouteTables' RT-TP-EU-AZFW Route Table for Internet via Azure Firewall
'azUDRINT' UDR-TP-EU-INT Internet 0.0.0.0/0 Route via Azure Firewall
'azUDRSS' UDR-TP-EU-SS HUB 172.16.0.0/16 Route via Azure Firewall
'azUDRSPOKE' UDR-TP-EU-SPOKE SPOKE 10.102.0.0/16 Route via Azure Firewall
'nsgMGMTSS' NSG-MGMT-EU-SS Name of Shared Services Management Subnet NSG
'nsgSPWEB' NSG-WEB-EU-TST Name of TEST Web Subnet NSG
'nsgSPAPP' NSG-APP-EU-TST Name of TEST App Subnet NSG
'nsgSPDB' NSG-DB-EU-TST Name of TEST DB Subnet NSG
'nsgSPID' NSG-ID-EU-TST Name of TEST ID Subnet NSG
'applicationGatewayName' AGW-TP-EU-TS Name of TEST Application Gateway with WAF
'applicationGatewaySize' WAF_Medium Size of TEST Application Gateway with WAF
'applicationGatewayTier' WAF Tier of the Application Gateway
'applicationGatewayInstanceCount' 1 Instance volume of the Application Gateway
'frontendIPAddresses' 10.102.1.4 Private IP of the Application Gateway
'frontendPort' 80 Frontend Port
'backendPort' 80 Backend Port
'wafEnabled' True The desired state of WAF functionality
'wafMode' Prevention Default operational mode of the WAF
'wafRuleSetType' OWASP Default state of the WAF
'wafRuleSetVersion' 3.0 WAF Ruleset Engine and Signatures
'backendIPAddresses' 10.102.2.4, 10.102.2.5 Backend IP Address Pool
'cookieBasedAffinity' Disabled Default state of the WAF

Change Management

  • Update template to include Azure Firewall for Spoke Virtual Network and introduce base rules
  • Introduce VNET Peering between Shared Services HUB and Production Spoke Virtual Networks
  • Create UDR and associate with Production Spoke Subnets to allow inspection in Shared Services HUB
  • Create and associate Network Security Group to filter traffic at subnet level of Spoke Virtual Network
  • Include Service Endpoints for Microsoft.Storage to integrate sensitive PaaS with VNET
  • Enable Diagnostic Logging for Azure Firewall and Application Gateway and integrate with Existing Workspace
  • Modify the template to include Virtual Network Gateway in readiness for S2S VPN
  • Incorporate an Application Gateway with Web Application Firewall Functionality closest to Web Subnet
  • Clean-Up Security Configuration i.e. NSG, Application Gateway, UDR etc...
  • Create Test VM to validate approved traffic flows from Shared Services HUB to Production Spoke
  • Deploy in TEST and Production

About

Template for creating a Hybrid Network Architecture with Azure Firewall

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published