Ask 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 the database server via the NAT instance. What might you do to remedy this problem?

+4
Answers (1)
  1. 6 March, 02:38
    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 & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers