- Create linode API token https://cloud.linode.com/profile/tokens
- Generate ssh keypair:
ssh-keygen -t rsa
- Add keypair to current account
- create terraform/terraform.tfvars file. Template:
token = "linode token goes here"
authorized_keys = "previously create ssh key's public key goes here. starts with ssh-rsa"
root_pass ="super secure password goes here"
- install terraform
- install ansible
cd terraform
terraform init
terraform apply
cd ansible
ansible-playbook install-webserver.yml
- DNS A record needs to be updated using the IP from /ansible/hosts