InfoGrab Docs

데이터베이스 액세스 문제 해결

Teleport로 데이터베이스를 보호할 때 발생하는 일반적인 문제와 해결 방법입니다.

일반적인 문제와 해결 단계입니다. 연결 시도 실패 # 타임아웃 오류 # 데이터베이스 연결 시도가 **"dial tcp ... i/o timeout"**과 유사한 메시지와 함께 실패합니다. The Teleport Database Service requires connectivity to your database endpoints. Check that firewall rules (e.g., AWS security groups) allow connectivity between the Teleport Database Service and the database endpoint. Inbound firewall rules for the database must allow connections from the Teleport Database Service. Outbound firewall rules for the Teleport Database Service must allow connections to the database endpoint. Debugging connection timeout errors in AWS For deployments in AWS, it may be helpful to use AWS Reachability Analyzer to analyze the network path between the Teleport Database Service and the database. Identify the Elastic Network Interface (ENI) associated with the Teleport Database Service host. This can be found in the EC2 console . Identify the private IP address of the database. Create and analyze a network path: Set the path source to the ENI associated with the Teleport Database Service host. Set the path destination to the database IP. Check the analysis results to identify reachability issues. If your database is registered dynamically or via auto-discovery, repeat the above connectivity test for every * Teleport Database Service instance that proxies this database. To list all Teleport Database Service instances associated with a given database, run the tctl get db_server/<db_name> command. For example: $ tctl get db_server/postgres-instance-