Skip to main content
Draas - How to connect to Druva AWS proxy
Updated over 11 months ago

Overview

While debugging issues with DRaaS you may need to connect to the Druva AWS proxy at times and the Druva support team may request to collect certain logs or enable debug logging.

Procedure title

  • To connect to the Druva AWS proxy you first need to get the ip address or the hostname of the proxy which you can get from the AWS console

  • Also you need to have access to the key pair specified while deploying the AWS proxy. You can also check from the AWS console which key pair is in use for the proxy

  • Once you have the ip address for the proxy and access to the key pair then you can use any ssh client to connect to the proxy.

  • There are many SSH clients available which you can use, refer SSH clients. In this example, we will use putty to connect to the proxy.

  • Next step is to check if port 22 is allowed or not, if not we need to enable port 22 inbound.

  • Need to click on ec2 instance

  • Once we click on the instance, you should navigate to security groups and click on the security group that has been assigned to the Instance.

  • We can see here port 22 is already allowed in inbound rules.

  • If it's not available in the list, just click on “Edit inbound rules”

  • Now it will allow to add or remove the rules

  • Click on “Add Rule”

  • Once we click on Add Rule, it will ask to select Protocol, Then click on SSH protocol from dropdown list , Then port 22 will be selected automatically

  • Then select the “source” column, It usually determines the traffic that can reach your instance. Specify a single IP address, or an IP address range in CIDR notation (for example, 203.0.113.5/32). If connecting from behind a firewall, you'll need the IP address range used by the client computers. You can specify the name or ID of another security group in the same region. To specify a security group in another AWS account (EC2-Classic only), prefix it with the account ID and a forward slash, for example 123456789/OtherSecurityGroup.

  • Windows:

    • PuTTY does not natively support the private key format for SSH keys. PuTTY provides a tool named PuTTYgen, which converts keys to the required format for PuTTY.

    • You must convert your private key (.pem file) into this format (.ppk file) in order to connect to the proxy using PuTTY, refer convert pem to ppk

    • Start PuTTY (from the Start menu, choose All Programs, PuTTY, PuTTY).

    • In the Category pane, choose Session and in the Host Name box enter the ip address of the proxy.

    • Now browse to the key pair you have selected for the proxy

    • Select the key pair and then open the SSH connection, you will be prompted to enter the username which is ubuntu

    • image-20231101-035024.png
  • MAC:

    • For mac you can use a terminal which by default supports SSH connections.

See also

Did this answer your question?