Nishant
Nishant

Reputation: 633

aws deployment, web app on ec2 and ms sql db on RDS

I have deployed .net web application on EC2 instance and database on RDS. what are the changes i need to make in my application so that web app can access database which is on RDS.

Upvotes: 0

Views: 68

Answers (1)

Edcel Cabrera Vista
Edcel Cabrera Vista

Reputation: 1114

You have couple of checklist that you need to do.

  • Make sure your AWS RDS Security Group(SG) InBound Rules allows your EC2 traffic to pass through. You can refer to the below Screenshots on how to navigate to RDS SG
  • Make sure that your RDS DB Instance is in status "Available"
  • Lastly, make sure you have the right Db adapter in your application code that will initiate the connection.

enter image description here enter image description here

Upvotes: 1

Related Questions