You converted an auto mode VPC network to custom mode. Since the conversion, some of your Cloud Deployment Manager templates are no longer working. You want to resolve the problem. What should you do?
A.
Apply an additional IAM role to the Google API's service account to allow custom mode networks.
B.
Update the VPC firewall to allow the Cloud Deployment Manager to access the custom mode networks.
C.
Explicitly reference the custom mode networks in the Cloud Armor whitelist.
D.
Explicitly reference the custom mode networks in the Deployment Manager templates.
My vote goes to D as well.
"After you convert an auto mode network to custom mode, you must review all API calls and gcloud commands that implicitly reference any subnet that was automatically created while the network was in auto mode. API calls and commands will need to be modified so that they reference the subnet explicitly." https://cloud.google.com/vpc/docs/using-vpc#switch-network-mode
The correct option is D. Because when you convert a VPC network from auto mode to custom mode, the subnets are no longer automatically created for each region. Cloud Deployment Manager templates may still reference the auto-mode network and expect those subnets to exist.
To resolve this, you need to explicitly reference the custom mode networks and the specific subnets in your Deployment Manager templates, as custom mode requires manually defined subnets for each region. This will ensure that the templates are targeting the correct networks and subnets after the conversion.
D: "After you convert an auto mode network to custom mode, you must review all API calls and gcloud commands that implicitly ***** reference any subnet that was automatically created while the network was in auto mode. API calls and commands will need to be modified so that they reference the subnet explicitly. For gcloud CLI commands that have a subnet specification flag (--subnet), that flag is required to reference subnets in a custom mode VPC network."
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
[Removed]
Highly Voted 2 years, 11 months agoThisisJohn
Highly Voted 2 years agoAzureDP900
11 months, 1 week agosaraali
Most Recent 2 months, 2 weeks agopk349
9 months, 3 weeks agoGCP72
1 year, 2 months agokumarp6
1 year, 10 months agoESP_SAP
3 years ago