InfoGrab Docs

MariaDB/MySQL용 Amazon RDS Proxy를 이용한 데이터베이스 접근

MariaDB 또는 MySQL용 Amazon RDS Proxy와 Teleport 데이터베이스 접근을 구성하는 방법.

Teleport can provide secure access to Amazon RDS proxy for MariaDB or MySQL via the Teleport Database Service . This allows for fine-grained access control through Teleport's RBAC . In this guide, you will: Configure your Amazon RDS proxy for MariaDB or MySQL database with IAM authentication. Add the database to your Teleport cluster. Connect to the database via Teleport. How it works # (!docs/pages/includes/database-access/how-it-works/iam.mdx db="RDS Proxy" cloud="AWS"!) (!docs/pages/includes/database-access/auto-discovery-tip.mdx dbType="RDS Proxy" providerType="AWS"!) Prerequisites # (!docs/pages/includes/edition-prereqs-tabs.mdx!) AWS account with RDS Proxy instances and permissions to create and attach IAM policies. Any RDS Proxy instances intended for connection through Teleport must have TLS enabled. A host, e.g., an EC2 instance, where you will run the Teleport Database Service. (!docs/pages/includes/tctl.mdx!) Step 1/6. Install Teleport # (!docs/pages/includes/install-linux.mdx!) Step 2/6. Create a Teleport Database Service configuration # (!docs/pages/includes/tctl-token.mdx serviceName="Database" tokenType="db" tokenFile="/tmp/token"!) (!docs/pages/includes/database-access/alternative-methods-join.mdx!) Create the Database Service configuration. Replace Step 6/6. Connect # Once the Database Service has started and joined the cluster, log in to see the registered database: $ tsh login --proxy= --user=alice $ tsh db ls Name Description Labels -----------------------