Articles in the ‘MediaTemple’ Category

NEVER host with Media Temple

Friday, April 11th, 2008

Look, the servers are good, the network is good, the pricing is good, its just the support - there isn’t any.

I HAD 4 GridService accounts with them, now I have 1 with them, my average wait time for tech support is about 2 DAYS.

Well I have 2 GS with them still, about to cancel 1 more now since there’s a ticket open right now that’s over 1 DAY old with NO response at all. Typical shit from them.

So yeah, that’s in progress of being canceled. I recommend slicehost.com, engineyard.com and theplanet.com.

So yeah, mediatemple, feel free to go fuck yourself because your lack of a support department has cost me over $2k (client is pissed at me since they can’t respond). Clients eh? Gotta hate them, but can’t always blame them.

Oh also, I just bought a Windows VPS from a company in Australia, there was an issue, I was able to get on to their live support, and talking to a real person - in Australia in about 20 seconds. Problem solved.

Upgrades and maintenance – a necessity

Monday, March 31st, 2008

On top of my server moves, I’ve also gone through the motions of upgrading legacy apps, as well as this blogs wordress and phpbb3 forum.

I don’t know what version of WP I was running before, but this new version is pretty cool, better design and interface, nice and clean, and I’ve upgraded phpbb from 3RC3 to the latest version, 3.0

This re-iterates what I was talking about in my last post, the more apps and sites you have floating around the more sites and systems you have to mange, update and maintain on a monthly basis.

All of my sites are run on some kind of underlying application, be it 3rd party or custom written, and all of them require upgrades and maintenance to keep them running efficiently, and to make sure they aren’t venerable to attacks or hacks.

Spending this time is fine, as long as there’s a benefit, if you have all these sites out there that don’t have any traffic and you’re spending time upgrading them then you’re only taking time away that’s better spent serving other sites – you could be spending an extra hour a day promoting your more profitable sites while your screwing around with un-required maintenance.

Really look at all the sites your running and have a good think about what’s up there of value to you, and what’s just a waste of time and resources, kill them and maximize the time you spend to make your main sites more profitable.

A morning of house cleaning… well, server cleaning

Monday, March 31st, 2008

Having everything organised is important to me, and it should be for almost everyone. There’s nothing worse than having a server die, or system crash and not knowing what’s affected, not having a backup and not knowing what has to be restored.

Aside from a system restore point of view, it’s important in case a server becomes hacked or heavily loaded; it’s good to have your heavily loaded sites on servers that can handle the traffic, or at least have a location for them to move to in a short period of time if one of your sites does become busy.

I’ve spend the first 4hrs of this morning moving sites off 2 of my old dedicated servers and into new virtual server environments. My new virtual servers won’t have hardware failures and won’t need hardware upgrades, additional resources are 1 click scalable and the hardware is spread across multiple servers.

Another part of organisation I like to do with my servers is to remove any sites that are unused, or dead, I like to prune old sites off my servers, rather than letting them linger around for no real reason, I either sell or just delete and let the domain drop.

The fewer sites floating around on my servers the more focus I have on the sites that are actually worth spending time on, rather than having to maintain sites that are a waste of time.

I have a few hundred domains, but actual sites that are operational are around 40. I have designs and systems for close to 100 domains, but I don’t have the time to maintain or market the rest of them, the designs are sitting on our local server for the day when some of the current batch that are operational are shut down or sold off.

I talk about this because my friend just had server die with about 40 sites on it, took him over a week to restore all the sites on a new server, mostly because of bad backups and not knowing what was actually on that server. It was all a bit of a mess, but at least now he’s running on a dedicated virtual server that shouldn’t die anytime soon.

We’re all having the same problem with rails hosting

Sunday, March 16th, 2008

I think the biggest problem with ruby apps is the hosting.

PHP is so easy to host, you can upload it almost everywhere since mod_php is usually deployed by default with apache and php is deployed with every server now days.

Problem with Ruby is that it *can* be memory hungry and there’s ‘installing’ to do on the server side to get it up and running.

On top of that, web hosts either don’t support it, don’t support it well, or charge a lot to support it.

You can pick up an average ruby hosting plan with a plesk or cpanel control panel etc etc, but it’s going to be slow, not only because you’re on a virtual hosts - shared environment but because it’s not setup right, not load balanced and what not.

Just because it says FastCGI doesn’t mean its fast, Lighttpd isn’t all that light, and using a VPS and still using a control panel like plesk to handle your rails isn’t going to solve any issues.

This is where I think Slicehost is *almost* the perfect host for rails projects.

You can easily setup a couple of different slices (virtual servers) in a few minutes, and install SQL on one, and litespeed on the other.

Only downside is that there’s a lot of manual work to get it all 100%, not only on the server side, but on the client side.

Setting up your Capistrano, and other local tasks take time.

If Slicehost dedicated a side of their business to rails deployments, providing Capistrano recipes, deploying servers with litespeed and rails etc pre-installed, you know, like 5-6 different deployment configurations to choose from to get up and running, that should cover the most of what people are after.

Right now most non linux technical people are stuck either learning how to do all these things in linux which is time consuming, and frustrating at times, or people are stuck paying large sums for overrated hosting.

Mediatemple charge like $20 for 64mb of memory, mosso charge $25 for 128mb of memory and engine yard are off the scale with $990 per month + $690 setup… Not to mention engine yard’s $125 per month for 1gb of backup space!

‘Grid’ hosting, load balancing and what not isn’t all that hard to do, and it’s not terribly expensive, I think engine yard are overcharging a bit, but that’s my opinion.

If I ever got into hosting, I’d do the same as slice host but dedicated to ‘LAMP’ deployments on virtual servers, setup a grid over at cari.net and use 3tera to manage the virtual servers.

A few ruby on rails deployments starting this week

Friday, March 14th, 2008

I’m deploying a few new rails projects this week. The biggest issue I have with rails projects is the work that goes into setting up local SVN, Capistrano, an SVN server, application server, web server and a database server.

On top of all that you need to setup Capistrano to deploy to them all, and run some testing etc.

Overall it’s a 2-3 day process. But with the help of litespeed, it’s come down; litespeed has cut a good 6hrs out of it all in my opinion. Realistically it takes a lot of time to do it right, and to test it.

Not to mention the long term advantage of running litespeed, - load balancing, scaling and memory management.

Sure if you really wanted to you can get up and running in under an hour.

But to produce a solid development, staging and production environment with the right setup and infrastructure to last more than a month, it takes time.

I think I’ve put together a nice process to handle it all, I’m going to spend the next few days going through the whole process again from scratch, and I’ll be documenting it, so I’ll probably post it.

The setup I use server wise is:

  • 1x Local development server (Ubuntu 7)
  • 1x hosting account for SVN (I use a media temple grid service account)
  • 1x 512mb slice from slice host (dedicated virtual server, saleable up or down at anytime) for the rails application(s)
  • 1x 256mb slice from slice host (again, dedicated virtual server saleable at any time) for mysql and phpmyadmin.

The slice server virtual servers are also Ubuntu 7.

And as far as software goes, I’m using the normal subversion, ruby 1.8, and what not.

My main difference, and the main difference with everyone when it comes to ruby apps is webservers, I’m using litespeed.

I’m amazed why more people don’t use it.

Go and read about it. I’ll post more about it later. It really kicks the crap out of apache, and nginx.

It runs php 50% faster than apache. And it runs ruby on rails super fast too, and with less memory used. Far less.

Todays Mission: Installing RoR, MySQL and LiteSpeed on SliceHost

Saturday, March 1st, 2008

Ok so I’ve moved hosts for some of our projects and sites.

This is a pretty big thing, at the moment we have a dedicated server with LayeredTech, a VPS with MediaTemple and 2 GridService accounts with MediaTemple.

It’s getting a little messy, so I’m consolidating everything to a MediaTemple VPS and a Slicehost (my new account) 1024 slice.

Forgetting the rest of the move for a bit, and the reasons behind it, let’s talk about slicehost.

I’m 1 day into my hosting experience with them at the moment, and so far I’m learning a lot, and wondering if this was the right choice.

I’m familiar with Linux to a good extent, I’d rate myself a 6/10, I’m no guru but I can do everything we need without any dramas.

The thing with slicehost is that there’s no web control panel as such, there’s no cpanel, or plesk, no way to add domains to an account, no simple web hosting. You have to know what you’re doing and you really have to have a good grasp of Linux before you even think of hosting with them because most of your time will be spent in shell.

Somewhat like MediaTemple where you have a control panel, you can manage your slices and general bits from a web interface, you also have DNS control, but that’s it. No email or anything. It’s very ‘heavy’ on the manual labour side of things, as far as reading and typing to get things setup, not your typical institutive user interface with 3 clicks to get a site up and working.

So all that scary part aside, there’s lots of documentation around for slicehost, so it’s not too bad.

Also, after purchasing my slice it was operational in less than 2 minutes.

At the moment I’ve just installed Ruby, Rails and MySQL, so far so good.

To get this far I’ve used the slicehost wiki on how to gets started with your new Ubuntu slice…

http://wiki.slicehost.com/doku.php?id=get_started_with_your_new_ubuntu_slice

I picked Ubuntu mostly because we run Ubuntu servers for development internally, but it’s also very well supported by Slicehost.

The Ubuntu wiki is pretty big for slicehost, check it out here http://wiki.slicehost.com/doku.php#ubuntu

Next on my list is to get LiteSpeed installed.