You are deploying an application on App Engine that needs to integrate with an on-premises database. For security purposes, your on-premises database must not be accessible through the public internet. What should you do?
A.
Deploy your application on App Engine standard environment and use App Engine firewall rules to limit access to the open on-premises database.
B.
Deploy your application on App Engine standard environment and use Cloud VPN to limit access to the on-premises database.
C.
Deploy your application on App Engine flexible environment and use App Engine firewall rules to limit access to the on-premises database.
D.
Deploy your application on App Engine flexible environment and use Cloud VPN to limit access to the on-premises database.
Agree with D - "When to choose the flexible environment" "Accesses the resources or services of your Google Cloud project that reside in the Compute Engine network."
https://cloud.google.com/appengine/docs/the-appengine-environments
Where does it say appengine cannot connect to on-prem db? With CloudVPN, it shoudl connect as per this https://cloud.google.com/appengine/docs/flexible/storage-options#on_premises
Also going with D will require app to be containerized. That is not listed in the requirement.
This is the link for Standard Env
https://cloud.google.com/appengine/docs/standard/storage-options
Both standard and Flexible can connect to a VPC with Serverless VPC connector. Once it connects to a VPC, connecting to onprem is same for any service.
I just had the same confusion. Serverless VPC Connector is something relatively newer than this question on the exam, so probably it's safer to assume that a VPC connection is not supported (at least directly) by App Engine Standard.
Besides, this would add extra overhead, and would also increase the costs for the solution.
Most of these questions haven't been updated or repurposed according to newer products and services. For this particular question, using a Serverless VPC Connector would add unnecessary complexity and the solution would become more expensive.
I swore to god it was B lol, but after a few hours of reading the documentation, I changed my mind and switched to option D. You might want to do the same.
Yes, that phrase in the question bothers me too. However, when I check this:
https://cloud.google.com/appengine/docs/flexible/storage-options#:~:text=On%20premises,-If%20you%20have&text=Because%20App%20Engine%20and%20Compute,database%20server's%20internal%20IP%20address.
it says "If you have existing on-premises databases that you want to make accessible to your App Engine app, you can either configure your internal network and firewall to give the database a public IP address or connect using a VPN."
So I think the question should have skipped the words "not public internet access" if they want us to choose VPN.
In a forum mentions that GCE and CAP flex are designed for connect to VPC . With GAP standard is needed a proxy .
https://stackoverflow.com/questions/47537204/how-to-connect-app-engine-and-on-premise-server-through-vpn
The flexible environment gives you more control over the networking configuration of your application. This is crucial for setting up a secure connection to your on-premises database.
B and C are not appropriate and wherein in App Engine flex resources reside in VPC NEtwo
https://cloud.google.com/appengine/docs/the-appengine-environments#app-engine-environments
D
App Engine flexible environment provides more flexibility and supports VPC (Virtual Private Cloud) connectivity, which allows you to set up a Cloud VPN connection. The VPN can be used to securely connect your App Engine application to the on-premises database without exposing it to the public internet.
The documentation mentions that App Engine Standard can connect to on-prem database using VPN. Link of the documentation: https://cloud.google.com/appengine/docs/standard/storage-options
https://cloud.google.com/appengine/docs/flexible/flexible-for-standard-users
Standard environment tend to be stateless web applications . Flexi is better for intergrating with on premise database
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.
MyPractice
Highly Voted 4 years, 10 months agoAWS56
4 years, 10 months agoareza
3 years, 5 months agoVSMu
1 year, 9 months agoCloudcrawler
1 year, 3 months agojrisl1991
1 year, 1 month agoelaineshi
2 years, 5 months agomnsait
6 months, 1 week agoharoldbenites
2 years, 11 months agojcmoranp
Highly Voted 5 years agoamxexam
2 years, 6 months agomoiradavis
2 years, 4 months agoEkramy_Elnaggar
Most Recent 2 days, 18 hours agoyocixim836
1 week, 3 days agodpttpd
1 month agoraghupothula
1 month, 4 weeks agomaxdanny
2 months, 2 weeks agojoecloud12
3 months, 2 weeks agojanji456
3 months, 3 weeks agoneha_pallod
4 months, 2 weeks agonhatne
4 months, 3 weeks agonhatne
4 months, 3 weeks agoToothpick
3 months, 4 weeks agogustangelo
5 months, 3 weeks agopico
6 months, 2 weeks agovalgorodetsky
6 months, 2 weeks agoDiwz
7 months, 2 weeks agodidek1986
10 months agoTeckexam
10 months agosidiosidi
6 months, 3 weeks agoglb2
8 months agoglb2
8 months ago