- Terraform
- Ansible
- AWS Free Tier Account
- Unix based OS
- Create your ssh-key
- Optain your variables from AWS
- Populate the variables in
secret.tfvars
file - Populate the
PRIVATE_KEY_PATH
in theMakefile
- Verify things like
ami
,instance_type
,region
invariables.tf
- Run
make init
- Run
make
In case the ansible part fail run make connect
to connect to the instance manually. After the connection is done exit and run make playbook
to run the ansible playbook again.