Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7905519
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T10:30:40+00:00 2026-06-03T10:30:40+00:00

I have an EC2 instance, which is able to connect to my RDS instance,

  • 0

I have an EC2 instance, which is able to connect to my RDS instance, yet its elastic IP does not appear in the DB security group of whitelisted IP’s.

How might this be?

I ask because I have created a new instance, which I also want to whitelist and just entering its elastic IP does not seem like the way to do things since none of the other servers have their elastic IP listed.

Thanks in advance,

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T10:30:41+00:00Added an answer on June 3, 2026 at 10:30 am

    There might be two causes here:

    Traffic Sources

    Security Group Rules do not necessarily specify IP addresses as traffic sources alone, rather regularly will refer to other security groups as well:

    The source can be an individual IP address (203.0.113.1), a range of
    addresses (e.g., 203.0.113.0/24), or an EC2 security group. The
    security group can be another group in your AWS account, a group in
    another AWS account, or the security group itself.

    By specifying a security group as the source, you allow incoming
    traffic from all instances that belong to the source security group
    .
    […] You might specify another security group in your account if you’re creating a
    three-tier web service (see Creating a Three-Tier Web Service).

    [emphasis mine]

    Consequently, the DB security group of your Amazon RDS instance might refer to the EC2 security group used for your Amazon EC2 instance, implying respective access rights already. See my answer to AWS – Configuring access to EC2 instance from Beanstalk App for more details regarding this concept/approach.

    Public vs. Private IP Addresses

    You might see the effect of a little known, but nonetheless important and quite helpful feature of the AWS DNS infrastructure, see section Public and Private Addresses on page Using Instance IP Addresses:

    Amazon EC2 also provides an internal DNS name and a public DNS name
    that map to the private and public IP addresses respectively. The
    internal DNS name can only be resolved within Amazon EC2. The public
    DNS name resolves to the public IP address outside the Amazon EC2
    network and the private IP address within the Amazon EC2 network
    . [emphasis mine]

    That is, it’s resolving the public DNS (e.g. ec2-xxx-xxx-xxx-xxx.compute-1.amazonaws.com) to the private IP address when you are using it inside the Amazon EC2 network, and to the public or elastic IP address when using it outside the Amazon EC2 network.

    Accordingly, the various AWS products are usually wired up between each other by means of their private IP Addresses rather than external ones for a variety of reasons, most importantly network speed and cost (see my answer to AWS EC2 Elastic IPs bandwidth usage and charges for details).

    Consequently, the DB security group of your Amazon RDS instance might refer to the private IP address of your Amazon EC2 instance, implying respective access rights accordingly.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an ec2 instance running on amazon which has AMI(ami-1b814f72).Its running RedHat 4.4.4-13
Suppose I have an EC2 instance, which I understood is a VM instance. So
We have a MySQL 5.5 Amazon EC2 instance (db.m1.small) which shows storage full in
I have a django test, on an amazon ec2 instance, I see the It
Im trying to implement an Observer/Observable pattern on an EC2 instance. I have been
Using EC2 instances (along with Amazon Auto Scaling and Elastic Load Balancing) I have
I have set up my EC2 infrastructure behind an ELB instance and by using
I have setup a new EC2 instance on AWS and I'm trying to get
We are using a dedicated Amazon Ubuntu ec2 instance as Cron server, which executed
I have strange JRUN issue. I have installed ColdFusion 9.0 on Amazon EC2 instance

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.