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
694 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

+1 vote
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,530 points
631 views
+2 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,830 points
235 views
0 votes
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
686 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
391 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,530 points
615 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,530 points
3,261 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
18,092 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
221 views