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