I had a Google Compute Engine Wordpress application running on a dedicated ip number, with cloud DNS also set up. I needed to start and stop the apache web server in order to change the debut settings of php.ini. So I looked around for how to do it from gcloud or google's gui based interface, and decided after reading about stopping and starting and instance that that would be the way to go.
When I restarted the instance though, it had now assigned a 'ephemeral' ip address to the instance. To add insult to injury the ephemeral instance would not allow outside connections. Nor does the old static ip work.
I'm not pleased with having to delete everything and start from scratch, but I may have to .
Can anybody tell me what I did wrong. How should I reboot the virtual machine without losing my ip and my stored configurations?