Help Center> Cloud Bastion Host> Getting Started> Step 3: Add Resources into the CBH System

Step 3: Add Resources into the CBH System

Scenarios

The CBH system allows you to centrally manage cloud resources as well as their accounts and permissions. Before start, administrators need to add resources to the CBH system for centralized O&M management.

A host or application resource may have multiple accounts for login. After your resources and their accounts are manged in the CBH system, you can log in to managed resources automatically through managed accounts without having to repeatedly enter the usernames and passwords.

The default account for each resource is Empty. When the Empty account is used, you need to manually enter the account username and password.

Prerequisites

Procedure

Table 1 Methods of adding resources

Resource Type

How to Add

Description

Hosts

Adding a single host

Add hosts one by one.

After the basic information of a host is added, you can add accounts for the host. Account Empty is generated for the host by default if no account is added.

Importing hosts in batches by Excel file

Configure basic information of a host based on the Excel template. You can also configure host account information.

After an account is added for the host, the CBH system will not generate the Empty account.

Importing accounts in batches from a cloud platform

Select a cloud platform that can communicate with the CBH system and import the basic host information and account information of the hosts in the cloud platform.

All accounts of hosts in the cloud platform will be imported. The CBH system will not generate the Empty account.

Automatic discovery of hosts

Automatically discover hosts that can communicate with the CBH system based on IP addresses or IP address segments.

Only host information can be added for automatic host discovery. You need to add accounts for auto-discovered hosts.

Applications

Adding a single application

Add applications one by one.

After the basic information of an application is added, you can add an account for the application. Account Empty is generated for the application by default if no account is added for the application.

Importing applications in batches by Excel file

Configure basic application information based on the Excel template. You can also configure their account information.

After an account is added for an application, the CBH system will not generate the Empty account.

Configuration Description

The values of Protocol and Host Address must be unique. That is, the host to be managed must be unique.

Table 2 Basic information about managed hosts

Parameter

Description

Host Name

User-specified name of a host. The host name must be unique in the CBH system.

Protocol

Type of the protocol used for the hosts.

The enhanced editions of CBH support SSH, RDP, VNC, Telnet, FTP, SFTP, DB2, MySQL, SQL Server, Oracle, SCP, and Rlogin.

The basic editions of CBH support SSH, RDP, VNC, Telnet, FTP, SFTP, SCP, and Rlogin.

Host Address

Host IP address that can be used to establish connection with the CBH system.

  • Select the EIP or private IP address of the host. A Private IP address is recommended.
  • By default, the IPv4 address of a host is required.
  • You can enter either IPv4 address or IPv6 address of a host when the IPv6 address is enabled for the host and the IPv6 network interface is enabled in system configuration in the CBH system.
NOTE:
  • CBH manages host resources on the same VPC network. Therefore, private IP addresses are not restricted by external security policies and access control policies based on network stability and proximity. It is recommended that you set the Host Address to a private IP address on the same VPC network.
  • Using an EIP of a host may result in login failure because EIP is an independent public IP address, which may be blocked by the access restrictions on the port.

port

Port number of the managed host.

OS Type

(Optional) Type of the host OS or device OS.

  • The following OS types are supported by default: Linux, Windows, Cisco, Huawei, H3C, DPtech, Ruijie, Sugon, Digital China sm-s-g 10-600, Digital China sm-d-d 10-600, ZTE, ZTE5950-52tm, Surfilter, and ChangAn.
  • In addition, system administrator admin can customize OS types.
  • For details, see OS Type.

Terminal Speed

Terminal rate. Different terminal speeds can be selected for Rlogin hosts.

Encode

Code used on the host O&M UI. SSH and Telnet hosts support Chinese code.

The value can be UTF-8, Big5, or GB18030.

Terminal Type

Terminal type for O&M. For O&M of SSH and Telnet hosts, different terminal types are available.

The value can be Linux or Xterm.

Options

(Optional) You can select File Manage, Clipboard, or X11 forward.

  • File Manage: This option is supported only by SSH, RDP, and VNC hosts.
  • Clipboard: This option is supported only by RDP hosts.
  • X11 forward: This option is supported only by SSH hosts.

Department

Department to which the host belongs.

Label

(Optional) You can customize a label or select an existing one.

Remarks

(Optional) Provides the description of the host.

Table 3 Basic information about managed applications

Parameter

Description

App Name

Name of an application to be published. The value of App Name must be unique in the system.

AppServer

Select a created application publishing server.

Department

Select the department of the application.

APP Address

(Optional) Enter the address of the application. The value can be an IP address or domain name.

  • If the application is released as a browser, enter the URL of the web page. If the address has a corresponding port, enter the address in URL:Port number format.
  • If the application is released as a database or client, enter the address of the database server.

APP Port

(Optional) Enter the application access port.

  • If the application is released as a database or client, enter the database access port.
  • Leave this parameter blank if the application is released in other formats.

Param

(Optional) Set application parameters.

  • Enter the database instance name if the application is released as a database.
  • Leave this parameter blank if the application is released in other formats.

Options

(Optional) You can select File Manage or Clipboard.

Label

(Optional) You can customize a label or select an existing one.

Remarks

(Optional) Provides the description of the application.