You can create your own AMI with Docker running on it. The AMI has the following requirements:
- Can be any Linux flavor that can run Docker
- Requires Docker 1.10+ (download )
You will need to setup the Nirmata agent container on that instance by running the command:
`sudo curl -sSL https://www.nirmata.io/nirmata-host-agent/setup-nirmata-agent.sh | sudo sh -s -- --cloud aws`
Once the instance is setup, create an AMI via the AWS console. This AMI can be used with your Auto Scaling Group or Spot Fleet instances.