I have 8 servers running on GCP.
I want to implement auto-scaling on them. There are Nginx and PHP installed on UBUNTU server.
All I want to transfer Application logs on a particular instance before terminating the instance by auto scaling and meanwhile it should be removed by ELB.
Similar to a feature AWS life cycle Hooks.