Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AWS EC2에서 RDS Connection fail이 발생하는 경우 #12

Open
yunyoung1819 opened this issue Jul 23, 2023 · 0 comments
Open

AWS EC2에서 RDS Connection fail이 발생하는 경우 #12

yunyoung1819 opened this issue Jul 23, 2023 · 0 comments
Assignees
Labels

Comments

@yunyoung1819
Copy link
Owner

상황

  • EC2에서 스프링부트 애플리케이션 기동 시 JDBC Connection Errorr가 발생하는 경우

원인

  • RDS와 AWS EC2 간의 연결되지 않음

해결

ec2와 rds 연결설정

AWS RDS에 EC2 접속 허용하기

  1. AWS Console 접속
  2. Amazon RDS > 데이터베이스
  3. 연결할 데이터베이스 선택 > 작업 > EC2 연결 설정
  4. 애플리케이션이 배포된 EC2와 RDS 연결
@yunyoung1819 yunyoung1819 self-assigned this Jul 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant