<aside> 💡 Estimated Time 30 min
</aside>
Deploy a Ubuntu virtual machine in DigitalOcean. The deployment will include the following
Open up VS Code and connect over SSH to your VM
In the terminal inside VS Code clone the devops_4_hackers repo. If you get stuck the completed code is inside each lab folder.
git clone [<https://github.com/ralphte/devops_4_hackers>](<https://github.com/ralphte/devops_4_hackers>)
Official Terraform documentation for all available options for DigitalOcean. You may need to reference this documentation to complete some parts of this lab.
Let's make an SSH key pair to use with our DigitalOcean instance. Inside VS Code open the terminal and build an SSH key pair.
ssh-keygen
to make a new key-pair. You can call it whatever you like. Below I used the name devops
. For the password, I recommend leaving this empty.vagrant@vagrant:~$ ssh-keygen
Generating public/private rsa key pair.
Enter file in which to save the key (/home/vagrant/.ssh/id_rsa): devops
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in devops
Your public key has been saved in devops.pub
The key fingerprint is:
SHA256:wouqscD8qJ0yW1ZaH4EuybdvBimc9Li4aTzcS2R1Qyo vagrant@vagrant
The key's randomart image is:
+---[RSA 3072]----+
| . |
| .o |
| E.o.o |
| ..oo.... |
| o+*=.+ S |
|o B*++ + |
|=+=+o.o |
|=%=+ .o |
|XB=o.o. |
+----[SHA256]-----+