VyOS Automation with Terraform
Terraform for Network Automation with VyOS
Terraform enables you to
In modern network environments, agility and consistency are key.
Deploy physical, virtual, or cloud-based network devices at scale.
Automate configuration of routing protocols, VLANs, VPNs, and advanced services like EVPN or cloud gateway.
Integrate with multi-vendor APIs, SDN controllers, and orchestration platforms.
Version-control your infrastructure, enabling repeatable deployments and streamlined change management.
Network Automation with Terraform and VyOS
How Terraform Works
Terraform uses configuration files written in HashiCorp Configuration Language (HCL) to describe the desired infrastructure state.˙
Write
You define resources, which may be across multiple cloud providers and services. For example, you might create a configuration to deploy an application on virtual machines in a Virtual Private Cloud (VPC) network with security groups and a load balancer.
Plan
Terraform creates an execution plan describing the infrastructure it will create, update, or destroy based on the existing infrastructure and your configuration.
Apply
On approval, Terraform performs the proposed operations in the correct order, respecting any resource dependencies. For example, if you update the properties of a VPC and change the number of virtual machines in that VPC, Terraform will recreate the VPC before scaling the virtual machines.
Want to learn more about VyOS Technical Capabilities?
Download the Technical Datasheet


The Advantage of Using Terraform with VyOS
VyOS is an open-source network operating system that runs on virtually any platform, bare metal, virtual machines, or cloud instances. When combined with Terraform, you get:
Automated Deployment
Fully automated deployments of VyOS routers in on-premises or cloud environments.
Consistency
Consistent, repeatable configurations across labs, staging, and production.
Network Scaling
Rapid network scaling, spinning up new routers or topologies in minutes.
Cost efficiency
Cost efficiency, leveraging open-source software with enterprise-grade automation.
Helpful Resources
Here are some helpful resources for VyOS with Terraform automation
Resources
Here are some resources to help you learn more about VyOS, keep up with the development, and participate in it.