Serverless | Google Cloud
Jump to Serverless
Google Cloud serverless enables you to build and deploy functions and applications using a fully managed end-to-end serverless platform. Our serverless computing automatically scales your services up or down, even to zero, depending on traffic, and you pay only for what you use. Start a free trial and get $300 in free credits.
Deploy an app
Contact sales
Learn how to build a serverless application with these Cloud Run and Cloud Run functions guides
Google Cloud serverless customers deploy 95% faster and reduce infrastructure costs by 75%
Learn more about what customers are saying
BLOG
Now in preview: Host your LLMs on Cloud Run
Key Features
- Cloud Run: Build applications in your favorite language, dependencies, and tools, and deploy them in seconds. Cloud Run abstracts away all infrastructure management by automatically scaling up and down from zero almost instantaneously—depending on traffic. Cloud Run only charges you for the exact resources you use.
- Cloud Run functions: Develop faster by writing and running small code snippets that respond to events. Use Cloud Run functions to connect with Google Cloud or third-party cloud services via triggers to streamline challenging orchestration problems.
- GPU support (Now in public preview): Access to NVIDIA L4 GPUs on demand for running AI inference workloads. GPU instances start in five seconds and scale to zero. GPUs are now supported in Cloud Run and Cloud Run functions.
- Service integration: When integrating services, it's all too easy to introduce tight coupling, which grows brittle, slow, and difficult to debug over time. Let our service integration products take care of the connective tissue, so you can do what you do best: building brilliant applications.
Products
- Cloud Run: Build applications in your favorite language, dependencies, and tools, and deploy them in seconds. Cloud Run abstracts away all infrastructure management by automatically scaling up and down from zero almost instantaneously—depending on traffic. Cloud Run only charges you for the exact resources you use.
- Cloud Run functions: Develop faster by writing and running small code snippets that respond to events. Use Cloud Run functions to connect with Google Cloud or third-party cloud services via triggers to streamline challenging orchestration problems.
Products
- Leverages serverless and BigQuery to empower product innovation through their Beauty Tech Data Platform
- Les Echos Le Parisien announces scaling quickly to new markets with Cloud Run
- Veolia uses Cloud Run to remove the barriers of managed platforms
Customers
- Enterprises can innovate without worrying about provisioning machines, clusters, or autoscaling. No knowledge of containers or Kubernetes is required.
Use Cases
- Web services: Websites
- Integration with third-party services and APIs
- AI inference
- IT process automation
- Web services: REST APIs backend
- Real-time analytics
Capabilities
- Any runtime: Modern languages or runtimes are usually appropriate for new applications, but many existing applications either can’t be rewritten, or depend on a language that the serverless platform does not support. Cloud Run supports standard Docker images and can run any runtime, or runtime version in a container.
- Per-instance concurrency: Many traditional applications underperform when constrained to a single-request model that’s common in FaaS platforms. Cloud Run allows for up to 1,000 concurrent requests on a single instance of an application, providing a far greater level of efficiency.
- GPU support (Now in public preview): Access to NVIDIA L4 GPUs on demand for running AI inference workloads. GPU instances start in five seconds and scale to zero. GPUs are now supported in Cloud Run and Cloud Run functions.
- Background processing: Serverless platforms often "freeze" the function when it's not in use. This makes for a simplified billing model (only pay while it's running), but can make it difficult to run workloads that expect to do work in the background. Cloud Run supports new CPU allocation controls, which allow these background processes to run as expected.
Experiment and test ideas quickly
- In just a few clicks, you can perform gradual rollouts and rollbacks, and perform advanced traffic management in Cloud Run. No container knowledge necessary.
- Start with a container or use buildpacks to create container images directly from source code. With a single “gcloud run deploy” command, you can build and deploy your code to Cloud Run.
Built-in tutorials
- Built-in tutorials in Cloud Shell Editor and Cloud Code make it easy to come up to speed on serverless. No more switching between tabs, docs, your terminal, and your code. You can even author your own tutorials, allowing your organization to share best practices and onboard new hires faster.
Pricing
- Cloud Run is pay-per-use, with an always-free tier, rounded up to the nearest 100 millisecond. Total cost is the sum of used CPU, Memory, Requests, and Networking.
- Use the Google Cloud pricing calculator for an estimate.
- View pricing details
Take the next step