This document discusses how Puppet can be used to run Docker containers on an AWS EC2 t2.micro instance in a masterless configuration. It covers setting up masterless Puppet with cloud-init userdata to fetch configuration from infrastructure as code. Hiera is used to separate data from Puppet code for automatic parameter lookup. Roles and profiles are implemented to define the Docker host configuration. Modules are fetched from Puppetfile. Stages are used to order execution and Docker is configured using the docker module. In summary, masterless Puppet can help build and configure an EC2 instance to fetch Docker images and run containers defined in Hiera data.