Trying to move service with API to private Subnet in AMAZON VPC

+1 vote

The API we created is Public.

 Accessing from :

We recently moved the service to a private subnet with an Amazon VPC.
 The web application we are hosting on a public instance which communicates through API to this private instance. 

To access the API hosting on the private instance, how do we create an endpoint for it?

Guess, we can access it via XXX.XX.XXX.XXX which is the private IP address of the instance. 
However, we want to access it with a named endpoint such as 
How to do this?
Is this method going to be scalable and reliable?
Is this as easy as editing the /etc/hosts file on the public instance?

May 3, 2018 in AWS by Flying geek
• 3,260 points

1 answer to this question.

0 votes

In such case, you can create a Private Hosted Zone into your Route53 in order to resolve your DNS within you VPC.

Create a Private Hosted Zone in Route53 to resolve DNS names within your VPC.

For more Details, you can check AWS Website mentioning the whole topic:

Cheers :)

answered May 3, 2018 by Cloud gunner
• 4,650 points

Related Questions In AWS

+1 vote
1 answer
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
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
+2 votes
1 answer

Deploy Docker Containers from Docker Cloud

To solve this problem, I followed advice ...READ MORE

answered Sep 3, 2018 in AWS by Priyaj
• 58,140 points
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
0 votes
1 answer

Trying to use GetApiKeys in Amazon SDK

Try using this one:  var client = new ...READ MORE

answered Jun 12, 2018 in AWS by Cloud gunner
• 4,650 points
0 votes
1 answer

Trying to upload data stream in Amazon S3

Try adding the ContentType & ACL in ...READ MORE

answered Jun 28, 2018 in AWS by Cloud gunner
• 4,650 points