This guide provides instructions for deploying the AI Avatar Video application on various free hosting platforms.
Render offers a reliable free tier perfect for this application.
-
Create a Render account at render.com
-
Run the deployment script:
./deploy_to_render.sh
-
Once deployed, your application will be available at a URL like:
https://ai-avatar-video.onrender.com
Free Tier Limitations:
- Spins down after 15 minutes of inactivity
- 512 MB RAM
- 0.1 CPU
- Limited bandwidth
- 1GB persistent disk
Netlify is excellent for static sites with serverless functions.
-
Create a Netlify account at netlify.com
-
Run the deployment script:
./deploy_to_netlify.sh
-
Once deployed, your application will be available at your Netlify domain
Free Tier Limitations:
- 100GB bandwidth/month
- 300 minutes build time/month
- Limited serverless function execution
Railway provides a user-friendly platform with a generous free tier.
-
Create a Railway account at railway.app
-
Run the deployment script:
./deploy_to_railway.sh
-
Once deployed, your application will be available at your Railway domain
Free Tier Limitations:
- $5 credit/month
- 512 MB RAM
- 1 GB disk
- Credit expires after 21 days for new users
Replit is a browser-based IDE with hosting capabilities.
-
Create a Replit account at replit.com
-
Create a new Python repl
-
Import your GitHub repository or upload your files
-
Add a
.replitfile with the following content:run = "python -m uvicorn app.main:app --host 0.0.0.0 --port 8080"
-
Click "Run"
Free Tier Limitations:
- Limited compute resources
- Public code by default
- Sleeps after inactivity
GitHub Codespaces provides a development environment and can be used for demos.
-
Push your code to a GitHub repository
-
Click "Code" and select "Open with Codespaces"
-
In the terminal, run:
./run_standalone.sh
-
Use port forwarding to access your application
Free Tier Limitations:
- 60 hours/month of usage
- 15GB of storage
- Not meant for production deployment
- Storage Limitations: Free tiers have limited storage. Consider using external storage services for production.
- Performance: Free tiers often have limited CPU and RAM.
- Inactivity Timeouts: Most free services shut down after periods of inactivity.
- Database Persistence: Ensure your SQLite database is in a persistent storage location.
For the most reliable experience, consider running the application locally:
./run_standalone.shThis will run the application on your local machine without any cloud service limitations.