How do I deploy my Flask/ Django project?
Looking to deploy your Python project using Zeet? Great, you can easily deploy your Flask/ Django project to your preferred cloud provider in seconds using Zeet.
Here's everything you need to know about deploying your Flask or Django Project.
Zeet helps you deploy your projects to the cloud in just a few clicks, full with production-grade infrastructure, CI/ CD, and the ability to scale your projects. To use Zeet, you first need to connect a cloud account. Head over to https://zeet.co/console/clouds/view and add a cloud provider to get started.
Blueprints are templates that define how to and where to deploy your projects. The right blueprint for you depends on your use-case and the cloud provider that you have selected.
- Use the AWS Lambda Blueprint if you have an AWS Account and want a Serverless deployment.
- Use the Google Cloud Run Blueprint if you have a GCP Account and want a Serverless deployment.
- Use the Container App Blueprint if you wish to deploy to a cluster.
Serverless Blueprints are a great low-cost option. Both AWS and GCP have a generous free-tier, where you get up to 1 Million requests free every month, and is relatively inexpensive afterwards.
You can check out the Zeet Marketplace to see all official Blueprints.
With your Blueprint selected, you can now start to configure your actual deployment. Check out our official docs for a step-by-step guide on deploying your Flask app using Zeet: https://docs.zeet.co/examples/python/flask/
Ensure that you expose the right Port for your application under Networking settings. Flask projects usually run on Port 5000, and Django projects on Port 8080 or 8000
Here's everything you need to know about deploying your Flask or Django Project.
1. Connecting a Cloud Provider
Zeet helps you deploy your projects to the cloud in just a few clicks, full with production-grade infrastructure, CI/ CD, and the ability to scale your projects. To use Zeet, you first need to connect a cloud account. Head over to https://zeet.co/console/clouds/view and add a cloud provider to get started.
2. Selecting a Blueprint
Blueprints are templates that define how to and where to deploy your projects. The right blueprint for you depends on your use-case and the cloud provider that you have selected.
- Use the AWS Lambda Blueprint if you have an AWS Account and want a Serverless deployment.
- Use the Google Cloud Run Blueprint if you have a GCP Account and want a Serverless deployment.
- Use the Container App Blueprint if you wish to deploy to a cluster.
Serverless Blueprints are a great low-cost option. Both AWS and GCP have a generous free-tier, where you get up to 1 Million requests free every month, and is relatively inexpensive afterwards.
You can check out the Zeet Marketplace to see all official Blueprints.
3. Configure your Deployment
With your Blueprint selected, you can now start to configure your actual deployment. Check out our official docs for a step-by-step guide on deploying your Flask app using Zeet: https://docs.zeet.co/examples/python/flask/
Ensure that you expose the right Port for your application under Networking settings. Flask projects usually run on Port 5000, and Django projects on Port 8080 or 8000
Updated on: 09/08/2023
Thank you!