Ask Question
30 May, 04:11

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. 30 May, 07:57
    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?
Get 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 there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers