This folder is for all Google Cloud Run standalone samples (meaning no other Google products (APIs, platforms, etc.) featured in a primary way:
- Python (2 & 3) (recommend 3.9+)
- Node.js (recommend 16+)
Cloud Run is the GCP serverless platform for app-hosting. This folder contains developer code samples from the post covering how to deploy a "Hello World!" sample app to Cloud Run. The post is posted as part of the Coding #Python and #Google with @wescpy blog. The samples are available in Python and Node.js/JavaScript.
While many Google products are free to use, GCP products are not. In order to run the sample apps, you must enable billing and have active billing supported by a financial instrument like a credit card (payment method depends on region/currency). If you're new to GCP, review the billing and onboarding guide. Billing wasn't required to use Cloud Run in the past, but that changed in late 2019.
The good news is that Cloud Run (and other GCP products) have an "Always Free" tier, a free daily or monthly usage before incurring charges. The Cloud Run pricing and quotas pages have more information. Furthermore, deploying to GCP serverless platforms incur minor build and storage costs.
Cloud Build has its own free quota as does Cloud Storage (GCS). For greater transparency, Cloud Build builds your application image which is than sent to the Cloud Container Registry or Artifact Registry, its successor. Storage of that image uses up some of that GCS quota as does network egress when transferring that image to the service you're deploying to. However you may live in region that does not have a free tier, so monitor storage usage to minimize potential costs. (Check out storage use and delete old/unwanted build artifacts via the GCS browser.)
With the above said, you may qualify for GCP credits to offset any costs of using GCP. If you are a startup, consider applying for the Google Cloud for Startups program grants. If you are a higher education student, faculty member, researcher, or are an education technology ("edtech") company, explore all the Google Cloud for education programs.