Skip to content

Terraform configs for provisioning a VPC and VM instance on GCP

Notifications You must be signed in to change notification settings

onprema/terraform-gcp-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terraform GCP Project

The goal of this project is to use Google Cloud Platform (GCP) and Terraform to create and codify infrastructure for a simple web application. The infrastructure includes:

  • Networking (VPC, subnet, firewalls)
  • NGINX instance (reverse proxy)
  • App Engine web application (load-balanced with 3 replicas)

screenshot

Access the web app here: hellpgcp.cf

Architecture

Internet --> NGINX reverse proxy --> Load-balanced App Engine app (3 instances)

File Information

Dir/File Description
app/ Contains the Go web application and App Engine config
network/ Contains codified infrastructure to set up VPC, subnet and firewall
reverse-proxy/ Contains codified infrastructure to set up a VM instance
reverse-proxy/init.sh Bash script to configure VM instance with NGINX and Certbot

About

Terraform configs for provisioning a VPC and VM instance on GCP

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published