Looking for a high level approach to this problem... Let's say I created 10 VMs. In order to minimize costs, I'd like to observe those VMs and shut them down when no one is connected to them. This part is easy...I can ping the machine and use the Google API to simply shut the machine down if no one is connected.
On the flip side, I'd like to automatically start the machine up when a user attempts to connect. I don't want this to be a manual process. Users will always connect to my app on the VM via http on a particular port. Would it be possible to put some kind of proxy in front of my 10 VMs that would intercept incoming connections and start the target VM if it was shut down? And then forward the connection to the target once it's running? Does anybody have any experience with this? Or does Google offer this functionality in any form? I'm using NodeJS in my app implementation. Any feedback/ideas would be appreciated. Thanks! -- 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 google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. 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/52111ac8-37a4-4388-9a91-dada063c8ea0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.