To improve the stability and security of the CBH system, there are some restrictions on the use of CBH instances and their mapped CBH systems.
A CBH instance and resources (such as ECSs and cloud databases) managed in the mapped CBH system must be in the same VPC so that the CBH system can communicate with the managed resources directly.
If they are in different VPCs, use a VPC peering connection to connect two VPCs.
Resources managed by an instance must be accessible through the security group to which the instance belongs, and this security group must allow access from the private IP address of the instance.
If an instance and its managed resources belong to different security groups, no communication between them is established by default. To establish a connection, add an inbound rule to the instance security group.
Default ports for a security group: 443 and 2222, which can be accessed through a web browser or SSH client by default. To use other access methods, manually add the destination port.
Scenario Description | Direction | Protocol/Application | Port |
|---|---|---|---|
Accessing a bastion host through a web browser (HTTP and HTTPS) NOTE:
| Inbound | TCP | Ports 80 and 443 |
Accessing a bastion host through Microsoft Terminal Services Client (MSTSC) | Inbound | TCP | 53389 |
Accessing a bastion host through an SSH client | Inbound | TCP | 2222 |
Accessing a bastion host through an FTP client | Inbound | TCP | 2121 and 20000 to 21000 |
Accessing a bastion host through an SFTP client | Inbound | TCP | 2222 |
Remotely accessing Linux cloud servers managed by a bastion host over SSH clients | Outbound | TCP | 22 |
Remotely accessing Windows cloud servers managed by a bastion host over the RDP protocol | Outbound | TCP | 3389 |
Accessing Oracle databases through a bastion host | Inbound | TCP | 1521 |
Outbound | TCP | 1521 | |
Accessing MySQL databases through a bastion host | Inbound | TCP | 33306 |
Outbound | TCP | 3306 | |
Accessing SQL Server databases through a bastion host | Inbound | TCP | 1433 |
Outbound | TCP | 1433 | |
Accessing DB databases through a bastion host | Inbound | TCP | 50000 |
Outbound | TCP | 50000 | |
Accessing GaussDB databases through a bastion host | Inbound | TCP | 18000 |
Outbound | TCP | 8000 and 18000 | |
License servers | Outbound | TCP | 9443 |
Cloud services | Outbound | TCP | 443 |
Accessing a bastion host system through an SSH client in the same security group | Outbound | TCP | 2222 |
SMS service | Outbound | TCP | 10743 and 443 |
Domain name resolution service | Outbound | UDP | 53 |
Accessing PGSQL databases through a bastion host | Inbound | TCP | 15432 |
Outbound | TCP | 5432 | |
Accessing DM databases through a bastion host | Inbound | TCP | 15236 |
Outbound | TCP | 5236 | |
Accessing Redis databases through a bastion host | Inbound | TCP | 16379 |
Outbound | TCP | 6379 | |
Accessing databases through an SSH tunnel | Inbound | TCP | 62222 |
CBH allows you to manage Linux or Windows hosts with the SSH, RDP, VNC, Telnet, FTP, SFTP, SCP, or Rlogin protocol configured.
Database Type | Version | Supported Client |
|---|---|---|
MySQL | 5.5, 5.6, 5.7, and 8.0 | Navicat 11, 12, 15, 16 MySQL Administrator 1.2.17 MySQL CMD DBeaver 22 and 23 (supported by bastion host V3.3.48.0 and later) |
Microsoft SQL Server | 2014, 2016, 2017, 2019, and 2022 | Navicat 11, 12, 15, 16 SSMS 17.6, 18, and 19 |
Oracle | 10g, 11g, 12c, 19c, and 21c | Toad for Oracle 11.0, 12.1, 12.8, and 13.2 Navicat 11, 12, 15, 16 PL/SQL Developer 11.0.5.1790 DBeaver 22 and 23 (supported by bastion host V3.3.48.0 and later) |
DB2 | DB2 Express-C | DB2 CMD command line 11.1.0 |
PostgreSQL | 11, 12, 13, 14, and 15 | DBeaver 22 and 23 |
GaussDB | 2 and 3 | DBeaver 22 and 23 |
DM | DM8 | DM management tool V8 (supported in Build 2023.12.14) |
Redis | 5.0 and 6.0 | redis-cli x64 5.0.9 (git:9414ab9b) |
Only applications on Windows servers and Linux servers can be managed. Table 3 lists the supported operating system versions.
OS Type | Version |
|---|---|
Windows | Windows Server 2008 R2 or later |
Linux | CentOS 7.9 |
Currently, application operation is supported only by x86 CBH instances. Arm CBH instances do not support application operations.
To perform secure operation management through CBH, use a third-party client to log in to the CBH system.
Login Type | Supported Client | Version |
|---|---|---|
Login using a web browser | Microsoft Edge | 44 or later NOTE: When you use Microsoft Edge, the maximum size of a file that can be uploaded to a host is 4 GB. |
Google Chrome | 52.0 or later | |
Safari | 10 or later | |
Mozilla Firefox | 50.0 or later | |
Login using an SSH client | SecureCRT | 8.0 or later |
Xshell | 5 or later | |
Mac Terminal | 2.0 or later |
Operation Method | Resource Protocol Type/Application Type | Supported Client |
|---|---|---|
Database operation (in the Host Operations module) | For details, see Table 2. | |
File Transfer | SFTP | Xftp, WinSCP, and FlashFXP |
FTP | Xftp, WinSCP, FlashFXP, and FileZilla | |
Application operation | MySQL Tool | MySQL Administrator |
Oracle Tool | PL/SQL Developer | |
SQL Server Tool | SSMS | |
dbisql | dbisql | |
Google Chrome | Google Chrome | |
Microsoft Edge | Microsoft Edge | |
Mozilla Firefox | Mozilla Firefox | |
VNC Client | VNC Viewer | |
SecBrowser | SecBrowser | |
vSphere Client | vSphere Client | |
Radmin | Radmin | |
Assets managed by a bastion host can be properly operated and maintained only when the following conditions are met:
The number of assets refers to the number of resources running on a cloud host managed by a bastion host instance. One cloud host may have multiple resources, including protocols and applications running on it. The number of concurrent requests indicates the number of connections established between managed resources and the bastion host system over all protocols at the same time. For more details, see Basic Concepts.