You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used the GitHub search to find a similar question and didn't find it.
I searched in the documentation/README.
I already searched in Google "How to do X" and didn't find any information.
I already read and followed all the tutorial in the docs/README and didn't find an answer.
Commit to Help
I commit to help with one of those options 👆
Example Code
# Deploy to Vercel using credentials stored in .deployments/.env
fastapi deploy --platform vercel
# Deploy to AWS with custom configuration (if supported)
fastapi deploy --platform aws --config aws.deploy.cfg
Description
This feature request proposes the addition of seamless deployments to various cloud platforms like AWS, Vercel, Render, and potentially others, directly from the FastAPI CLI. This aims to streamline the deployment process for FastAPI applications.
Single Command Deployment: Introduce a command like fastapi deploy that triggers the deployment process.
Credentials Management: Implement a secure way to store platform-specific credentials in a dedicated .deployments/.env file outside the main project directory. This ensures sensitive information isn't accidentally committed to version control.
Platform Selection: Allow users to specify the target deployment platform (e.g., fastapi deploy --platform vercel).
Pre-Deployment Configuration: Optionally, consider the potential for platform-specific configuration options through flags or a separate configuration file.
Benefits:
Simplified Workflow: Reduces complex deployment steps and streamlines the process.
Improved Developer Experience: Offers a user-friendly and centralized deployment experience.
Increased Portability: Enables deployment across multiple cloud platforms with minimal code changes.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
First Check
Commit to Help
Example Code
Description
This feature request proposes the addition of seamless deployments to various cloud platforms like AWS, Vercel, Render, and potentially others, directly from the FastAPI CLI. This aims to streamline the deployment process for FastAPI applications.
Operating System
Linux
Operating System Details
CPU: i3 5th gen
GPU: i-gpu
RAM: 8 GB
SSD: 256 GB
HDD: 1 TB
Python Version
Python 3.10.12
Additional Context
Desired Functionality:
Credentials Management: Implement a secure way to store platform-specific credentials in a dedicated .deployments/.env file outside the main project directory. This ensures sensitive information isn't accidentally committed to version control.
Pre-Deployment Configuration: Optionally, consider the potential for platform-specific configuration options through flags or a separate configuration file.
Benefits:
Beta Was this translation helpful? Give feedback.
All reactions