Zero Code NSX Advanced LB Automation with Terraform

VMware NSX Advanced Load Balancer (Avi Networks) provides multi-cloud load balancing, web application firewall, application analytics and container ingress services across on-premises data centers and any cloud. Terraform is a widely adopted Infrastructure as Code tool that allows you to define your infrastructure using a simple, declarative programming language, and deploy and manage infrastructure across …

Continue reading Zero Code NSX Advanced LB Automation with Terraform

Automate NSX-T Build with Terraform

Terraform is a widely adopted Infrastructure as Code tool that allow you to define your infrastructure using a simple, declarative programming language, and to deploy and manage infrastructure across public cloud providers including AWS, Azure, Google Cloud & IBM Cloud and other infrastructure providers like VMware NSX-T, F5 Big-IP etc. In this blog, I will …

Continue reading Automate NSX-T Build with Terraform

Use Terraform to Set Up AWS Auto-Scaling Group with ELB

AWS auto-scaling group helps you ensure that you have the correct number of Amazon EC2 instances available to handle the load for your application. By use of  auto-scaling policy, Auto Scaling group can launch or terminate instances as demand on your application increases or decreases. Today, I will show you how to use Terraform template …

Continue reading Use Terraform to Set Up AWS Auto-Scaling Group with ELB

AWS S3 Bucket for ELB Access Log with Terraform

To storage your AWS ELB access log to ASW S3. We use Terraform template below the below: Create a new S3 bucket called "elb-log.davidwzhang.com" Define a bucket policy which grant Elastic Load Balancing access to the newly created S3 bucket "elb-log.davidwzhang.com". As you know,  each AWS region has its own account ID for Elastic Load Balancing. …

Continue reading AWS S3 Bucket for ELB Access Log with Terraform

Create AWS VPC with Terraform

Today, I will show you how to use Terraform to create a customized VPC in AWS. Using this Terraform template, I will create a VPC: Name: terraform-vpc IP block for this VPC: 10.0.0.0/16 Public Subnet: 10.0.1.0/24. (Note: VM instance in this subnet will have Internet access) Private Subnet: 10.0.100.0/24 To verify the newly created VPC …

Continue reading Create AWS VPC with Terraform

Terraform Remote State File on AWS S3

Every time you apply your Terraform template, Terraform will records the current infrastructure status in Terraform state file. By default, the state files are stored locally. Terraform will keep 2 state files for each Terraform template: one is for the current state (terraform.tfstate) and the other is for the second latest version of Terraform state (terraform.tfstate.backup). In …

Continue reading Terraform Remote State File on AWS S3

Automate OpenStack Security Group with Terraform

Heat is the main project in the OpenStack Orchestration program. We can use heat to automate security group implementation. If you have NSXv plugin integrated with your OpenStack environment, you can use Heat template to automate your NSX DFW rules implementation as well. Here I will show you how to use Terraform to do the …

Continue reading Automate OpenStack Security Group with Terraform

Automate OpenStack with Terraform

Terraform can be used with Openstack for auto-provisioing. Today, I will shows a working Terraform example in Openstack. Firstly, define a Openstack provider for Terraform. Provider: provider "openstack" { user_name = "${var.openstack_user_name}" password = "${var.openstack_password}" tenant_name = "project1" auth_url = "http://keystone.openstack.com.au:5000/v3" domain_name = "DOMAINNAME" } Terraform currently support the following Openstack resource type: Compute, Network, …

Continue reading Automate OpenStack with Terraform