简体   繁体   中英

deploying several Apps on Google's Cloud Platform,

When you deploy instances on Google App Engine, you can get the external IP address of each instance using the code (appcfg.py -A studious-rhythm-111707 update app.yaml). However, when you reload the PHP page that reveals the external IP address, you would notice that the addresses would change most of the time after each reload. Perhaps i need answers for below questions.

1) Possible causes that require the change of IP addresses, and explain how changing IP addresses is useful.

2) Propose an alternative to each cause, and explain how it would be better than changing IP addresses.

This is expected behavior. Appengine spins up front end instances as required to support a particular load and will load balance between these. In addition you never talk to the instances directly. The IP addresses you see are in fact mediated by whatever infrastructure google has sitting in front of appengine.

Server IP address should be irrelevant to you if you want to use appengine.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM