Leading provider of distributed generation storage and energy services out of California, developed a unique and industry-leading solar sales platform for channel partners, resulting in optimized sales cycles and increased market share. The platform was built on Salesforce Heroku, which has proven to be costly, minimally-configurable, and non-standard vs modern cloud providers. They sought a new standard for our customer-facing platforms with better flexibility, better security, better scalability, and lower operating costs. Biarca chose to containerize the application and transport from Salesforce Heroku to GKE on GCP. With this move came additional benefits, including run-time security, fully-managed databases, scalability, high availability, highly configurable monitoring & log aggregation, all at reduced OPEX.
The Challenge
Leading provider of distributed generation storage and energy services, had the following requirements for migrating its on-premise applications to the cloud:
- Re-architect existing stack, mapping to Google Cloud managed services where possible or to compute/GKE equivalents
- Create a detailed architecture design with the highest security
- Bring up the entire stack on Google Cloud Platform
- Perform functional and performance tests
- Test functionalities and features
Customized Solution from Biarca
After careful study of the client’s application migration requirements, the Biarca team architected a solution involving the following components:
- The database migration turned out to be far more challenging than moving applications to Kubernetes. We had Postgres databases to move, with several hundred gigabytes of data. The normal way to migrate Postgres databases of that size with minimal downtime is:
- Make an external replica using streaming replication or similar
- Wait for the replica to catch up to the master database
- Promote the replica to be the new master
- Moving applications to GKE was a complicated project with many moving parts, but there were three main tasks we needed to accomplish:
- Setting up Kubernetes clusters
- Porting application to Kubernetes
- Migrating Postgres databases from Heroku Postgres to Google Cloud SQL
Customer Value Proposition
The solution that Biarca designed for migrating the client’s existing infrastructure to Google Cloud Platform had the following benefits:
- Standardized Cloud environment
- Better flexibility, better security, better scalability and lower operating costs
- Run-time security, fully-managed databases, scalability, high availability, highly configurable monitoring & log aggregation, all at reduced OPEX