laravel-cloud-run-sql
laravel-cloud-run-sql copied to clipboard
How to deploy laravel to cloudrun with infra as code and secret managment for less than 5$/month
Deploy laravel to cloud run
Let's build a demo application, using Google Cloud components and laravel
App uses:
- Laravel 7.x as the web framework
- Google Cloud Run as the hosting platform
- Google Cloud SQL as the managed database
- Google Cloud Build for build and deployment automation
- Google Secret Manager for managing encrypted values
This repo serves as a proof of concept of showing how you can piece all the above technologies together into a working project.
Steps
Try the application locally optional
Manual deployment:
- Setup Google Cloud Platform environment
- Deploy with Terraform
- Cleanup your project resources