[SPRING] AWS RDS Connection timed out, unable to connect to localhost 연결 오류 해결 방법
문제 상황 DB 연결 문제로 3일을 꼬박 삽질만 했다 ㅎ.ㅎ AWS RDS 데이터베이스를 EC2가 아니라 외부 IP의 MySQL Workbench와 스프링 부트 프로젝트에 연결하고 싶었다. 그러나 Workbench에서는 unable to connect to localhost, 그리고 Spring Boot에서는 connection timeout이라는 연결 오류가 발생했다. 혹시 다른 블로그 글을 따라해보며 AWS RDS의 보안 그룹을 수정하고 퍼블릭 액세스를 허용해봤지만 여전히 connection timeout, unable to connect to localhost와 같은 RDS 연결 오류가 뜬다면 꼭 이 글을 읽어보길 권한다. 해결 방법 일단 차근차근 AWS RDS 생성 과정부터 살펴보자. 1. RDS..