Skip to content

This repository builds out a sample topology on AWS for a demo on Aviatrix's Multi-Cloud Network Segmentation (MCNS) and FireNet.

Notifications You must be signed in to change notification settings

karimjamali/terraform-aws-segmentation-firenet

Repository files navigation

Aviatrix Segmentation & FireNet

Summary

This repository builds out a sample topology on AWS for a demo on Multi-Cloud Network Segmentation (MCNS) and FireNet.

It builds the following:

  • Aviatrix Transit in us-east-1 with FireNet having Palo Alto Networks VM-series Firewalls.
  • Aviatrix Transit in us-east-2 without FireNet.
  • 2 Spoke VPCs (Prod/Dev) attached to Aviatrix Transit in us-east-1
  • 1 Spoke VPC (Shared Services) attached to the Aviatrix Transit in us-east-2
  • 3 x Ubuntu VMs (prod, dev, shared) with Key Pairs where each Ubuntu VM lies in one spoke.
  • Site2Cloud connection between AWS Transit in us-east-1 and on-prem (emulated by CSR on AWS). For Site2Cloud you will just need to download the configuration on the CSR as the Aviatrix side is already configured.

The general objective is to showcase Multi-Cloud Network Segmentation (MCNS) and FireNet but it can be used for different purposes.

Component Version:

  • Aviatrix Controller UserConnect-6.7.1186.
  • Versions of the Aviatrix, AWS and other providers can all be found in versions.tf.

Dependencies:

  • Software version requirements met
  • Aviatrix Controller & Copilot (Highly Recommended) need to be up and running
  • Onboarding the AWS Account is automated
  • Sufficient limits in place for CSPs and regions in scope (EIPs, Compute quotas, etc.)
  • Active subscriptions for the NGFW firewall images in scope

Diagram

The diagram with all layers and steps can be found here:https://lucid.app/lucidchart/8fb7c2d7-f481-42cc-a1ca-773ee9e3ae5b/edit?invitationId=inv_c9f886c7-c48b-4c23-a55f-1bfbcc7ddc60#

The proper sequence for following the lab setup is as follows:

  1. Initial Setup.
  2. Network Domains.
  3. Connection Policies.
  4. Extend Segmentation.
  5. Enable FireNet.

Screen Shot 2022-06-08 at 6 32 13 PM

Usage

  1. Clone the repository: https://github.com/karimjamali/aviatrix-demo.git
  2. Update the below variable details in the variables.tf file. Please note that home_ip is your Public IP address where you will be accessing the lab from this will be used to program Security Groups to allow traffic from your Public IP.
  • variable "avx_controller_ip"
  • variable "avx_controller_username"
  • variable "avx_controller_password"
  • variable "aws_account_number"
  • variable "aws_acess_key"
  • variable "aws_secret_key"
  • variable "home_ip"

The topology created by Terraform is shown below.

Terraform no Segmentation

About

This repository builds out a sample topology on AWS for a demo on Aviatrix's Multi-Cloud Network Segmentation (MCNS) and FireNet.

Resources

Stars

Watchers

Forks

Packages