How to define a bastion host¶
Connect all computes to the admin network (step 1).
Drop the SSHBastionHost component on one compute (step 2). The given compute is now the bastion host.
Also connect the bastion host to the public network.
Note
If you forgot to connect the bastion host to the admin network, the designer will automatically connect it to the admin network for you.
Expected result¶
During the deployment, the orchestration engine creates the security group
Secgroup_BastionHost
on the bastion host, which allowsTCP
incoming traffic on port22
from the remote IP of the orchestration engine. As a result, it can connect to the bastion host over the public network (step 1).The orchestration engine uses the bastion host as a jump host to SSH to the private
Compute_2
in the admin network and deploy the service catalogHelloWorld
(step 2). To accessCompute_2
over the bastion host, the orchestrator creates the security groupSecgroup_Admin
onCompute_2
, which allows incoming traffic from the remoteSecgroup_BastionHost
on port22
. It also enablesTCP forwarding
on the bastion host.After the deployment completes, the orchestration engine deletes the security group rule on the bastion host to prevent any further access to the bastion host.
Note
Auto-select Bastion Host: If users do not define a bastion host explicitly, the designer will auto-select a compute node connecting to the public network as the bastion host. It also warns the users, which compute node is chosen as the bastion host before the deployment: