Hello Zhuyi,If you wish to delete an instance once you have completed the task you can do so by either using the GCE instance delete API, gcloud or developer console. You can automate this process by using GCE API or gcloud commands in a script.
You can also take a look at Preemptible VM to see if they suit your needs. These VMs are short-lived GCE instances suitable for batch jobs and fault tolerant workloads. For more information you can refer to this link.I hope that helps.Faizan
--
© 2014 Google Inc. 1600 Amphitheatre Parkway, Mountain View, CA 94043
Email preferences: You received this email because you signed up for the Google Compute Engine Discussion Google Group (gce-dis...@googlegroups.com) to participate in discussions with other members of the Google Compute Engine community and the Google Compute Engine Team.
---
You received this message because you are subscribed to the Google Groups "gce-discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gce-discussio...@googlegroups.com.
To post to this group, send email to gce-dis...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gce-discussion/7dd0f34d-94fe-4e31-b887-58d90228292e%40googlegroups.com.