# Facing Some Issues with AWS EC2 Instance Configuration

**URL:** <https://forum.gitea.com/t/facing-some-issues-with-aws-ec2-instance-configuration/9537>\
**Category:** Install/Maintain/Configure\
**Created:** [August 2, 2024, 9:01am UTC](https://forum.gitea.com/t/facing-some-issues-with-aws-ec2-instance-configuration/9537 "2024-08-02T09:01:36Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![davvvidmilller](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/davvvidmilller/32/6135_2.png) [@davvvidmilller](https://forum.gitea.com/u/davvvidmilller)\
**Post date:** [August 2, 2024, 9:01am UTC](https://forum.gitea.com/t/facing-some-issues-with-aws-ec2-instance-configuration/9537/1 "2024-08-02T09:01:36Z")

</div>

Hi Everyone,

I am having trouble with configuring my AWS EC2 instance. I recently launched a new instance but can’t seem to get the correct settings for SSH access. I’ve followed the steps to set up my security group and key pair, but I am still getting “Permission denied” errors when trying to connect via SSH.

Here’s what I’ve done so far ::-

- Created a new EC2 instance
- Associated a security group allowing inbound traffic on port 22
- Added my public key to the key pair

Can anyone suggest what might be going wrong or provide additional troubleshooting steps: ?? I searched this issue on internet and got these results [Troubleshoot Amazon EC2 instance launch issues - Amazon Elastic Compute Cloud](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/troubleshooting-launch.html) [AWS DevOps Tutorial](https://www.igmguru.com/blog/aws-devops-tutorial/) but couldn’t find pretty good solution.

Thanks in advance for your help…! 😀 🙏

David Miller 😀

---

_[View the full topic](https://forum.gitea.com/t/facing-some-issues-with-aws-ec2-instance-configuration/9537)._
