Modern Python Projects Transcripts
Chapter: Deployment
Lecture: Platform as a service
Login or
purchase this course
to watch this video and the rest of the course contents.
0:00
If you don't have the skills required to manage your own server, or if you simply don't have time to take care of that and you prefer to
0:09
pay a little extra to, have someone else handle this for you. You should check out the platform as a service solutions. The most popular one is Heroku.
0:19
Heroku will take your code from GitHub or GitLab and deploy it to their own servers. If you need the database or a ready server,
0:27
they also got you covered. They will create and manage a database for you,
0:32
and all you need to do is to modify the configuration of your website and point it
0:37
to use that database. They will also make sure that servers are up to date and there Configuration is secure,
0:44
but you don't get control over their servers. To deploy your application, you need to write a special configuration file that Heroku will
0:52
use, If something goes wrong. It's a bit harder to the budget. In the past, there was no way to ssh to the server with your application
1:00
Now there is, but you still don't get as much freedom as owning your
1:06
own virtual private server. Also scaling up your application with Heroku is much easier than with
1:12
the virtual private server, because all you have to do is to increase the number
1:17
of Web servers in the user interface or in the command line tool that they offer.