How to SSH to Public DNS name of AWS instances in vCAC

This example is assuming that vCAC is configured to provision Linux instances to an Amazon availability zone with a VPC configured with public and private subnets and that the Security group is configured to allow SSH traffic. For information on connecting to a private address refer to the following blog post: http://www.vmtocloud.com/how-to-ssh-to-private-dns-name-of-aws-instances-in-vcac/

Note: Connecting to AWS instances via SSH may require modifications to your organizations firewall or you may need to use a proxy server. This lesson is assuming you have direct access to the internet and to Amazon Web Services via the Putty SSH console. This lesson uses Putty.exe and Puttygen.exe. You can download Putty and PuttyGen for free Get PUTTY Here!

You must first enable the “Connect Using SSH Feature” in vCAC, click the link below for instructions

Now let’s get your certificate which you will need to make the SSH connection.

Click the instance you want to connect to so it is highlighted

media_1379364335234.png

Click export certificate in the actions menu

media_1379364400128.png

Save the .pem file to a location on your computer. Take note of where you saved this to.

media_13753125337491.png

Next you will need to use Puttygen.exe to convert the pem file to a Putty Key file.

media_13753130931461.png

You can download Putty and PuttyGen for free Get PUTTY Here!

Open Puttygen.exe and click Load

media_13753131560661.png

Now browse to the .pem file you downloaded from the vCAC Self Service site (Make sure All Files is selected as file type)

media_13753132389351.png

Click Save Private Key

media_13753133603131.png

Click Yes to save without a passphrase

media_13753133943491.png

Give the new key a name and click save

media_13753134595421.png

Now go back to the Self Service portal and right click Connect using SSH from the actions menu

media_1379364517250.png

Select Copy Link Location

media_1379364610269.png

Now launch a Putty.exe session and paste that into the hostname field

media_1379364827556.png

Be sure to delete the ssh:// at the begining of the address. Your SSH session will not connect with this.

Now click the Data Category under connection on the left and enter the username of the AMI (Provided by your IT team)

media_1379365004232.png

Now browse to Connection/SSH/Auth

media_13753139377571.png

Click browse to open Windows explorer and select you Putty key we created earlier

media_13753140148031.png

It should look like this

media_13753140457181.png

Now go back to session and save this session for later use

media_13753140833921.png

Now click open

media_13753141665201.png

Click Yes to the Putty Security Alert

media_13753142028641.png

Your now connected and can begin configuring your new server! Enjoy!

media_1379365117770.png

Leave a Reply

Your email address will not be published. Required fields are marked *

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.