- install Ansible binaries for provisioning
- install Terraform for infrastructure deployment
- create AWS account (free Tier) and create an IAM Administrator user
- install AWS client and register the credentials for Administrative user
- register a Domain on AWS (because we are using SSL Web-Server)
- generate SSL certificate on AWS
- create a SSH Key to use for communication with the instances
All configurable values are stored in terraform/variables.tf. Make sure you check these before attempting to deploy.
change in to the terraform folder and execute "terraform init" followed by "terraform apply"
Name-Server records are not updated locally. To be able to use the URL, I needed to update the Nameserver to AWS, by issuing
sudo systemd-resolve --set-dns=205.251.196.133 --interface=enp3s0
I was then able to call the Web-Page provided by "outputs.tf". Once web page confirmed, I reset it back to my Router DNS
sudo systemd-resolve --set-dns=192.168.128.1 --interface=enp3s0
make sure you use ssh-agent ssh-agent bash check if your key has already been added ssh-add -L add your SSH-Key ssh-add -k You should be able to connect to Bastion using ssh -A @ From there ssh @