How to run Single Amazon AMI for three different environments, while instance provisioning or waiting state i need to pass my own configuration files.
You can get fancy and launch exactly the same instances, but add a tag to each instance indicating whether it is Dev/Staging/Prod.
The startup script can examine the tag attached to its EC2 instance and then configure itself accordingly.