All Products
Search
Document Center

Bastionhost:Manage databases

Last Updated:Mar 31, 2026

After importing databases into your bastion host, you can update self-managed database details, switch the O&M connection address type, and remove databases — all from the Bastionhost console.

Prerequisites

Before you begin, ensure that you have:

  • Administrator access to the Bastionhost console

  • At least one database asset already imported into your bastion host

Open the Database page

All three tasks in this document start from the same entry point. To reach the Database page:

  1. Log on to the Bastionhost console. In the top navigation bar, select the region where your bastion host resides.

  2. In the bastion host list, find the target bastion host and click Manage.

  3. In the left-side navigation pane, choose Assets > Database.

Modify the basic information about a self-managed database

For self-managed databases, you can edit the database instance name, endpoint, and service port directly in the console.

Note For databases imported from your Alibaba Cloud account or a member account, the metadata is owned by the source service — Bastionhost does not manage it. To update their details, go to the corresponding service console.
  1. Open the Database page.

  2. Click the database name in the Database Instance Name column. On the Basic Info tab, update one or more of the following fields, then click Update.

    FieldDescription
    Database Instance NameThe display name for this database asset in Bastionhost
    Database AddressThe hostname or IP address of the database
    Service PortThe port on which the database listens
image

Modify the O&M addresses of databases

The O&M address determines whether the bastion host connects to your database over the public network or the internal network (VPC). Use a public endpoint when the database is accessible from the internet; use an internal endpoint when the database and the bastion host are in the same virtual private cloud (VPC).

  1. Open the Database page.

  2. Select the databases to update, then choose Batch > Change O&M Address.

image
  1. Set Type of Database IP Address to the appropriate value:

    ValueBehavior
    Public EndpointThe bastion host connects to the database using the public O&M address.
    Internal EndpointThe bastion host connects to the database using the internal O&M address.

Remove databases

  1. Open the Database page.

  2. Select the databases to remove, then click Delete below the list. In the confirmation dialog, click Delete.