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)
Access the web app here: hellpgcp.cf
Internet --> NGINX reverse proxy --> Load-balanced App Engine app (3 instances)
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 |