How to allocate IP address in VPC to RDS instance?

0 votes

I have an RDS instance started in a DB Subnet Group in my VPC. This instance has an endpoint of the form someDatabase-db-small.abcd1234.us-east-1.rds.amazonaws.com:3306.

How does one allocate to this instance an IP address in the VPC subnet 10.0.0.0/24?

Oct 31, 2018 in AWS by datageek
• 3,050 points
1,196 views

1 answer to this question.

0 votes

The instance will already have an IP address in that range allocated. Use something like 'dig' command to lookup the IP address of the endpoint from the inside of the VPC and you will get back an IP address from your VPC subnet.

answered Oct 31, 2018 by Archana
• 5,600 points

Related Questions In AWS

+2 votes
1 answer
0 votes
1 answer

How to Pass the VPC ID while creating the Ec2 instance in AWS using Python Boto3

import boto3 ec2 = boto3.resource('ec2') instance = ec2.create_instances( ...READ MORE

answered Jan 29, 2019 in AWS by Priyaj
• 57,660 points
1,011 views
+3 votes
1 answer

How to make the instance IP static in nature? - AWS

Hey @Laksha! By default, all instances have a ...READ MORE

answered Apr 11, 2019 in AWS by Kalgi
• 51,950 points
348 views
+1 vote
1 answer

How to auto-scale MYSQL database in AWS EC2 instance?

You could always use the Amazon RDS ...READ MORE

answered Aug 24, 2018 in AWS by Archana
• 4,150 points
923 views
0 votes
1 answer

How to add IAM role to an existing instance in aws?

As of AWS CLI v1.11.46,  you can ...READ MORE

answered Sep 6, 2018 in AWS by Archana
• 4,150 points
613 views
0 votes
1 answer

In Amazon Data Pipeline, how to make sure only once instance of a pipeline is running at any time?

On the CopyTablesActivity, you could set a lateAfterTimeout attribute ...READ MORE

answered Sep 19, 2018 in AWS by Priyaj
• 57,660 points
882 views
0 votes
1 answer

how to access AWS S3 from Lambda in VPC

With boto3, the S3 urls are virtual by default, ...READ MORE

answered Sep 28, 2018 in AWS by Priyaj
• 57,660 points
4,932 views
–1 vote
1 answer

How to read a csv file stored in Amazon S3 using csv.DictReader

The code would be something like this: import ...READ MORE

answered Oct 25, 2018 in AWS by Archana
• 5,600 points
28,844 views
0 votes
1 answer

How to change new instance tag Name when auto scaling?

You can set up a new Name ...READ MORE

answered Oct 29, 2018 in AWS by Archana
• 5,600 points
683 views