Oracle RDS Instance Connection Issue

0

Hello everyone.

I'm new into AWS configuration, and I started an Oracle RDS test instance, and need to access it just only once. In the instance configuration, I turned on "Publicly accessible", but even with this change, I can't access it via SQL Developer running in my machine.

I thought that just changing this setting would fix the access problem, since I read:

"RDS assigns a public IP address to the database. Amazon EC2 instances and other resources outside of the VPC can connect to your database. Resources inside the VPC can also connect to the database. Choose one or more VPC security groups that specify which resources can connect to the database."

But, no lucky so far.

What I done wrong, or, what I didn't done?

Any help would be very appreciate.

질문됨 6달 전415회 조회
1개 답변
1
수락된 답변

Does the Oracle RDS instance have a security group that has the correct inbound port open? This is almost certainly TCP port 1521, and should be open for your IP, or wherever you are connecting from (EC2 instance, etc.). It's often best to open this to the world - 0.0.0.0/0 - while troubleshooting, and you can always tighten it up later.

It would also be worth double-checking that the instance was provisioned in a subnet group comprised of all public subnets - a public subnet is one that is reachable from the internet, i.e. has a route in its route tabe to an internet gateway.

profile picture
전문가
Steve_M
답변함 6달 전
profile pictureAWS
전문가
검토됨 6달 전
  • You've hit the nail on the head! That's exactly what was missing. I modified the Security Group and it worked. As it's a temporary and one-off thing, I'll go back to the default settings soon. Thank you!

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠