Windows! SLA! Beta bye-bye! All on Amazon EC2 today!

The cloud is coming of age. Amazon has taken another huge leap forward today by announcing that EC2 is now out of beta, together with an SLA that is evidence of Amazon’s commitment to provide top-notch service. Their uptime has been stellar, and they are now standing behind their offering contractually in a much stronger way, and signaling how customers can set their expectations. Read about the announcement on the AWS blog and on their CTO’s blog.

The advent of Windows on EC2 is welcome news too.  Even though Windows is not typically the OS used for serving highly variable workloads, it is a sign of the cloud maturing that even the more static workloads typical of Windows deployments will be more easily allocated and managed using cloud resources. (Mhh, I wonder whether the Microsoft Professional Developers Conference happening next week has something to do with the timing of the announcement…)

RightScale is of course supporting the new features that enable launching and bundling Windows instances, and we’ll have everything on our production systems within a couple of days. (Update: our Windows support went live the same day as Amazon’s announcement and we’ll be adding some more functionality soon; feedback and suggestions are always appreciated!) In case you’re wondering, EC2 is supporting Windows Server 2003 R2 for the time being. Windows Server 2008 is apparently on the  roadmap but not available at present and it’s apparently against the T&C’s to upgrade on your own.

But let’s shift over to the differences between Windows and Linux instances (apart from the obvious).

Launching

Launching a Windows instance really is no different from launching a Linux instance: you just pick a different machine image (AMI). But once it’s running, the game changes: SSH is not exactly the most popular remote access tool for Windows, so instead you get to use RDP, Windows’ Remote Desktop Protocol. But there’s a catch: what’s the administrator password? Well, Amazon has concocted something I can’t really describe with any other word but a hack: at boot time, the ec2-configuration-service that Amazon added to the Windows AMIs generates an admin password randomly, encrypts it with your SSH private key, and writes it to the console output. You then use a command line tool (or ElasticFox) that reads the console output, locates the encrypted password, and uses your SSH public key to decrypt it. Then you get to type the password into the RDP client. [Expletive deleted...]

We’ll have an RDP button in the RightScale UI that will automate all this and get you into your server with far fewer hassles. Launching an RDP client from the web browser isn’t very smooth, unfortunately, specially as we want to support non-Windows users.

Bundling

Bundling is very different on Windows instances than Linux instances. The Linux approach of creating a loopback filesystem in a file, tar-ing and encrypting up the root disk onto that filesystem and then uploading that to S3 doesn’t quite cut it. Not that the process is all that great under Linux either: it’s one of the most fragile and frustrating aspects of EC2, and one we avoid using as much as possible with our server templates and RightScript mechanism.

For Windows there now is a “please bundle my instance, will you” API call to EC2. Nice! Except for the fact that it will shut the instance down in order to bundle it up! In Amazon’s words: “Internally, it queues the bundling task and shuts down the instance. It then takes a snapshot of the Windows volume bundles it, and uploads it to S3.” The API gets a couple of new calls to start the bundling and then to query on the progress of the bundling.

Of interest here is also the fact that Amazon recommends deleting all temp files using the Windows Disk Cleaner tool, then defragmenting, and finally zeroing the free space using “sdelete.” The last step is presumably because they’re bundling the raw disk partition and not the files in the filesystem and zeroing the unused space reduces the size of the compressed image.

For the RightScale UI we rolled all these API calls into a single bundling button: you press it, we make the calls, EC2 makes it happen, you watch the progress.

Mounting EBS volumes

Another slight difference is mounting Elastic Block Store (EBS) volumes on a Windows instance. You can theoretically attach up to 8 volumes to an instance, and they appear as drive letters ‘a’ through ‘h’. But the local disks also appear using these drive letters, so the low-down is that you can mount 5 EBS volumes on a small instance, 4 on a large, and 2 on an extra-large.

Pre-announced monitoring and auto-scaling services

We’re quite excited about Amazon’s pre-announcement of monitoring and auto-scaling services. The details are still quite sketchy through our sources, but all indications are that they’ll integrate very nicely into the RightScale system, giving our customers the choice of using our monitoring system or Amazon’s or both. We’ve been focusing on all the configuration management and dynamic configuration that needs to occur when doing autoscaling, which is much more than just launching instances when the monitoring system says it’s necessary. On top of that, the architecture of the multi-server deployment must be designed to actually support auto-scaling as well as failure tolerance. This is precisely why we offer our customers server templates for popular software stacks with all the hooks for auto-scaling already in place.

All in all, the announcement amounts to two great leaps forward for the cloud computing world:  broader OS support and a stronger business commitment for EC2.  It seems that cloud solutions get stronger and stronger with each passing quarter.  Of course, managing the increasing complexity through design, architecture and automation remains a critical ingredient in this picture — and one that continues to be our main focus at RightScale.

11 Comments »

  1. Will you offer RightScripts (or something equivalent) on Windows?

    While I don’t think that this would be as powerful on Windows than it is on Linux, it would still allow for some time saving — not having to rebundle for every config change.

  2. Thorsten said

    We’re currently evaluating our options. Running RightScripts in a cygwin environment would be pretty easy to implement. Was that your suggestion?

  3. [...] also has a blog post outlining its take on today’s [...]

  4. [...] More techie details at RightScale. [...]

  5. Thorsten,
    I was thinking about .bat scripts, but I guess that it would work fine under cygwin too. What I would like is to be able to change the configs of the Windows servers without having to rebundle the image every time.

  6. [...] EC2 for Windows (with/without SQL server), althrough they are some specifics which differs from the Linux version; more information on RightScale blog post. [...]

  7. Matthew Wilson said

    Regarding drive letters for EBS volumes, I imagine one could change the drive letters (for all the drives other than C) so that a,b,d,e,f,g,h could be used for EBS volumes…?

  8. Thorsten said

    Matthew: I suspect this is a driver limitation and the drive letters won’t make a difference. Might be worth trying, however.

  9. Samuel said

    PowerShell should definately be installed in your RightImage(s) of Windows and be used for RightScripts on Windows.

  10. Bill said

    Can we expect Server 2008 to be available sooner rather than later?

  11. Any thoughts on an SLA from RightScale?

RSS feed for comments on this post · TrackBack URI

Leave a Comment