Ultimate access to all questions.
You are planning to migrate your application from Google App Engine Standard to Google App Engine Flex. The application is currently handling live traffic, and you aim to verify its functionality in the Flex environment before fully transitioning. Your goal is to minimize effort while ensuring service availability. What steps should you take?
Explanation:
The correct sequence involves setting env: flex
in app.yaml, deploying the new version with --no-promote
to avoid immediate traffic redirection, validating the new version in App Engine Flex, and finally migrating the version to serve live traffic. This approach ensures minimal effort and maintains service availability by allowing validation before traffic migration. Incorrect options either promote the new version prematurely or use invalid environment settings.