FastAPI Serve - FastAPI to the Cloud, Batteries Included!
Project description
FastAPI-Serve: FastAPI to the Cloud, Batteries Included! ☁️🔋🚀
Welcome to fastapi-serve, a framework designed to take the pain out of deploying your local FastAPI applications to the cloud. Built using our open-source framework Jina, fastapi-serve
offers out-of-the-box support for automated deployments on cloud.jina.ai
, our scalable and robust cloud platform. 🌩️
😍 Features
- 🌐 DNS: Automatic URL generation for your app.
- 🔗 Protocols: Full compatibility with HTTP, WebSocket, and GraphQL.
- ↕️ Scaling: Scale your app manuallly or let it auto-scale based on RPS, CPU, and Memory.
- 🗝️ Secrets: Secure handling of secrets and environment variables.
- 🎛️ Hardware: Tailor your deployment to suit specific needs.
- 💾 Storage: Persistent and secure network storage.
- 🔎 Observability: Integrated access to logs, metrics, and traces.
- 📦 Containerization: Effortless containerization of your Python codebase with our integrated registry.
💡 Getting Started
First, install the fastapi-serve
package using pip:
pip install fastapi-serve
Then, simply use the fastapi-serve
command to deploy your FastAPI application:
fastapi-serve deploy jcloud app:app
You can also specify the name of your app:
fastapi-serve deploy jcloud app:app --name my-app
You'll get a URL to access your newly deployed application along with the Swagger UI.
📚 Examples
Follow our Quickstart Guide to deploy a simple FastAPI application.
🖥️ fastapi-serve
CLI
fastapi-serve
comes with a simple CLI that allows you to deploy your FastAPI applications to the cloud with ease.
Description | Command |
---|---|
Deploy your app locally | fastapi-serve deploy local app:app |
Deploy your app on JCloud | fastapi-serve deploy jcloud app:app |
Update existing app on JCloud | fastapi-serve deploy jcloud app:app --app-id <app-id> |
Get app status on JCloud | fastapi-serve status <app-id> |
List all apps on JCloud | fastapi-serve list |
Remove app on JCloud | fastapi-serve remove <app-id> |
⚙️💰 Configuration and Pricing
Read our Configuration & Pricing Guide to learn more about the various configuration options available to you and the pricing model for fastapi-serve
.
💪 Support
If you encounter any problems or have questions, feel free to open an issue on the GitHub repository. You can also join our Discord to get help from our community members and the Jina team.
Our Cloud Platform 🌐
cloud.jina.ai
is our robust and scalable cloud platform designed to run your FastAPI applications with minimum hassle and maximum efficiency. With features like auto-scaling, integrated observability, and automated containerization, it provides a seamless and worry-free deployment experience.
fastapi-serve
is more than just a deployment tool, it's a bridge that connects your local development environment with our powerful cloud infrastructure. Start using fastapi-serve
today, and experience the joy of effortless deployments! 🎊
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for fastapi-serve-0.0.2.dev18.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63550711b8a597af20c1f5f4522deabebc87aa34afd9743b8a5df54c3de40ba4 |
|
MD5 | 40779eca06bed2f4929683891227a76a |
|
BLAKE2b-256 | 13516ae15f3cada37fdf4e8728544dd8898613478439ce33148ef7dc1cfa578a |