Installing terraform and spinning up vms in digital ocean

Terraform is an infrastructure as code software by HashiCorp. It allows users to define a datacenter infrastructure in a high-level configuration language, from which it can create an execution plan to build the infrastructure in a service provider such as AWS , Google Cloud Platform or any cloud providers who enables api access.

#Installing terraform

#accessing the created droplet, when accessed for the first time droplet prompts for changing the root password after this you are ready to use it.

$ssh root@139.59.157.217
root@139.59.157.217's password:
You are required to change your password immediately (root enforced)
Welcome to Ubuntu 14.04.5 LTS (GNU/Linux 3.13.0-143-generic x86_64)

* Documentation: https://help.ubuntu.com/

System information as of Sun Mar 11 10:58:58 UTC 2018

System load: 0.0 Memory usage: 5% Processes: 55
Usage of /: 2.7% of 29.39GB Swap usage: 0% Users logged in: 0

Graph this data and manage this system at:
https://landscape.canonical.com/

Get cloud support with Ubuntu Advantage Cloud Guest:
https://www.ubuntu.com/business/services/cloud

0 packages can be updated.
0 updates are security updates.

New release '16.04.4 LTS' available.
Run 'do-release-upgrade' to upgrade to it.

The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.

Changing password for root.
(current) UNIX password:

Connection to 139.59.157.217 closed.
$ssh root@139.59.157.217
root@139.59.157.217's password:
You are required to change your password immediately (root enforced)
Welcome to Ubuntu 14.04.5 LTS (GNU/Linux 3.13.0-143-generic x86_64)

* Documentation: https://help.ubuntu.com/

System information as of Sun Mar 11 11:00:36 UTC 2018

System load: 0.2 Processes: 74
Usage of /: 2.7% of 29.39GB Users logged in: 0
Memory usage: 5% IP address for eth0: 139.59.157.217
Swap usage: 0%

Graph this data and manage this system at:
https://landscape.canonical.com/

Get cloud support with Ubuntu Advantage Cloud Guest:
https://www.ubuntu.com/business/services/cloud

0 packages can be updated.
0 updates are security updates.

New release '16.04.4 LTS' available.
Run 'do-release-upgrade' to upgrade to it.

Last login: Sun Mar 11 11:00:36 2018 from 106.51.38.183
Changing password for root.
(current) UNIX password:
Enter new UNIX password:
Retype new UNIX password:
Password unchanged
Enter new UNIX password:
Retype new UNIX password:
root@webserver:~#