But i came to know that there is no pg_upgrade binary available from amazon repositories.
Just for future reference, you don't *have* to use a packaged version of pg_upgrade. You could compile postgres binaries from source in a temp location, use that pg_upgrade to upgrade your database, and then remove the compiled folder and use the packaged binaries to manage the new cluster.
i want to upgrade my current aws ec2 postgresql9.3 to AWS RDS 9.4 server.
Probably better to move to 9.6 at this point, or 10.1(which will be releasing soon)
Payal