Tutorial
Network Infrastructure Automation with Consul-Terraform-Sync Intro
In this tutorial you will learn how to install Consul-Terraform-Sync and configure it to communicate and react to your Consul datacenter.
Use case
Consul-Terraform-Sync allows for the automation of various networking tasks and workflows based on changes observed by Consul.
Challenge
New technologies have emerged in recent years to help accelerate application deployment times. However, legacy systems and old practices cannot keep up with the rate of change of modern applications. If an event occurs that auto-scales additional service instances, networking and security teams are often times still dealing with manual ticket-driven processes that can slow down solution delivery and introduce a higher likelihood of misconfiguration.
Solution
Adopting Network Infrastructure Automation (NIA) with Consul-Terraform-Sync ensures networking and security infrastructure safely adapts to changes. Consul-Terraform-sync automates various networking tasks and workflows based on changes observed by Consul. The tasks can be triggered by different events like the scaling of service instances, change of service address or port number, updates to service tags, meta or health, etc. This leads to improved delivery times and greatly reduces the chances of misconfigurations.
When talking about the “shift to cloud”, the focus tends to primarily be around the applications. What is often overlooked is the underlying complexity and demand this puts on network teams as they look for ways to improve their processes and efficiency in managing networks in the cloud. HashiCorp Consul is a service networking solution that aims to solve these challenges through a new tool called Consul-Terraform-Sync. Consul-Terraform-Sync leverages Terraform and its robust provider ecosystem to achieve Network Infrastructure Automation and reduce the need for manual processes.
Tutorial
In this tutorial you will learn how to install Consul-Terraform-Sync and configure it to communicate and react to your Consul datacenter.
Tutorial
Learn the different run modes available with Consul-Terraform-Sync, how to monitor the task status, and to locate the Terraform state files.
Tutorial
In this tutorial you will learn how to configure Consul-Terraform-Sync to interact with Terraform Enterprise and Terraform Cloud.
Documentation
Network Infrastructure Automation (NIA) enables dynamic updates to network infrastructure devices triggered by service changes. Learn more.
Documentation
Consul-Terraform-Sync runs as a daemon and integrates the network topology to dynamically secure and connect services. Learn more.
Documentation
Learn more on how to download and install Consul-Terraform-Sync.
In this whiteboard video, Armon Dadgar shows why it's crucial — in the cloud adoption era — to use infrastructure as code not only for automating and templatizing your system's required compute and database resources, but also its networking infrastructure, such as firewalls, load balancers, routers, etc.