François Kawala
François Kawala

Reputation: 446

google managed-VMs specify instance in URL

I use google managed-VMs. My module has several instances. I need to perform a HTTP call on each of these instances. Hence, I would like to know if there is a way to specify the recipient instance in the URL.

For instance I tried: http://<instance-name>.<module-name>.<project-name>.appspot.com/ without success.

Upvotes: 1

Views: 58

Answers (1)

Zachary Newman
Zachary Newman

Reputation: 21384

You're missing a <version-name> in there:

http://<instance-name>.<version-name>.<module-name>.<project-name>.appspot.com

See https://cloud.google.com/appengine/docs/python/modules/#Python_Application_hierarchy for more details (this is the page for Python, but it applies across-the-board.

Upvotes: 2

Related Questions