Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. FastAPI
  3. FastAPI on Google Cloud Run

FastAPI on Google Cloud Run

MITPython

A template for deploying FastAPI applications on Google Cloud Run with GitHub Actions CI/CD.

GitHubGitHub
286 stars28 forks0 contributors

What is FastAPI on Google Cloud Run?

Cloudrun-fastapi is a template project that helps developers deploy FastAPI applications to Google Cloud Run with built-in CI/CD using GitHub Actions. It solves the problem of setting up deployment pipelines and cloud configuration from scratch, providing a production-ready starting point for serverless API projects.

Target Audience

Python developers building FastAPI applications who want to deploy them to Google Cloud Run with minimal configuration and automated deployment workflows.

Value Proposition

Developers choose cloudrun-fastapi because it provides a complete, battle-tested template that eliminates the complexity of setting up CI/CD and cloud deployment, allowing them to focus on building their API logic rather than infrastructure.

Overview

FastAPI on Google Cloud Run

Use Cases

Best For

  • Quickly deploying FastAPI applications to Google Cloud Run
  • Setting up automated CI/CD pipelines for Python APIs
  • Learning best practices for serverless FastAPI deployment
  • Starting new cloud-native API projects with minimal setup
  • Teams needing standardized deployment workflows for FastAPI
  • Developers wanting production-ready FastAPI templates

Not Ideal For

  • Projects targeting cloud providers other than Google Cloud, such as AWS or Azure
  • Teams that require a full-stack framework with built-in authentication, database ORM, and admin panels
  • Developers who prefer to handcraft their CI/CD pipelines without relying on GitHub Actions
  • Simple APIs that don't require the scalability and managed infrastructure of Cloud Run

Pros & Cons

Pros

FastAPI Integration

Leverages FastAPI's modern features like automatic OpenAPI documentation, making API development efficient and well-documented, as highlighted in the key features.

Cloud Run Deployment

Pre-configured for serverless container deployment on Google Cloud Run, reducing manual setup time and complexity for cloud-native applications.

CI/CD Automation

Includes out-of-the-box GitHub Actions workflows for testing and deployment, streamlining continuous integration and delivery processes.

Production-Ready Foundation

Provides Docker configuration and best practices for cloud deployment, offering a solid starting point for scalable, production APIs.

Cons

Vendor Lock-in

Heavily tied to Google Cloud Run and GitHub Actions, making migration to other platforms or CI/CD tools difficult and time-consuming.

Limited Feature Set

As a minimalistic template, it lacks advanced built-in features like authentication, database management, or monitoring, requiring additional customization.

Setup Complexity

Initial setup requires familiarity with Google Cloud services and GitHub Actions, which can be a barrier for developers new to these tools.

Frequently Asked Questions

Quick Stats

Stars286
Forks28
Contributors0
Open Issues0
Last commit1 year ago
CreatedSince 2020

Tags

#fastapi#alembic#api-template#pytest#google-cloud-run#serverless#python-api#python3#cloud-deployment#sqlalchemy#ci-cd#postgresql#sqlmodel#docker#google-cloud#github-actions

Built With

F
FastAPI
G
Google Cloud Run
G
GitHub Actions
P
Python
D
Docker

Included in

FastAPI11.2k
Auto-fetched 15 hours ago

Related Projects

Full Stack FastAPI and PostgreSQL - Base Project GeneratorFull Stack FastAPI and PostgreSQL - Base Project Generator

Full stack, modern web application template. Using FastAPI, React, SQLModel, PostgreSQL, Docker, GitHub Actions, automatic HTTPS and more.

Stars44,404
Forks8,822
Last commit1 day ago
FastAPI templateFastAPI template

Feature rich robust FastAPI template.

Stars2,813
Forks239
Last commit2 months ago
FastAPI and React TemplateFastAPI and React Template

🚀 Cookiecutter Template for FastAPI + React Projects. Using PostgreSQL, SQLAlchemy, and Docker

Stars2,584
Forks370
Last commit2 years ago
openapi-python-clientopenapi-python-client

Generate modern Python clients from OpenAPI

Stars1,974
Forks286
Last commit3 days ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub