Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

1. Accessing the Bastion Server from Your Laptop:

To access the bastion server from your local machine, use the following SSH command:

ssh -i /path/to/private_key.pem username@bastion_server_ip

Example:

ssh -i /home/naresh/naresh_egov.pem naresh_egov@12.13.14.15

2. Copying Files from Local Machine to Bastion Server:

To copy a directory or file from your local machine to the bastion server, use this command:

scp -r -i /path/to/private_key.pem /path/to/local_directory_or_file username@bastion_server_ip:/path/to/remote_directory_or_file

Example:

scp -r -i home/naresh/naresh_egov.pem /tmp naresh_egov@12.13.14.225:/tmp

3. Copying Files from Bastion Server to Local Machine:

To copy a directory or file from the bastion server to your local machine, use this command:

scp -r -i /path/to/private_key.pem username@bastion_server_ip:/path/to/remote_directory_or_file /path/to/local_directory_or_file

Example:

scp -r -i home/naresh/naresh_egov.pem naresh_egov@12.13.14.225:/tmp /home/naresh

  1. Accessing Grafana:

    Open https://Domain-Name/monitoring

  1. Accessing pgadmin:

Open https://Domain-Name/pgadmin

  1. Accessing Kibana:

Open https://Domain-Name/kibana

  1. Accessing playground pod:

Login to Bastion server via ssh command, if kubeconfig is already configured, use the following command to get the shell access to the playground pod

kubectl exec -it <playground-pod-name> -n playground -- /bin/sh

  • No labels