PapelPincel
PapelPincel

Reputation: 4393

Using Route53 as private DNS

I would like to use Route53 as private DNS in order to map hosts to AWS private IP addresses. The hosted zone we are using for testing is not declared in any registrar (company-test.com.).

The ActiveMQ server url is activemq.company-test.com and it maps to (A record) private IP address of the AMQ server. This url is only reachable by other ec2 owned by the same aws account.

My question is how to configure ec2 instances so they could reach the ActiveMQ server WITHOUT having to buy a new domain company-test.com ?

Thank you!

Upvotes: 3

Views: 4267

Answers (1)

GalacticJello
GalacticJello

Reputation: 11445

You could assign an Elastic IP to your ActiveMQ instance.

Elastic IP addresses are static IP addresses designed for dynamic cloud computing. An Elastic IP address is associated with your account, not a particular instance, and you control that address until you choose to explicitly release it. Unlike traditional static IP addresses, however, Elastic IP addresses allow you to mask instance or availability zone failures by programmatically remapping your public IP addresses to any instance associated with your account.

Another option is to set up a Virtual Private Cloud (VPC), and launch your ActiveMQ instance there. Your private IP address will not change on reboot. Another feature of VPC is the use of Elastic Network Interfaces (ENI). You can move the interface between different instances if needed.

Upvotes: 0

Related Questions