I created an micro ec2 instance with free tier option. After using it a week, i realized that i need more memory. So, i thought of changing the instance type from micro to small(for which i have to pay per use).
I stopped the instance, changed its type from micro to small and restarted it.
After changing the instance type(to small), i got a new public DNS using which i can access my applications. But im not able to connect to the instance using WinSCP/Putty/Linux shell now. It says "Server refused our key" in windows, "Permission denied (publickey)" in linux.
Can any one help me out of this??