Python for .NET Developers Transcripts
Chapter: Deploying Python web apps
Lecture: Hosting options and trade-offs

Login or purchase this course to watch this video and the rest of the course contents.
0:00 Let's spend a minute and think of the different ways in which we could host our web app and even amongst the different places we might choose
0:09 like Azure, or EC2, or something like AWS something like that. There's actually a bunch of different options in there.
0:15 One option would be to go with Azure and we could pick several varieties in there we could go with a software as a service
0:22 with just their web apps offering or we could get some VMs and run things there. Over here in EC2, or AWS, we could fire some EC2 instances
0:31 and do all sorts of cool things there but we're going to focus specifically on deploying straight to Linux.
0:39 So I guess that would be kind of the VM story over at Azure, but there's better options that than, trust me, just for the infrastructure
0:46 side of things. And I'll make a case for that. We're going to use DigitalOcean, and we're going to deploy to Ubuntu. Why are we going to do that?
0:54 Well put DigitalOcean to the side there for a minute why are we going to deploy directly to Linux? Because if you were going to deploy
1:01 to a platform as a service like Azure web apps or Heroku, or something along those lines you need to know a little bit about the underlying
1:10 infrastructure and how to make that work. And you might have to configure things and so on. To understand all of it, we're going to do it directly
1:17 on Linux, and it turns out to be actually not very hard at all, the most affordable and the most flexible option.
1:22 So the way I see it, if I give you the most powerful outcome, the most flexible and also by the way, the most affordable
1:30 by a long shot way to deploy your app and you just decide, you know, I'd rather put it on Azure and just push the button
1:36 to deploy there, or I'd rather just drop it into Heroku and do a gitpush Heroku for my deploy it's totally fine, and you'll understand
1:43 what a few of the config settings you'll have to deal with will do, but you'll also understand probably what's going on underneath a lot better.

Talk Python's Mastodon Michael Kennedy's Mastodon