A SysOps Administrator has deployed an Interface VPC Endpoint for AWS Key Management Service (AWS KMS) to allow Amazon EC2 instances in a private VPC subnet to securely access KMS. The applications on the EC2 instances are configured to use the default service endpoint kms.us-east-1.amazonaws.com. However, they are unable to resolve the hostname to the private IP addresses of the endpoint. Which action will resolve this DNS resolution issue?
- Enable private DNS hostnames for the Interface VPC Endpoint.Cevap
- BAdd a route to the subnet's route table pointing to the Interface VPC Endpoint.
- CAdd a route to the subnet's route table pointing to the Internet Gateway.
- DRoute the AWS KMS traffic through a NAT Gateway in a public subnet.
Cevap
Enable private DNS hostnames for the Interface VPC Endpoint.
Enabling private DNS hostnames creates a Route 53 private hosted zone associated with the VPC. This resolves the public service endpoint hostname to the private IP addresses of the Interface VPC Endpoint's network interfaces, allowing applications to function without changing their destination endpoint URLs.
Adım Adım Çözüm
Anahtar Kavram
Interface VPC Endpoints require Private DNS to be enabled so that standard public endpoint hostnames resolve directly to the private IP addresses of the endpoint's network interfaces.
Tahmini Süre:1m 0s