Infrastructure as Code : Build your VMware NSX Cloud lab in AWS with Terraform

Gilles Chekroun Lead NSX Systems Engineer - VMware Europe ---
Why using Code for Infrastructure? Infrastructure as code is a way to define Compute, Network and Security infrastructure through source code. Such code can be kept in source controlled environment to allow deployment of tested infrastructure avoiding lots of human mistakes. It is becoming a very strong trend in our industry for pushing Network, Compute and Security infrastructure to cloud providers like Amazon Web Services. This article describes the use of Terraform to build the infrastructure for my VMware NSX Cloud lab in AWS. What is Terraform? Terraform enables you to create, change, and improve infrastructure. It is an open source tool from Hashicorp that codifies APIs into declarative configuration files. The idea for my lab is to build the AWS infrastructure with Terraform and configure it with Ansible . I am using VMware NSX Cloud as an example of how we can create the proper AWS VPCs, rules, ga