AjaxLife changes

The hosted version of AjaxLife has changed significantly – or, at least, will have by the time your DNS cache updates.

To sum up all the changes in a sentence: AjaxLife is now hosted on Amazon AWS.

In more detail:

AjaxLife’s texture cache is in an S3 bucket
This ensures that it won’t get lost, and also that it works comparatively well.

AjaxLife’s static files are in an S3 bucket
Hopefully more reliable than my hosting. Definitely much faster than my hosting.

AjaxLife itself is run on Amazon’s Elastic Compute Cloud
This means that AjaxLife has a bigger server to run on. It also means that, once I’ve figured out the critical number, I can set up the loading system to bring up another server if needed. Another advantage is that AjaxLife should finally self-correct failures – should the AjaxLife server fail, the server it’s running on will be terminated and a new one launched within ten minutes. The servers are configured to load AjaxLife as they boot up.

ajaxlife.net is now on the same server as katharineberry.co.uk
Saves me £35/$70 per month. The new system actually costs more, but is also much more powerful. More on that later.

As such, logging onto AjaxLife should now follow a sequence something like this:

  1. Navigate to ajaxlife.net in your favourite web browser.
  2. You will may receive a message telling you AjaxLife’s down, in which case it should be automatically restored in a few minutes. You will otherwise be redirected to a seemingly random IP
  3. Log on and use as usual

BIG IMPORTANT NOTE THING: The observant among you may notice that AjaxLife no longer uses HTTPS. Don’t worry – your details are still safe. Since HTTPS is a significant contributor to lag between the client and AjaxLife server, not to mention the impracticality of getting SSL certificates for whatever odd hostname the application ends up on (ec2-67-202-36-23.compute-1.amazonaws.com, anyone?), it was dropped. Instead, AjaxLife uses 1024-bit RSA encryption to ensure that your password cannot be read in transit, combined with a challenge/response to ensure it is not susceptible to replay attacks. Although anything past login is not encrypted, this is not actually a loss – they were never passed to SL encrypted anyway. That said, if it bothers you, try https://old.ajaxlife.net/client/ – although the certificate won’t be valid, and it’ll usually be down.

Other changes made with little or no relation to AWS:

  • AjaxLife can now download textures with transparency correctly
  • AjaxLife will pull profile images directly out of SL’s search, for speed reasons. This results in a tiny watermark in the bottom-right corner, however.
  • The minimap seems to work again
  • Updated to libsl 0.3.2

I hope you enjoy the theoretically more reliably service. However, there is another note to add: These improvements cost me money directly proportional to your usage. If you find you use the service frequently, please donate using the button (that will be) in the sidebar. Thanks!

8 Responses to “AjaxLife changes”


  • Thanks for the update, anything that helps Ajaxlife be more stable is good. I donated 20 pounds to help the cause, not much but the most I can afford at the moment, I’ll keep sending what I can.

  • Pretty impressive work for a fledgling :-)

  • I really like how you’ve offered a drop-down box for what grid to connect to!

    Sexy stuff with the elastic cloud and S3.

    We love you!

  • Completely awesome changes! Happy to contribute to the cause. Perhaps you could set paypal up for subscriptions (or nag us once a month!)

  • Hi Katharine, this is a great use of EC2 and S3; nice work! I’d like to talk to you about writing this up as an Amazon Web Services success story; if you are interested please send me an email.

  • I think that HTTPS can be done… have your EC2 instance always register with a dynamic DNS service when it starts up. Then point a human usable CNAME dns entry to that dynamic hostname.

  • Good point – didn’t think of that *slaps head*

    On the other hand, SSL still slows things down (noticably – really, it does!), and I can’t change ajaxlife.net. I’m too cheap to get another domain and associated certificate. Not to mention that I’d then have a mess to sort out when it came to using more than one server, which the current system has no issue with.

  • Oh my, when you said you would implement some kind of server restart mechanism way back, I wasn’t expecting such a major move. By all means, let the Amazon people showcase you, this is awesome :) ! Hugs, Katharine

Leave a Reply