The individual labs below will walk through configuring Google Cloud and the Cloud Build GitHub App to deploy and update basic infrastructure using Terraform. If you run into issues please review the FAQ.
The pre-requisites lab will walk through getting access to GitHub and Google Cloud
- GitHub Account
- Google Cloud Free Account
The first lab will get us up and running with Google Cloud and connecting to GitHub via the Google Cloud GitHub App.
- Create Repo from Template
- Create Project on Google Cloud
- Enable Cloud Build and Install GitHub App
- Configure GitHub App Triggers
- Run Cloud Build
The second lab will deploy IaaS components consisting of VPCs, Virtual Machines, Load Balancer using Terraform executed via Cloud Build.
- Update Cloud Build service account permissions
- Create Cloud Storage bucket for Terraform state
- Configure GitHub App Triggers
- Run Cloud Build
- Scale Out Resources
- Clean Up Resources
Start Lab 2 - Store Terraform state & Deploy Infrastructure
The third lab will deploy PaaS components consisting of App Engine, website code, using gcloud commands executed via Cloud Build.
- Create Google App Engine Application
- Enable App Engine Admin API
- Configure GitHub App Trigger
- Run Cloud Build
- Continuous Deployment of Changes
- Unit Testing
- Disable the Application
Start Lab 3 - Deploy to App Engine
The fourth lab is intended for one of the lab facilitators to run as a demo, not for each attendee to deploy in their lab environment due to the amount of infrastructure which is deployed. If you choose to deploy this lab please be aware of subscription quota limitations, and cost considerations.
- Deploy Solution