Modern Python Projects Transcripts
Chapter: Course conclusion and review
Lecture: Deployment
Login or
purchase this course
to watch this video and the rest of the course contents.
0:00
In the final chapter, we investigated how we can deploy our application. And for that we used a very simple FastAPI website version of our
0:11
uptimer for deploying a website. One of the very common solutions is to rent a virtual private server,
0:18
which means that you basically pay to use someone else's Linux server, and you need to set it up and configure everything there.
0:25
Just like you did on your Linux or Mac computer. Of course, you need to.
0:30
Add some extra security settings because now the server is exposed on the Internet. If you don't want to do that and you prefer to,
0:37
pay someone to set up everything for you. There are also platform as a service solutions like Heroku.
0:44
They will take care of managing the server for you, and you just have to select which code repository you want to deploy and other small
0:52
configuration file, that explains how to run your application and finally, something that gains more and more popularity in the past years.
1:00
We have the container solutions like Docker, with Docker, You just pack everything that is needed to run your application together and you create an
1:09
image. Then you send this image to a server that has docker installed, and docker can take it and run it for you.
1:17
It's a bit more complicated, especially at the beginning,
1:20
but this is the best solution when you want to easily scale your application using tools like kubernetes.