QuestionQ10

VerifiedPlanning and implementing a cloud solution

Your team is running an on-premises ecommerce application. The application contains a complex set of microservices written in Python, and each microservice is running on Docker containers. Configurations are injected by using environment variables. You need to deploy your current application to a serverless Google Cloud solution. What should you do?

Explanation

Cloud Run is the serverless container platform for microservices. Reusing the existing CI/CD pipeline and Docker images minimizes effort. Configurations (environment variables, endpoints) must be updated to work with Cloud Run's stateless, container-native model; Cloud Run lets you set environment variables when you deploy a service or a new revision. B and C target Cloud Run functions, which are deployed from function source code and built into containers automatically, so they don't reuse the existing container images. D (like B) keeps the on-premises configuration, but the endpoints and environment variables must be updated for Cloud Run.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!