This topic describes how to log on to an ApsaraDB MyBase host by using a bastion host in Linux.
Prerequisites
- MySQL or PostgreSQL is selected as the engine of your ApsaraDB MyBase dedicated cluster.
- The Grant OS Permissions parameter is set to Enabled when you create an ApsaraDB MyBase dedicated cluster. For more information, see Create a dedicated cluster.
- A host account is created. For more information, see Create a host account.
Background information
A bastion host can be used to record the operations of users. All user requests are forwarded by the bastion host. This prevents the database host from connecting to the Internet and ensures the security of the database host. You can use a bastion host to log on to and manage one or more hosts on which your database instances are deployed. You can use a bastion host to log on to multiple database hosts.