Deploying containers to the App Engine flexible environment
In this section, we will learn about what is needed to deploy an updated version of our banking application using the Google App Engine flexible environment.
Before deploying our microservices with the Google App Engine flexible environment, we need to make a few changes in our projects to account for the environment differences between Google App Engine and Google Kubernetes Engine.
Application configuration updates
To update our application configuration to be ready to deploy to the Google App Engine flexible environment, we need to make a few small changes to make sure we pick up the externalized configuration of our application.
The changes made to our application configuration are as follows:
- Firstly, in our
user-rest
andaccount-rest
projects, we need to update theapplication.properties
file to replace instances ofGCP_GKE_*
, such as the following:spring.datasource.jdbcUrl = ${GCP_GKE_USER_DATASOURCE_URL...