Skip to content

This repo contains terraform code to deploy a simple network landing zone for Nutanix Cloud Cluster (NC2) on Azure

Notifications You must be signed in to change notification settings

squasta/Simple-Landing-Zone-for-NC2-on-Azure

Repository files navigation

Nutanix Cloud Cluster (NC2) on Azure - Simple Landing Zone for POC

Scenario interconnection with an Azure ExpressRoute on a Hub and Spoke topology (with or without Azure Virtual WAN)

This repo contains Terraform files to deploy all Azure network components needed to deploy Nutanix Cloud Cluster(NC2) on Azure Baremetal.

⚠️ ⚠️ ⚠️ This code applies for the following scenarios :

If you are using VPN Site to Site (Azure VPN Gateway) to hybrid with your on-premises Nutanix Cluster(s), please use the vpn-novWAN branch of this repo.

Prerequisites

You can also clone this repo in your Azure Cloud Shell (that has all tools installed)

Step by step operations

Read the code and comments to understand what Azure resources will be created.

Edit configuration.tfvars to define your Azure resources names.

  1. Terraform Init phase
terraform init
  1. Terraform Plan phase
terraform plan --var-file=configuration.tfvars
  1. Terraform deployment phase (add TF_LOG=info at the beginning of the following command line if you want to see what's happen during deployment)
terraform apply --var-file=configuration.tfvars
  1. Wait until the end of deployment (It should take less than 1 minute)

If you want to connect to Prism Element or Prism Central through Internet, there is an option to enable an Azure Bastion instance and a Windows Server 2022 Virtual Machine Jumbox

  1. Go to Nutanix NC2 Portal https://cloud.nutanix.com and start your Nutanix Cluster deployment wizard. In steps 4 (Network), 5 (Prism Central) and 6 (Flow Networking) select the Virtuals Networks and Subnets created in step 3 using terraform

  1. After the deployment is successfull, you can add connectivity with on-premises or other Azure VNet or services by peering an Hub Vnet or Virtual vWAN vHub. If you enabled AzureBastion and Jumpbox VM, you can login to the Jumbox VM and connect Prism Element or Prism Central through a web browser.

  2. Use the solution and configure Nutanix features like Flow VPC, categories...

  3. When you want to destroy the Nutanix Cluster, use the NC2 Portal (https://cloud.nutanix.com) to terminate it.

  4. After cluster terminaison, you can destroy the landing zone using the following command :

terraform destroy --var-file=configuration.tfvars

How much does it cost to test this landing zone ?

It's very cheap to test and customize this simple landing zone.

You can use infracost (available on https://www.infracost.io/) to check the estimate price for 1 month. Here is an exemple for Azure Germany West Central region

❗ Important : this landing zone cost estimation does not include the cost of Azure Baremetal instance(s) used as node(s) in the Nutanix Cluster.

Please have a look of metal instances prices here : https://azuremarketplace.microsoft.com/en-us/marketplace/apps/nutanixinc.nc2_azure?tab=overview. Pricing is per instance-hour consumed for each instance, from the time an instance is launched until it is terminated or stopped.

Note : you don't need Azure Bastion or Jumbox 24/7. You can simply enable or disable these resources in configuration.tfvars file (0= disabled , 1=enabled)

About

This repo contains terraform code to deploy a simple network landing zone for Nutanix Cloud Cluster (NC2) on Azure

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages