I Got Tired of Rebuilding Docker Test Environments, So I Terraform’d It
I’m rebuilding part of my AWS setup and figured this was a good time to write this down instead of relying on memory. Any time I need a clean Docker environment to test images or mess around without breaking anything important, I really don’t want to be clicking through the AWS console or babysitting a server. Usually, the problem is me needing an Ubuntu box, Docker installed, basic access set up. Doing this manually means clicking through EC2, setting up security groups, opening ports, SSH’ing in, installing Docker, and then deciding what to do with the instance when I’m done. ...