If you want to manage the hosts that reside on different networks or the hosts that cannot communicate with bastion hosts in virtual private clouds (VPCs) in a centralized manner, we recommend that you use the network domain feature of Bastionhost. You can configure a proxy server for these hosts, create a network domain in the console of a bastion host, and then connect the network domain to the proxy server. This way, you can use the proxy server to perform O&M operations on other hosts. This topic describes how to use the network domain feature.
Background information
The network domain feature provides the optimal O&M solutions for hybrid cloud scenarios. For example, you can use the feature to perform O&M operations on hosts across data centers, heterogeneous clouds, and VPCs. In most cases, the hosts of an enterprise are deployed in different regions and may fail to communicate with a bastion host. To resolve this issue, you can use public IP addresses or leased lines to connect to the hosts. However, public IP addresses may pose security risks whereas leased lines cause high network costs. In this case, we recommend that you use the proxy mode of the network domain feature to perform O&M operations on the hosts that reside in different networks in a centralized manner. The proxy mode is supported by Bastionhost Enterprise Edition. The hosts include those that are deployed in a data center, a heterogeneous cloud, and different VPCs.
For more information about the best practices of O&M solutions by using the proxy mode of the network domain feature, see Best practices of hybrid O&M.
Prerequisites
A proxy server is configured for the hosts on the same network. For more information about the recommended configurations for proxy servers, see Recommended configurations for proxy servers.
Limits
- Only Bastionhost Enterprise Edition supports the proxy mode of the network domain feature.
- The network domain feature supports SSH, HTTP, and SOCKS5 proxies.
Recommended configurations for proxy servers
You can configure SSH, HTTP, or SOCKS5 hosts as the primary and secondary proxy servers. Then, you can use the proxy servers to perform O&M operations on other hosts. The following table describes the recommended configurations for proxy servers.
SSH proxy servers
Parameter | Description |
---|---|
Operating system | A Linux host for which SSH is enabled. |
Configuration method | You can use Linux hosts as SSH proxy servers without the need to install components or complete configurations on the Linux hosts. |
CPU and memory specifications | 2 cores and 4 GB of memory. |
Bandwidth | 10 Mbit/s.
Note The actual bandwidth usage varies based on the number of concurrent O&M sessions.
If you initiate multiple sessions to perform complex GUI-based operations from a remote
desktop, bandwidth usage may spike, and remote sessions may freeze. In this case,
we recommend that you purchase extra bandwidth for your bastion host.
|
HTTP and SOCKS5 proxy servers
Parameter | Description |
---|---|
Operating system | A host that runs CentOS 6.9 or later. |
Configuration method | For more information, see How do I configure a server as an HTTP or SOCKS5 proxy server?. |
CPU and memory specifications | 2 cores and 4 GB of memory. |
Bandwidth | 10 Mbit/s.
Note The actual bandwidth usage varies based on the number of concurrent O&M sessions.
If you initiate multiple sessions to perform complex GUI-based operations from a remote
desktop, bandwidth usage may spike, and remote sessions may freeze. In this case,
we recommend that you purchase extra bandwidth for your bastion host.
|
Create a network domain
To use your bastion host to perform O&M operations on multiple hosts in a network domain, you must create a network domain for the bastion host and connect the network domain to a proxy server.
Add hosts
After you create a network domain, you can add hosts to the network domain.
Edit a network domain
You can edit the basic information about a network domain. You can also add hosts to or remove hosts from a network domain.
What to do next
- Authorize users to manage hosts. For more information, see Authorize a user to manage hosts and Authorize a user to manage host groups.
- Perform O&M operations on the hosts. For more information, see Perform O&M operations on hosts.