Hi Vinit, do you mean you want to use only one user per box, but different ones on different boxes? Or multiple users on all boxes? Or a certain set of boxes with two users, and the rest with one?
The best way I've found to mitigate needing different users is to set up a standard user which is not any of the service users (on ec2, that's usually ec2-user or ubuntu) with the correct sudo permissions so that they are able to run commands as the service users, and then using "sudo -u USER CMD" in the job. This solves almost all permutations of different users I mentioned above.
If you're running a mix of different distro instances, you could add a standard user which is not ec2-user or ubuntu into the AMI for all distros. "deploy" or "ops" is my standard choice for such a user.
Moses