Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I was wondering how I can automatically enable access to my RDS server from my EC2 server. I have read that you can do this using keys kept on the EC2 server but I would rather not go that route. Instead I am assuming there is some kind of bankend security setting I can apply to my RDS to allow access from my EC2.

If anyone has done this before and can help, I would really appreciate it.



share|improve this question
up vote 1 down vote accepted

You can use Amazon's DB security group mechanism to control network access to the RDS instance. You'd place the RDS instance in a DB security group, the EC2 instances in an EC2 security group, and allow access to the DB security group from the EC2 security group.

Personally I would still use keys/passwords in addition to this however.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.