#100DaysOfWeb in Python Transcripts
Chapter: Days 65-68: Heroku and Python Platform-as-a-Service
Lecture: What are Heroku addons?

Login or purchase this course to watch this video and the rest of the course contents.
0:00 We have our app pybites100days. Hopefully, you enjoyed getting a basic app into the Heroku cloud and seeing your app come to life in the web browser.
0:13 It's pretty cool, right? Out on the internet. One of the things that will come up eventually as you start to do this more and more
0:20 is you'll need some more advanced functionality from Heroku itself. And to get that, Heroku actually provides a series of add-ons.
0:30 There's actually heaps of them. So let's have a quick look at the list before we jump into a couple and see what we have.
0:38 So just click on the actual app and on the left the first thing you'll see is installed add-ons. Now, why does it have the zero dollars a month?
0:47 Because the add-ons actually run in dynos. Not all of them, but most of them. So what we have here is this app is using free dynos
0:57 so our app, pybites100days is using the free tier, essentially. Nothing we do here is going to cost money. But the add-ons, they may actually do that.
1:10 So let's first go into configure add-ons before we jump ahead, and we can click on find more add-ons. On this screen here, you would see any add-ons
1:20 you have already installed for your app. As you can see here, there are no add-ons for this app. So let's click on find some.
1:29 That'll open up elements.heroku.com/addons And straight-away here, look at this gigantic list.
1:38 So everything is organized in categories here on the left. And we can then go straight through, and you'll find
1:45 pretty much add-ons for anything you can thing of. And if you can't, well then, you can suggest some. You can actually send feedback to Heroku
1:55 and ask them to create something for you. So popping through this list, there are too many here to name, I'm not going to bother.
2:03 What I will show you is the one we are going to touch on in the next video, and that is Heroku Scheduler.
2:14 And this is essentially, if you're familiar with Lynux or Unix, this is essentially Cron. This is something that will run a scheduled task
2:21 every ten minutes, every hour, or every day. When we click on this Heroku scheduler we can then go through and get some detail on what it does.
2:33 And, as they say, this will actually run through a Heroku dyno, so may potentially add some cost to your account.
2:42 Now, what we're doing shouldn't do that, but just in case if you would click this install Heroku Scheduler button
2:49 you will notice that it's actually going to ask us to enter our credit card details, a payment method. So first, let's add the app to Provision 2.
3:01 There's our app pybites100days which using the free add-on plan. Okay, it wants to add that to our pybites100days app.
3:10 And then we click on Provision add-on. And we'll get this pop-up here that says please verify your account to install the add-on.
3:18 And the definition of verify means enter a credit card. And again, that's because this can potentially cost you money, so what you should do
3:29 is go through Heroku Verify. So I'm not going to do this, obviously, for privacy reasons. So, but what you should do
3:38 is go through, edit your credit card number. You will not be charged for really basic stuff here. This is talking about excessive use.
3:47 So just pop that in here and continue forward and we'll have a look at the Heroku Scheduler in the next video.

Talk Python's Mastodon Michael Kennedy's Mastodon