Giter Site home page Giter Site logo

azure365pro / azure-hub-spoke-terraform Goto Github PK

View Code? Open in Web Editor NEW
14.0 1.0 16.0 116 KB

Deployment of Infrastructure as Code with Azure Hub and Spoke model using reusable Terraform Modules. Deploy and Manage using Azure DevOps or Deploy and Destroy

Home Page: https://www.azure365pro.com/azure-hub-and-spoke-network-using-reusable-terraform-modules/

HCL 100.00%

azure-hub-spoke-terraform's Introduction

Azure Hub and Spoke Network using reusable Terraform modules - Azure365Pro.com

Blog Reference for Azure Hub and Spoke - https://www.azure365pro.com/azure-hub-and-spoke-network-using-reusable-terraform-modules/

Blog Reference for Apache Kafka on HDInsight - https://www.azure365pro.com/deploy-apache-kafka-in-azure-hdinsight-using-reusable-terraform-modules/

Blog Reference for Azure App Service and MySQL Private Access - https://www.azure365pro.com/deploy-azure-app-service-and-mysql-with-private-dns-zone-using-reusable-terraform-modules/

Blog Reference for AWS Architecture Implementation - https://www.azure365pro.com/aws-architecture-implementation-using-terraform/

Support - [email protected]

Introduction

We will deploy the resources below using Terraform reusable modules utilizing the Azure landing zone concept, part of the Cloud Adoption Framework (CAF). In this setup, we are talking about only infra resources; if you are new to terraform, the same concept has been explained using the Azure Portal; I have spoken about Azure Management Groups and Subscription Planning in this link - Azure Management Groups and Subscriptions Design

Azure landing zone design that accounts for scale, security governance, networking, and identity, which enables seamless application migration, modernization, and innovation at the enterprise scale in Azure. This approach considers all platform resources like infrastructure (Iaas) or platform as a service.

Benefits of Azure Landing Zones -

  • Good Governance
  • Like you can place a policy in the overall environment that no internet-exposing storage accounts can be provisioned

  • Security
  • Improved Security controls, Network segmentation, Identity management, Service Principals, Managed Identities

  • Scalability
  • Multi Datacenter or Improving the design with Virtual WAN should be seamless

  • Cost Savings
  • Segregated billing with subscriptions - Overall Control or like can apply Hybrid benefit using policies

    We will be deploying the below resources using Terraform reusable modules.

    ✅ Virtual Networks (Hub - 10.50.0.0/16 - Spoke - 10.51.0.0/16)
    ✅ VPN Gateway (10.50.1.0/24)  - Not Provisioned by Default
    ✅ Azure Firewall (10.50.2.0/24)
    ✅ Application Gateway (10.50.3.0/24) - Not Provisioned by Default
    ✅ Azure Bastion (10.50.4.0/24)
    ✅ Jump Box (Windows 11) (10.50.5.0/24)
    ✅ Windows Server 2019 Web Server (10.51.1.0/24)
    ✅ Linux RHEL Server (10.51.2.0/24)
    ✅ Public IP Addresses
    ✅ Recovery Services Vault
    ✅ Azure Key Vault - Not Provisioned by Default
    ✅ Route Tables
    ✅ Azure Firewall Policies
    ✅ Apache Kafka on HDInsight - Not Provisioned by Default

    Modules are convenient to place into folders and reuse resource configurations with Terraform for multiple deployments. Also, changing / upgrading specific resource configurations becomes easier

    alt text

    Getting Started

    1. Terraform latest version is installed

    alt text

    1. Az cli is installed / az login is completed (az login)

    alt text

    1. git is installed to clone repo (git clone)

    alt text

    Deploy using Terraform

    terraform init
    Initialize prepares the working directory so Terraform can run the configuration.

    alt text

    terraform plan
    lets you preview any changes before you apply them

    alt text

    terraform apply
    Executes the changes defined by your Terraform configuration to create, update, or destroy resources.

    alt text

    Blog Reference for Azure Hub and Spoke - https://www.azure365pro.com/azure-hub-and-spoke-network-using-reusable-terraform-modules/

    Blog Reference for Apache Kafka on HDInsight - https://www.azure365pro.com/deploy-apache-kafka-in-azure-hdinsight-using-reusable-terraform-modules/

    Blog Reference for Azure App Service and MySQL Private Access - https://www.azure365pro.com/deploy-azure-app-service-and-mysql-with-private-dns-zone-using-reusable-terraform-modules/

    Support - [email protected]

    azure-hub-spoke-terraform's People

    Contributors

    azure365pro avatar santhoshmariraju avatar virtualpetals avatar

    Stargazers

     avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

    Watchers

     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.