Autoscaler is recently added as an option to Google Cloud Platform. If I understand it correctly, you can create a template VM and Autoscaler will increase the number of VMs, if necessary, based on this template VM.
My main question is: this template VM doesn't contain the default files in /var/www
. Even when I create a snapshot and use the snapshot for the template, the folder /var/www
is empty. So how can I use autoscale and sync all VMs (auto)created. I already use a Cloud SQL and are moving images to a bucket. But I guess nobody's website or app will work with empty / newly-installed VMs.
You actually can attach additional disks, they just have to be in read-only mode. As stated here 1 (look for --disk PROPERTY=VALUE
)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With