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.
0:05 And for that we used a very simple Fast API website version of our
0:10 uptimer for deploying a website.
0:12 One of the very common solutions is to rent a virtual private server,
0:17 which means that you basically pay to use someone else's Linux server,
0:21 and you need to set it up and configure everything there.
0:24 Just like you did on your Linux or Mac computer.
0:28 Of course, you need to.
0:29 Add some extra security settings because now the server is exposed on the Internet.
0:34 If you don't want to do that and you prefer to,
0:36 pay someone to set up everything for you.
0:39 There are also platform as a service solutions like Heroku.
0:43 They will take care of managing the server for you,
0:46 and you just have to select which code repository you want to deploy and other small
0:51 configuration file, that explains how to run your application and finally,
0:56 something that gains more and more popularity in the past years.
0:59 We have the container solutions like Docker, with Docker,
1:03 You just pack everything that is needed to run your application together and you create an
1:08 image. Then you send this image to a server that has docker installed,
1:12 and docker can take it and run it for you.
1:16 It's a bit more complicated, especially at the beginning,
1:19 but this is the best solution when you want to easily scale your application using tools like kubernetes.