Introduction to Ansible Transcripts
Chapter: Running Playbooks
Lecture: Provision A Server

Login or purchase this course to watch this video and the rest of the course contents.
0:00 First time you sign up for DigitalOcean
0:01 you're going to see this screen, which is for onboarding.
0:04 So let's give this a first project name.
0:06 If you have a project name you want to punch
0:08 in there, go for it, otherwise just call this Ansible Test.
0:11 And they're going to ask you some basic information
0:14 about why you're using DigitalOcean.
0:16 I typically put development and, of course, select Ansible.
0:20 Feel free to check any of these boxes
0:22 that are related to what you're working on.
0:24 My usual stack is Python, use GitHub
0:28 Django, or Flask, some Redis, Postgres, Nginx
0:33 and of course, I always use Twilio in my projects.
0:38 And then when you're ready, hit the start button.
0:40 So DigitalOcean has a bunch of concepts
0:41 such as projects, that allow you to organize
0:43 your servers by application.
0:46 We're not going to be using any of that right now.
0:47 We just need a single droplet
0:49 so you can go ahead and click okay
0:51 and get started with a droplet.
0:53 Our case, we're going to bump up the version
0:55 to 18.04, we want the latest Ubuntu LTS release.
1:01 And one gigabyte of memory is plenty for us.
1:04 Of course, you got $100 free credit
1:05 on the account so feel free to bump up to a bigger server.
1:10 Especially if you're using DigitalOcean
1:12 for most Python projects, getting started
1:15 with a one gigabyte server is usually enough.
1:18 So for me, I usually switch the data center region
1:21 to New York one, just 'cause I'm on the East Coast.
1:23 And then this is crucial, we want to add an SSH key.
1:27 Now if you created one earlier, awesome.
1:29 We can add that here.
1:30 If not, let's walk through how to create an SSH key.