Recently, I've been working on deploying my personal website (built with Spring Boot) to Google Cloud Platform. The experience has been both educational and rewarding, so I wanted to share some practical insights.
After evaluating several cloud providers, I chose GCP for several reasons:
My setup consists of:
Spring Boot Application
├── App Engine (hosting)
├── Cloud Storage (blog content)
├── Secret Manager (credentials)
└── Cloud Build (CI/CD)
runtime: java21
service: default
automatic_scaling:
min_instances: 0
max_instances: 10
spring.config.import=sm://
gcs.bucket.name=my-blog-bucket
spring.cloud.gcp.credentials.encoded-key=${sm://my-secret}
One of the coolest features is how blog posts work:
This approach gives me the flexibility to write anywhere and publish by simply uploading a file.
I'm planning to add:
The journey of building and deploying on GCP continues to be exciting. The platform's flexibility and power make it an excellent choice for modern applications.
What's your experience with cloud deployments? I'd love to hear about your setup!
Published on July 16, 2025 in tech