RDS instance in private subnet

0 votes

Given a VPC, can I not explicitly mention which subnets the RDS instance should exist?

I have created a VPC 10.0.0.0/24 with three subnets as shown below:

  • REST servers - 10.0.0.0/25

  • RDS - AZ1 - 10.0.0.128/26

  • RDS - AZ2 - 10.0.0.192/26

When creating the DB, I am able to provide the VPC name. It seems, all subnets of this VPC are automatically selected. I am not able to specify the two subnets (as shown in the list above). There is an option for public accessibility which I have set to No. Therefore, even though all subnets seem to be applied for this RDS instance, it seems that, it will be accessible only from the REST servers subnet.

Jul 30, 2018 in AWS by bug_seeker
• 15,510 points
1,554 views

1 answer to this question.

0 votes

You need to create a new subnet group and assign it while creating a new RDS. Make note that existing RDS doesn't reflect when you change the subnet group, hence you need to create a new one.

answered Jul 30, 2018 by Priyaj
• 58,020 points

Related Questions In AWS

+1 vote
1 answer
0 votes
1 answer

How to allocate IP address in VPC to RDS instance?

The instance will already have an IP ...READ MORE

answered Oct 31, 2018 in AWS by Archana
• 5,640 points
2,805 views
0 votes
1 answer

What is the use of a Private Subnet in a VPC?

Private subnets are available across all AWS ...READ MORE

answered Mar 12, 2019 in AWS by Reena Mishra
1,120 views
0 votes
1 answer

Connecting to an EC2 in a Private Subnet

An EC2 created in the Private Subnet ...READ MORE

answered Aug 23, 2019 in AWS by Praveen
• 700 points
3,003 views
+2 votes
1 answer

How to Use Amazon AWS Credentials to Access/Query Tables in AWS RDS Instance through Mobile App

You should make your backend functions to ...READ MORE

answered Aug 28, 2018 in AWS by Priyaj
• 58,020 points
1,334 views
0 votes
1 answer

Creating A New MySQL User In Amazon RDS Environment

AWS RDS security groups documentation (a common ...READ MORE

answered Jul 18, 2018 in AWS by Priyaj
• 58,020 points
2,082 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP