Watch your EC2 Windows instance boot

AWS console pick to show screenshot
AWS console pick to show screenshot (click to enlarge)

Old-school admins like me miss the ability to watch a cloud server boot. In the days of real machines if you had a problem at boot time, nine times out of 10 there was a console message that was the clue you needed to fix the issue.

But in the AWS cloud, you can’t connect to your EC2 Windows Server instance until the instance has booted and the Remote Desktop service (termsvcs) has started. A lot can happen between the time EC2 starts the instance and the point at which RDP is ready to accept logins. (Here’s how to setup RDP for EC2 instances running Windows Server.)

Today, I discovered a capability in the AWS EC2 console I didn’t know existed that comes pretty darn close to being able to watch the system boot — and it doesn’t depend on RDP. It might have been there for years but it’s buried and, IMO, in the wrong menu. No matter, it’s a yuuuge (I’m channeling Bernie) feature.

You can see the menu pick in the image above. Make sure to select your Windows EC2 instance, then ActionsInstance SettingsGet Instance Screenshot.

This will produce output like the images below. Note that you can refresh the image. Also notice that the second image is of the console session showing that Windows is ready to accept logins. Once you get to this point, it’s a pretty good bet your EC2 instance has started and that RDP will shortly accept logins.

If you’ve made a bunch a changes to Windows, this can help you figure out if they are preventing the instance from starting correctly.

Here’s an image of a server in the process of booting.

Windows Server EC2 instance booting (click to enlarge)
Windows Server EC2 instance booting (click to enlarge)

And here’s the image when startup is complete.

EC2 Windows Server instance ready to accept RDP logins (click to enlarge)
EC2 Windows Server instance ready to accept RDP logins (click to enlarge)

Posted

in

, ,

by

Comments

6 responses to “Watch your EC2 Windows instance boot”

  1. guilherme martins Avatar

    Nice Article,

    And how do I select an option in the boot options?

    Thx

    1. Alex Neihaus Avatar
      Alex Neihaus

      Thanks!

      You can’t select a boot option — the AWS Console simply displays whatever the console session is showing.

      Sorry… 🙂

  2. Jason Oliver Avatar

    Great post for a function that was only released last week.

    1. Alex Neihaus Avatar
      Alex Neihaus

      Thank you very much!

  3. Tomek Avatar
    Tomek

    This functionality was launched in last week.

    1. Alex Neihaus Avatar
      Alex Neihaus

      Thanks for the info and feedback. At least I didn’t miss something that’s so useful, as I thought I might have.

Leave a Reply

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