Enabling and disabling IBM Storage Scale GUI access by using JumpHost

Learn how the IBM Storage Scale GUI can be accessed or disabled for an IBM Storage Scale cloud cluster.

The IBM Storage Scale GUI can be accessed for an IBM Storage Scale cloud cluster by using the cloudkit grant guiAccess command.

The cloudkit grant guiAccess command opens the corresponding GUI ports in the IBM Storage Scale cloud cluster to access the IBM Storage Scale GUI.

To grant GUI access, enter the following command:
#./cloudkit grant guiAccess
Example:
#./cloudkit grant guiAccess
I: Logging at /root/scale-cloudkit/logs/cloudkit-20-9-2023_0-54-41.log
? Cloud platform name:  GCP
? Cluster name:  ibm-strg-inst01
? Bastion/JumpHost instance login username:  gcpuser
? Bastion/JumpHost instance public ip address:  1.1.1.1
? Bastion/JumpHost SSH private key file path (will be used only for configuration):  /root/scale-cloudkit/data/gcp/ibm-strg-inst01/bastion_ssh_keys/id_rsa
? Bastion CIDR allow list:  1.1.1.1/32
I: Adding firewall rule to allow GUI traffic from client cidr '[1.1.1.1/32]'.
I: Initiating GUI access configuration based on the provisioned resource inventory.
 100% |███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| (4/10, 14 it/min)         
I: Access to GUI service of IBM Storage Scale cluster 'ibm-strg-inst01' has been granted on Port '3126'.
I: IBM Storage Scale GUI: 
	https://35.208.208.244:3126/
I: To use this cluster via REST interface, you can run (an example API): 
	curl -u '<gui_username>:<gui_password>' -X GET -k https://35.208.208.244:3126/scalemgmt/v2/info
[root@exampleserver cloudkit]
To disable GUI access, enter the following command:
#./cloudkit grant guiAccess
Example:
#./cloudkit revoke guiAccess
I: Logging at /root/scale-cloudkit/logs/cloudkit-20-9-2023_0-58-56.log
? Cloud platform name:  GCP
? Cluster name:  ibm-strg-inst01
I: Removing firewall rule 'ibm-strg-inst01-vpc-allow-gui-3126' to revoke GUI traffic.
I: Access to GUI service of IBM Storage Scale cluster 'ibm-strg-inst01' has been revoked.