Ask Question
14 April, 11:19

You have a MySQL database running on an EC2 instance in a private subnet. You can connect via SSH, but you are unable to apply updates to the database server via the NAT instance. What might you do to remedy this problem?

+3
Answers (1)
  1. 14 April, 11:30
    0
    Ensure that "Source/Destination Checks" is disabled on the NAT instance.

    Explanation:

    A NAT (Network Address Translation) instance is, like a bastion host, an EC2 instance that lives in your public subnet. A NAT instance, however, allows your private instances outgoing connectivity to the internet while at the same time blocking inbound traffic from the internet.

    Many people configure their NAT instances to allow private instances to access the internet for important operating system updates. Patching your OS is an important part of maintaining instance level security.

    NAT device enables instances in a private subnet to connect to the Internet or other AWS services, but prevents the Internet from initiating connections with the instances.

    NAT devices do not support IPv6 traffic, use an egress-only Internet gateway instead.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “You have a MySQL database running on an EC2 instance in a private subnet. You can connect via SSH, but you are unable to apply updates to ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers