I'm working Wordpress site running on the MIG, so, this means that it is stateless, and I can't modify the template.
My questions are:
Thank you so much.
I assume that you have a Managed Instance Group (MIG) that is running on Google Cloud Platform and you want to update your MIG to get updated Wordpress and add some plugin.
Please have a look at the documentation Updating instances in a MIG: > You might want to update a MIG's instance template for the following reasons:
- To update your application or the operating system on each instance.
and
Apply a new version of an instance template by using one of the following methods:
- Automated rolling update. The MIG automatically rolls out a new version of an instance template to all or to a random subset of managed instances in the MIG. The scope of the update and the level of disruption depends on the update policy that you configure.
To update your MIG follow the steps below:
If something went wrong, you can rollback an update.