In this tutorial, you’ll install Terraform and use it to create an infrastructure on DigitalOcean that consists of two Nginx servers that are load balanced by aDigitalOcean Load Balancer. Then, you’ll use Terraform to add a DNS entry on DigitalOcean that points to your Load Balancer. This ...
In this guide, we will see how we can configure virtual hosts on an Amazon EC2 Ubuntu 22.04 instance. In this lab, we will use name-based virtual hosting. We will use Terraform to deploy the desired infrastructure. Overview of the Lab In this lab, we will create two virtual hosts; doma...
In this tutorial, you’ll use Packer to create an immutable snapshot of the system with Vault installed, and orchestrate its deployment using Terraform. In the end, you’ll have an automated system for deploying Vault in place, allowing you to focus on working with Vaul...
Create an EC2 instance with Terraform In this section, we'll write the code to create an EC2 instance. We'll review how to set up the main.tf file to create an EC2 instance and the variable files to ensure the instance is repeatable across any environment. The following are the prerequis...
In Terraform, a module can also return values. Again, this is done using a mechanism you already know: output variables.You can add the ASG name as an output variable in/modules/services/webserver-cluster/outputs.tfas follows: output"asg_name"{value="${aws_autoscaling_group.example.name}"...
Spring Boot CI/CD on Kubernetes using Terraform, Ansible and GitHub. Parts of this series can be used in conjunction with the solution above to provide even greater functionality. It includes: Part 1: Introduction to creating a CI/CD pipeline on Kubernetes in the cloud Part 2: Setting up th...
Step 2.Create the VPC using theNew-EC2Vpccommand: $vpc= New-EC2Vpc-CidrBlock$vpcCidr Copy Step 3.Out of the box, an AWS VPC does not haveDNSconfigured. Enable DNS on the VPC to pass it on to any EC2 instances inside of it: ...
For Aviatrix Transit Network deployment, please click here to read how to setup transit VPC using Terraform. Note Aviatrix is now an official Terraform provider! The Terraform setup procedure has been significantly simplified and the documentation below has been updated accordingly. Cu...
HashiCorp Terraformis used to provision and manage the EKS cluster infrastructure. By using Terraform’s declarative approach, users can deploy and maintain their Wasm-enabled EKS clusters, making sure of consistency and reproducibility across different environments. ...
Provide the workspace name —vpc-gpu-rapids- and choose a resource group and location. ClickNextand then clickCreate. You should see the Terraform variables section. Fill in the variables as per your requirement by clicking the action menu next to each of the variables: ...