Best Platforms to Host Python Apps (for free!!)

Patrick Loeber · Intermediate ·🏗️ Systems Design & Architecture ·3y ago

Key Takeaways

The video discusses the best platforms to host Python apps for free, including cloud platforms, VPS hosting, and hidden champions, with resources such as a blog post and GitHub Action template provided.

Full Transcript

hi everyone I'm Patrick and this channel is all about Python and machine learning so as you might have heard Heroku stopped offering their free tier so I thought now is a good time to look into other hosting options so in this video I present you 14 different options that you can use to host and run Python scripts and apps most of them are free so I didn't order this based on any rating or personal preference instead I divided this into three different categories and by the way you can also find this on my website at python minus engineer.com so the first five options are oneclick solutions so these are cloud or infrastructure platforms as a service that make it really easy for you to deploy your apps then we have five Cloud Server options so if you want to have a private Linux machine or VPS and then we have also four hidden chams that you might not have on your radar but that you can also use to host python apps so let's go over all of them together the first option is render that find on render.png or flask app of course also for other language anges and Frameworks then you can deploy static sites background workers Chone shops Docker files databases and private services and let's quickly look into pricing so most of the plans start at $0 a month also the services so this is what you want for a flask app for example and as you can see it starts for free and the next startup plan starts at $7 a month so pretty cool the next option is data that you find on data. sh it's also a cloud platform that makes it really easy for you to deploy your apps here it says it's the cloud for doers and dreamers and they say data is free forever I think because they work on a separate product that they intend to monetize but this one should be free forever and the way it works is that you install the CLI and then you can say data new and deployer apps and what's also cool is that they are a sponsor of fast API so there is a guide how to deploy fast API on data on the official fast API docs and the way it works is you have your app and then you also need the CLI and then say data log in and data new and that's basically all you need so also a pretty cool option the next one is python anywhere.com it was recently acquired by anaconda and it is a pretty well-known service in the python Community because it's been around for quite a while it doesn't look very fancy but it's a very reliable service that is also easy to use and it simply gets the job done you you can also get started for free you get one limited account for one web app at a domain that is under your username Python anywhere.com and if you need more power and also a custom domain you can upgrade for example to only $5 a month so this is also a very cool service next we have Railway that you find on railway. app and I haven't tried it myself before but I've heard a lot of good things about it and it looks pretty cool so it's also a Cloud deployment platform that should get you started in no time so here if you click on start a new project you can either deploy this from GitHub for example or you can select a template they provide a lot of different templates for different Frameworks here for example we see fast API and Chango so this should be super easy to set up and if we have a look at pricing then the startup plan is completely for free even without a credit card and even the developer account account with more power is still free under $5 a month and then you can scale this up if you need more power so I think this is pretty cool and I might try this as the next platform for my next project and then we have Heroku of course so in the beginning I mentioned they just ended their free tier but I still include them here they are still one of the best known Cloud application platforms for developers their infrastructure is still pretty reliable and it's easy to use there was however a security breach this year which was a bit unfortunate especially how they handled this uh I can put a blog post below so you can read about this yourself also right now if we go to pricing they say flexible pricing options but actually nothing other than that here this is a bit weird but like I said their infrastructure is still pretty good so you can make your own choice if you still want to use this or not so yeah these were the five so-called oneclick Solutions I wanted to show you or also the cloud infrastructure platforms as a service if you want to use a different approach and want to have your own private Linux server or VPS then here I have five other options for you so let's quickly go over them we have hser pretty reliable they are the company is based in Germany then we have digital ocean and lenoe so I think they are pretty similar also from the pricing they should be almost the same level you can check this for yourself then we have of course AWS so so for sure it's the biggest player with the most complex infrastructure but if you know your way around in the ecosystem it's pretty great and then of course we have also Google Cloud so yeah here you can get $300 credits for free also um AWS has a free tier if you get started with this for the first time so yeah check them out yourself and compare them I will I can do a different video if you want this then let me know in the comments and yeah now let's look into four more hidden Champs now I have four more options for you that you might not have on your radar because not a lot of people know that we can use these websites to run and host our Python scripts and apps and the first one is repet I'm actually a big fan of repet they have a pretty cool product so at the core it's an online IDE where you can write code and then test this and also share this but you can also use this to host a python app so if you click on pricing in the free plan you get unlimited public reppers so they call this here A repper and then everyone can also see your code and then try this but if you upgrade to the hacker plan for $7 a month you also get unlimited private reppel plus you get these five always on reppel so here you can host anything and keep it running and this is especially cool because then you don't have to worry about deploying at all so you simply code your web app here for example and then you click on run and then this is running all the time and these always on reppel are actually pretty reliable so you can then essentially use this to host a web app and this is pretty cool next we have GitHub yes you can use GitHub to run Python scripts for free you cannot use this to run web apps or other apps that need to be on all the time but you can use this to schedule these one off scripts that run once and then are done and then you can even run this in schedule this multiple times a day and the way it works is with GitHub actions and a Chron schedule and for this I actually created a tutorial before on my Channel that I can link somewhere here I also created this starter template on GitHub that you can check out so it's also not too difficult to set up you simply create this GitHub action and in this case it relies on a Chron schedule so here you can specify whenever this should run and then later here you specify what you want to run and in this case we say Python main.py and this is the main.py file that we upload in the repository and then here we can basically Implement whatever we want and then we can run this for free and the free GitHub plan um offers 2,000 minutes per month most of these actions take less than one minute so you can run multiple scripts multiple times a day for free and this is a super cool option to schedule Python scripts for free then we have hugging face spaces which is intended to deploy machine learning apps and demos so most people know hugging face because of their Transformers library or the many open source models they provide but you can also use these spaces to deploy your machine learning app a space is a special kind of repository that hosts application code for machine learning demos and those applications can be written using python libraries like streamlet or gradio or it also works with a static website but essentially it's right now it's working with streamlet or gradio so if you use this library then you can easily deploy this here on hugging face spaces for free and the last one is the streamlit cloud where you can run streamlet apps so we've just seen hugging face spaces that work with both streamlet and Gro here you can run only streamlet because it's made from the streamlet team themselves and everything is all for free and it's also super easy to set this up when you have your streamlet app so pretty cool and I sometimes use this for personal projects that I want to deploy easily so yeah check them out as well all right so now you should have enough options to choose from if you know any other recommendations that we can use then let us know in the comments and share them with the python community and then I hope to see you in the next video bye

Original Description

Best Platforms to Deploy and Host Python Apps/Scripts - Best Hosting Platforms for Python applications. Blog post: https://www.python-engineer.com/posts/hosting-platforms-for-python/ GitHub Action template: https://github.com/patrickloeber/python-github-action-template Heroku security breach: https://www.protocol.com/bulletins/heroku-github-cyberattack-passwords-stolen Get my Free NumPy Handbook: https://www.python-engineer.com/numpybook ✅ Write cleaner code with Sourcery, instant refactoring suggestions in VS Code & PyCharm: https://sourcery.ai/?utm_source=youtube&utm_campaign=pythonengineer * ⭐ Join Our Discord : https://discord.gg/FHMg9tKFSN 📓 ML Notebooks available on Patreon: https://www.patreon.com/patrickloeber If you enjoyed this video, please subscribe to the channel: ▶️ : https://www.youtube.com/channel/UCbXgNpp0jedKWcQiULLbDTA?sub_confirmation=1 ~~~~~~~~~~~~~~~ CONNECT ~~~~~~~~~~~~~~~ 🖥️ Website: https://www.python-engineer.com 🐦 Twitter - https://twitter.com/patloeber ✉️ Newsletter - https://www.python-engineer.com/newsletter 📸 Instagram - https://www.instagram.com/patloeber 🦾 Discord: https://discord.gg/FHMg9tKFSN ▶️ Subscribe: https://www.youtube.com/channel/UCbXgNpp0jedKWcQiULLbDTA?sub_confirmation=1 ~~~~~~~~~~~~~~ SUPPORT ME ~~~~~~~~~~~~~~ 🅿 Patreon - https://www.patreon.com/patrickloeber #Python Timeline: 00:00 - Intro 00:58 - Cloud Platforms 04:54 - VPS Hosting 06:00 Hidden Champions ---------------------------------------------------------------------------------------------------------- * This is an affiliate link. By clicking on it you will not have any additional costs, instead you will support me and my project. Thank you so much for the support! 🙏
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Playlist

Uploads from Patrick Loeber · Patrick Loeber · 0 of 60

← Previous Next →
1 Lists in Python - Advanced Python 01 - Programming Tutorial
Lists in Python - Advanced Python 01 - Programming Tutorial
Patrick Loeber
2 Tuples in Python - Advanced Python 02 - Programming Tutorial
Tuples in Python - Advanced Python 02 - Programming Tutorial
Patrick Loeber
3 Dictionaries in Python - Advanced Python 03 - Programming Tutorial
Dictionaries in Python - Advanced Python 03 - Programming Tutorial
Patrick Loeber
4 Sets in Python - Advanced Python 04 - Programming Tutorial
Sets in Python - Advanced Python 04 - Programming Tutorial
Patrick Loeber
5 Strings in Python - Advanced Python 05 - Programming Tutorial
Strings in Python - Advanced Python 05 - Programming Tutorial
Patrick Loeber
6 Collections in Python - Advanced Python 06 - Programming Tutorial
Collections in Python - Advanced Python 06 - Programming Tutorial
Patrick Loeber
7 Itertools in Python - Advanced Python 07 - Programming Tutorial
Itertools in Python - Advanced Python 07 - Programming Tutorial
Patrick Loeber
8 Lambda in Python - Advanced Python 08 - Programming Tutorial - Map Filter Reduce
Lambda in Python - Advanced Python 08 - Programming Tutorial - Map Filter Reduce
Patrick Loeber
9 Exceptions in Python - Advanced Python 09 - Programming Tutorial
Exceptions in Python - Advanced Python 09 - Programming Tutorial
Patrick Loeber
10 Logging in Python - Advanced Python 10 - Programming Tutorial
Logging in Python - Advanced Python 10 - Programming Tutorial
Patrick Loeber
11 JSON in Python - Advanced Python 11 - Programming Tutorial
JSON in Python - Advanced Python 11 - Programming Tutorial
Patrick Loeber
12 Random Numbers in Python - Advanced Python 12 - Programming Tutorial
Random Numbers in Python - Advanced Python 12 - Programming Tutorial
Patrick Loeber
13 Decorators in Python - Advanced Python 13 - Programming Tutorial
Decorators in Python - Advanced Python 13 - Programming Tutorial
Patrick Loeber
14 Generators in Python - Advanced Python 14 - Programming Tutorial
Generators in Python - Advanced Python 14 - Programming Tutorial
Patrick Loeber
15 Threading vs Multiprocessing in Python - Advanced Python 15 - Programming Tutorial
Threading vs Multiprocessing in Python - Advanced Python 15 - Programming Tutorial
Patrick Loeber
16 Threading in Python - Advanced Python 16 - Programming Tutorial
Threading in Python - Advanced Python 16 - Programming Tutorial
Patrick Loeber
17 Multiprocessing in Python - Advanced Python 17 - Programming Tutorial
Multiprocessing in Python - Advanced Python 17 - Programming Tutorial
Patrick Loeber
18 Function arguments in detail - Advanced Python 18 - Programming Tutorial
Function arguments in detail - Advanced Python 18 - Programming Tutorial
Patrick Loeber
19 The asterisk (*) operator in Python - Advanced Python 19 - Programming Tutorial
The asterisk (*) operator in Python - Advanced Python 19 - Programming Tutorial
Patrick Loeber
20 Shallow vs Deep Copying in Python - Advanced Python 20 - Programming Tutorial
Shallow vs Deep Copying in Python - Advanced Python 20 - Programming Tutorial
Patrick Loeber
21 Context Managers in Python - Advanced Python 21 - Programming Tutorial
Context Managers in Python - Advanced Python 21 - Programming Tutorial
Patrick Loeber
22 KNN (K Nearest Neighbors) in Python - Machine Learning From Scratch 01 - Python Tutorial
KNN (K Nearest Neighbors) in Python - Machine Learning From Scratch 01 - Python Tutorial
Patrick Loeber
23 Linear Regression in Python - Machine Learning From Scratch 02 - Python Tutorial
Linear Regression in Python - Machine Learning From Scratch 02 - Python Tutorial
Patrick Loeber
24 Logistic Regression in Python - Machine Learning From Scratch 03 - Python Tutorial
Logistic Regression in Python - Machine Learning From Scratch 03 - Python Tutorial
Patrick Loeber
25 Linear and Logistic Regression in 60 lines of Python - Machine Learning From Scratch 04
Linear and Logistic Regression in 60 lines of Python - Machine Learning From Scratch 04
Patrick Loeber
26 Naive Bayes in Python - Machine Learning From Scratch 05 - Python Tutorial
Naive Bayes in Python - Machine Learning From Scratch 05 - Python Tutorial
Patrick Loeber
27 Perceptron in Python - Machine Learning From Scratch 06 - Python Tutorial
Perceptron in Python - Machine Learning From Scratch 06 - Python Tutorial
Patrick Loeber
28 SVM (Support Vector Machine) in Python - Machine Learning From Scratch 07 - Python Tutorial
SVM (Support Vector Machine) in Python - Machine Learning From Scratch 07 - Python Tutorial
Patrick Loeber
29 Decision Tree in Python Part 1/2 - Machine Learning From Scratch 08 - Python Tutorial
Decision Tree in Python Part 1/2 - Machine Learning From Scratch 08 - Python Tutorial
Patrick Loeber
30 Decision Tree in Python Part 2/2 - Machine Learning From Scratch 09 - Python Tutorial
Decision Tree in Python Part 2/2 - Machine Learning From Scratch 09 - Python Tutorial
Patrick Loeber
31 Random Forest in Python - Machine Learning From Scratch 10 - Python Tutorial
Random Forest in Python - Machine Learning From Scratch 10 - Python Tutorial
Patrick Loeber
32 PCA (Principal Component Analysis) in Python - Machine Learning From Scratch 11 - Python Tutorial
PCA (Principal Component Analysis) in Python - Machine Learning From Scratch 11 - Python Tutorial
Patrick Loeber
33 K-Means Clustering in Python - Machine Learning From Scratch 12 - Python Tutorial
K-Means Clustering in Python - Machine Learning From Scratch 12 - Python Tutorial
Patrick Loeber
34 Anaconda Tutorial - Installation and Basic Commands
Anaconda Tutorial - Installation and Basic Commands
Patrick Loeber
35 PyTorch Tutorial 01 - Installation
PyTorch Tutorial 01 - Installation
Patrick Loeber
36 PyTorch Tutorial 02 - Tensor Basics
PyTorch Tutorial 02 - Tensor Basics
Patrick Loeber
37 PyTorch Tutorial 03 - Gradient Calculation With Autograd
PyTorch Tutorial 03 - Gradient Calculation With Autograd
Patrick Loeber
38 PyTorch Tutorial 04 - Backpropagation - Theory With Example
PyTorch Tutorial 04 - Backpropagation - Theory With Example
Patrick Loeber
39 PyTorch Tutorial 05 - Gradient Descent with Autograd and Backpropagation
PyTorch Tutorial 05 - Gradient Descent with Autograd and Backpropagation
Patrick Loeber
40 PyTorch Tutorial 06 - Training Pipeline: Model, Loss, and Optimizer
PyTorch Tutorial 06 - Training Pipeline: Model, Loss, and Optimizer
Patrick Loeber
41 PyTorch Tutorial 07 - Linear Regression
PyTorch Tutorial 07 - Linear Regression
Patrick Loeber
42 PyTorch Tutorial 08 - Logistic Regression
PyTorch Tutorial 08 - Logistic Regression
Patrick Loeber
43 PyTorch Tutorial 09 - Dataset and DataLoader - Batch Training
PyTorch Tutorial 09 - Dataset and DataLoader - Batch Training
Patrick Loeber
44 PyTorch Tutorial 10 - Dataset Transforms
PyTorch Tutorial 10 - Dataset Transforms
Patrick Loeber
45 Download Images With Python Automatically - Python Web Scraping Tutorial
Download Images With Python Automatically - Python Web Scraping Tutorial
Patrick Loeber
46 PyTorch Tutorial 11 - Softmax and Cross Entropy
PyTorch Tutorial 11 - Softmax and Cross Entropy
Patrick Loeber
47 Select Movies with Python - Web Scraping Tutorial
Select Movies with Python - Web Scraping Tutorial
Patrick Loeber
48 PyTorch Tutorial 12 - Activation Functions
PyTorch Tutorial 12 - Activation Functions
Patrick Loeber
49 List Comprehension in Python - A Python Feature You MUST KNOW - Python Tutorial
List Comprehension in Python - A Python Feature You MUST KNOW - Python Tutorial
Patrick Loeber
50 PyTorch Tutorial 13 - Feed-Forward Neural Network
PyTorch Tutorial 13 - Feed-Forward Neural Network
Patrick Loeber
51 How To Add A Progress Bar In Python With Just One Line - Python Tutorial
How To Add A Progress Bar In Python With Just One Line - Python Tutorial
Patrick Loeber
52 PyTorch Tutorial 14 - Convolutional Neural Network (CNN)
PyTorch Tutorial 14 - Convolutional Neural Network (CNN)
Patrick Loeber
53 The Walrus Operator - New in Python 3.8 - Python Tutorial
The Walrus Operator - New in Python 3.8 - Python Tutorial
Patrick Loeber
54 PyTorch Tutorial 15 - Transfer Learning
PyTorch Tutorial 15 - Transfer Learning
Patrick Loeber
55 YouTube Data API Tutorial with Python - Analyze Channel Statistics - Part 1
YouTube Data API Tutorial with Python - Analyze Channel Statistics - Part 1
Patrick Loeber
56 YouTube Data API Tutorial with Python - Find Channel Videos - Part 2
YouTube Data API Tutorial with Python - Find Channel Videos - Part 2
Patrick Loeber
57 YouTube Data API Tutorial with Python - Get Video Statistics - Part 3
YouTube Data API Tutorial with Python - Get Video Statistics - Part 3
Patrick Loeber
58 YouTube Data API Tutorial with Python - Analyze the Data - Part 4
YouTube Data API Tutorial with Python - Analyze the Data - Part 4
Patrick Loeber
59 AdaBoost in Python - Machine Learning From Scratch 13 - Python Tutorial
AdaBoost in Python - Machine Learning From Scratch 13 - Python Tutorial
Patrick Loeber
60 Ultimate FREE Study Guide for Machine Learning and Deep Learning
Ultimate FREE Study Guide for Machine Learning and Deep Learning
Patrick Loeber

The video teaches viewers how to choose the best platform to host their Python apps for free, with a focus on cloud platforms, VPS hosting, and hidden champions. It provides resources such as a blog post and GitHub Action template to help viewers get started.

Key Takeaways
  1. Research cloud platforms
  2. Consider VPS hosting
  3. Explore hidden champions
  4. Read the blog post on hosting platforms for Python
  5. Use the GitHub Action template
💡 There are many free options available for hosting Python apps, and choosing the right platform depends on the specific needs of the project.

Related Reads

📰
Next.js vs Astro in 2026: Which Should You Actually Use?
Learn when to use Next.js vs Astro for your web development projects in 2026 and why it matters for your application's performance and scalability
Dev.to · TheKitBase
📰
Rendering historical events on a Three.js globe with React Three Fiber
Learn to render historical events on a 3D globe using Three.js and React Three Fiber
Dev.to · Furiosa Studio
📰
Is Educative's Original Grokking the System Design Interview Still a Good Place to Learn System Design in 2026?
Learn if Grokking the System Design Interview is still a top resource for system design learning in 2026
Dev.to · Stack Overflowed
📰
The $327 Million Implicit Contract
Learn how a $327 million NASA project failed due to an implicit contract between two systems, highlighting the importance of explicit communication and testing in software development and system design.
Dev.to · Mickael Lamare

Chapters (4)

Intro
0:58 Cloud Platforms
4:54 VPS Hosting
6:00 Hidden Champions
Up next
9-Step Software Architect Roadmap 2026 | System Design | #shorts
SCALER
Watch →