profile for Hannel on Stack Exchange, a network of free, community-driven Q&A sites
Project Work Hours
Sat & Sun 6am - 9am
Subscribe via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Archives

Project saving on GCP

Needed a server on for about 4 hours a day to do some Google Drive operations, needs to be on Google Cloud Platform (GCP) to save on egress. Brushed up on my GCP skills, used GCP preemptive Virtual Machine (VM) Instance, Google Cloud Functions and Google Cloud Scheduler to completed a weekend project in 2 hours.  Even had enough time to document it and write this blog page. ENJOY!!

Created a GCP Preemptible VM instance

https://cloud.google.com/compute/docs/instances/create-start-preemptible-instance

Created Start and Stop function

https://cloud.google.com/scheduler/docs/start-and-stop-compute-engine-instances-on-a-schedule

Created Start and Stop Scheduler to trigger function

https://cloud.google.com/scheduler/docs/quickstart#create_a_job

Estimated Cost you ask?? Not more than $5 a month

Function time

Estimate calculator