Dear Learner,
We hope you are doing well.
Seems like there is some issue with the key file that you are using in Putty. Hence I would suggest you to refer to the below link that would guide you in generating key for an AWS Linux instance and connecting to it using putty.
Hope this helps.
Please feel free to revert if you need any further help we will be glad to assist you.