Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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.

Regards,

James

share|improve this question

1 Answer 1

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

 
discard

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.