Kubernetes requires 2 cores at a minimum and 20GB disk available down the line when the setup is happening. With hindsights, selecting an AWS Medium instance is the minimum AWS instance size to use and using an EBS volume of 50GB may come handy.
Before performing the docker install, mounting the EBS volume on the folder /var/lib/docker. See https://docs.aws.amazon.com/ebs/latest/userguide/ebs-using-volumes.html for more info
Once the instance is up and running, installing docker onto it will be the first step
I used the article https://docs.docker.com/engine/install/ubuntu/