Using a Web Browser to Log In to Containers for Operations
When you log in to a container using a web browser, the bastion host logs all operations performed and generates audit data.
This section describes how to use a web browser to log in to a managed container.
Precautions
During O&M, bastion hosts automatically record videos for audit. To prevent sensitive information leakage, do not enter sensitive information that is displayed in plaintext during O&M.
Notes and Constraints
Currently, File Transfer is not supported in container operations using a web browser.
Logging In to a Container Using a Web Browser
- Log in to your bastion host system.
- In the navigation pane on the left, choose to go to the operation page. Figure 1 Cloud service operation
- Quickly search for the target container.
- Expand Resource Group on the left to check the resource group view.
In the Personal Resource Group or Public Resource Group area on the left of the content pane, click a resource group name. Then only the container resources in the selected resource group will be displayed in the list. If no resource group is selected, all container resources are displayed by default.
- Above the container list, enter a keyword in the search box to quickly search for resources by container name or server.
- Expand Resource Group on the left to check the resource group view.
- Click Login in the Operation column of the target container to log in to the session.
Common O&M Operation: Collaborative Sharing
You can share a URL to invite other users in the system to view the same session. Participants can perform operations on the session after being approved by the session controller. This function can be used in scenarios such as remote demonstration and consultation on difficult O&M problems.
Notes and Constraints
- Before sharing an operation session, ensure that the network connection between the bastion host and the container resource is normal. Otherwise, the invited user cannot join the session, and the connection error (code: T_514) is reported on the session window of the creator. The error code T_514 indicates that the server does not respond for a long time and the connection is disconnected, and you need to check your network and try again.
- The invitation URL can be copied and sent to multiple users. Only users with the account permissions of the managed resource can open the invitation URL.
- The invited user can join the session only before the URL expires or the session ends.
Procedure
- Go to the container resource session window by referring to Logging In to a Container Using a Web Browser.
- On the Cooperation tab on the right of the session window, click Share to expand the collaborative session page. Figure 2 Start sharing
- Click Invite friend to join this session. The invitation link window is displayed. Figure 3 Inviting a friend
- Click Copy to copy the invitation link. Send it to the user who has permissions for the accounts managed in the bastion host. Figure 4 Inviting a friend
- Log in to the bastion host as the invited user, open a new browser window, and paste the invitation link. Figure 5 Invitation window
- If you are invited, click Enter to join the session.
Table 1 Parameters for session operation Parameter
Description
Apply for control
The invited user can apply for control from the invitation sender. Once approved, the invited user can control the current session.
Exit session
Exit the current session.