In reply to your questions:
1) You can specify network settings in your app.yaml configuration file,
for example:
network:
instance_tag: TAG_NAME
name: NETWORK_NAME
subnetwork_name: SUBNETWORK_NAME
forwarded_ports:
- PORT
- HOST_PORT:CONTAINER_PORT
- PORT/tcp
- HOST_PORT:CONTAINER_PORT/udp
Related details may be read on the "Configuring your App with app.yaml"
page, "Network settings" sub-chapter
<https://cloud.google.com/appengine/docs/flexible/custom-runtimes/configuring-your-app-with-app-yaml#network_settings>
.
2) In fact, there are many vendors offering managed database services such
as mLab for MongoDB. These vendors handle hosting, configuration, and
maintenance of databases. App Engine can connect to these external services
over the Internet, in the same way as other public clouds by using that
service's public IP address, in particular the IP address of your MongoDB
instance. More detail may be gathered from the "Using Third-Party
Databases" online document
<https://cloud.google.com/appengine/docs/standard/python/using-third-party-databases#databases_managed_by_a_third-party_vendor>.
How did you fail to connect from the standard environment, exactly? What
were the errors returned? How did you follow the MongoDB connection
instructions in your app?
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit
https://groups.google.com/d/msgid/google-appengine/c2e6bd14-9e76-46c1-ad36-f1be059d15ad%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.