How to connect to your Windows AMI?

    How to start the Windows AMI and get the Administrator password?

    You can find the BitNami AMIs for Windows in the Amazon Management Console. Select the option "Public Images" in the "Viewing" selector and "Windows" platform. Fill in the filter field with the "bitnami" string or you may also try to look for the the latest version putting the identifier shown in the BitNami download page "ami-...".

    Once you have finished the launching process, you should wait until Amazon returns the Windows Administrator password (Please note that this may take several minutes). This password is generated on first boot and should be fetched before stopping the server in order to be able to connect to the machine.

    In case you are using Amazon Console, you should choose "Get Windows Password" option and copy your Amazon private key to decrypt it to the real value.

    Alternatively, you can get the password using the Amazon API tools as follows:

    $ ec2-get-password i-xyz -C path/to/amazon/cert.pem -K path/to/amazon/key.pem -k path/to/server/private/key.pem

    How to connect to the Windows AMI?

    Unlike Linux based Amazon Machine Images, Windows AMIs are not accessible through the SSH protocol. In this case, you will need to use a graphical client in order to access to the machine. Before connecting you should:

    1. Get the auto-generated Administrator password after launching the instance as we described in previous section.
    2. Assure that the security group that you are using has the Remote Desktop Protocol (RDP) port open, that is TCP 3389.

    sec-group.png

    Then, you can use several clients to connect to your Windows AMI.

    linux_platform.png On Linux: You can use rDesktop which usually is installed on most popular Linux distributions (we recommend to use rdesktop 1.7+). You can execute it directly from the command line:

    $ rdesktop -u Administrator -p 'your-password' ec2-xyz.compute-1.amazonaws.com

    win_platform.png On Windows: You can use the Remote Desktop Connection tool which you can find at "Start -> All Programs -> Accessories". The Windows user is "Administrator".

    mac_platform.png On OS X: The Apple Remote Desktop is a commercial tool that you can buy in the App Store. You can use the CoRD tool that you can find at  http://cord.sourceforge.net/

    Once connected, you will see Windows Server desktop like this:

    win-rdesktop2.png

    Tag page (Edit tags)
    • No tags
    Pages that link here
    Page statistics
    21986 view(s), 14 edit(s) and 4378 character(s)

    Comments

    You must login to post a comment.

    Attach file

    Attachments

    FileSizeDateAttached by 
     sec-group.png
    security group for Windows
    37.49 kB11:21, 9 Mar 2011AdminActions
     win-pass-warning.png
    windows AMI password warning
    15.9 kB11:28, 9 Mar 2011AdminActions
     win-pass.png
    windows AMI password
    23.48 kB11:28, 9 Mar 2011AdminActions
     win-pass1.png
    windows AMI password 1
    51.8 kB11:28, 9 Mar 2011AdminActions
     win-rdesktop2.png
    BitNami Windows AMI
    58.58 kB11:45, 9 Mar 2011AdminActions
     win-win.png
    remote desktop connection for windows
    24.37 kB11:39, 9 Mar 2011AdminActions