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