Skip to content
This repository has been archived by the owner on Aug 10, 2023. It is now read-only.

Latest commit

 

History

History
73 lines (47 loc) · 2.67 KB

File metadata and controls

73 lines (47 loc) · 2.67 KB
title description author tags date_published
Deploy HA VPN with Terraform
Deploy Google Cloud environment used in HA VPN interop guides with Terraform.
ashishverm
terraform, ha vpn,
2019-07-12

Ashish Verma | Technical Program Manager | Google

Contributed by Google employees.

This tutorial demonstrates how to use Terraform to deploy the High Availability VPN resources on Google Cloud that are used in the VPN interoperability guides.

Objectives

Deploy HA VPN with a 1-peer-2-addresses configuration on Google Cloud.

Before you begin

Quickstart

  1. Clone the repository:

    git clone https://github.com/GoogleCloudPlatform/community.git
    
  2. Go to the deploy-ha-vpn-with-terraform/terraform directory:

    cd community/tutorials/deploy-ha-vpn-with-terraform/terraform
    
  3. (optional) Change variable values in gcp_variables.tf for your environment.

  4. Run the following Terraform commands:

    1. Examine configuration files:

      terraform init
      terraform validate
      terraform plan
      
    2. Apply the configurations:

      terraform apply
      
    3. Confirm configurations:

      terraform output
      terraform show
      
    4. Clean up:

      terraform plan -destroy
      terraform destroy
      terraform show
      

References