The Google Developer Simulation Environment offers two approaches for implementing different CI / CD environments for GAE applications.
- based on different services (which were formerly called modules) within the same project / application:
If you decide to create a microservice application using only a few services, you can create one App Engine project for each of your environments and name them accordingly, for example web-app-dev
, web-app-qa
and web-app-prod
.
- based on different projects / applications:
Alternatively, if you choose to create an application using mikroservisov several projects, you can achieve the same separation between media, but you will need to use more projects, such as web-app-dev
, web-app-prod
, user-service-dev
and user-service-prod
. You will need to use code templates so that projects dev
call only other projects dev
and prod
projects call only other projects prod
.
The phrases in the above snippets of documentation seem to suggest that the two approaches will be roughly equivalent, but there is at least one significant difference between the two approaches: the project / application-based approach provides data isolation, while the service / no module - data storage and memcache are shared by all services.
:
:
: , , - ? -, ?