- Newest
- Most votes
- Most comments
Hi
My understanding is you cannot connect to EC2 despite having Full EC2 permission. And you want to see what configuration is missing?
First, i am not clear how you try to access EC2? Are you using
- EC2 Instance connect?
- Session Manager?
- SSH client?
if you using EC2 instance connect. Ensure the instance allow SSH port and you have proper permission. EC2 full access is not giving this permission, use EC2 Instance Connect. Follow this document
if you using Session Manager, ensure you instal the SSM agent in the EC2 and you have right Session Manager permission. Use SSM permission in addition to EC2 permission. You don't need full EC2 permission. Follow this document.
If you using SSH client, ensure you have the right SSH key. However, given the error you use. I don't think you use this.
I hope it help.
Relevant content
- Accepted Answerasked a year ago
- asked 10 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 9 months ago
- AWS OFFICIALUpdated 2 years ago