Pass the environment name to the ec2 task so it launches instances per environment. Set an Environment tag on the instance with the environment name.