105 points · by joao · 17y ago · 123 comments
But, I've had bad experiences with literally every single host I've ever used (dozens of them), and the longer you stay with a provider, the more likely you are to find a tech having a bad day, or their network fiber getting cut by the utility company, or various other demonstrations of man's fallibility.
I think the good probably still outweighs the bad with Rimuhosting...as Aaron mentioned, they do have a good reputation among many people who ought to know. The horror stories I hear about really bad hosts leave this event in the dust in terms of sheer stupidity and lack of good intentions. If this is the worst you've ever experienced with a hosting provider, count yourself very, very lucky. The data loss stories I've heard, in particular, are enough to keep me awake at night.
In the interest of full disclosure, I'll mention that Rimuhosting is a customer of ours (along with thousands of others). So, if you reckon a commercial relationship worth a few hundred bucks a year would sway my opinions, feel free to take this comment with a grain of salt or not at all.
I'm sorry, but the behavior described in the article is completely unacceptable. I don't care how bad of a day anyone's having, you don't break into your customer's server and shut off Apache without notice.
So, this particular event shows a lack of good judgment on the part of the tech in question, and a lack of common courtesy in not notifying the customer of the issue in advance of taking action...but it is not an illicit act. No "break in" happened here. The options a hosting provider has when things are behaving badly are pretty much all things that a customer will not like. When a dedicated server is compromised and is being used to send spam, for example, the host will simply firewall the whole thing off from the world, shutting down all services. This happens all the time; the effected customer blames the host, sometimes. Sometimes there are other options. In this case, the host opted to turn off one (disputably) offending service rather than kill the whole host. I think we can all agree this wasn't the best way to handle it. Thus my assertion that this is a tech having a bad day (or simply one bad support tech at Rimuhosting, among mostly good ones).
Actually, I think the one thing I'm uncomfortable with is the illusion of propriety (ownership) Rimuhosting has given by saying "You are able to remove that if you are not comfortable with that.", in reference to the ssh key. This is a bit of a disconnect from the reality that under some circumstances, they will have to exert their ownership rights, and there's nothing you can do about it. At some point you just have to trust in the good faith of your provider. But the only alternative to doing what they did (assuming they, in good faith, thought Aaron's VM was damaging service for others), assuming they don't have the ability to throttle Xen instances on this particular machine (maybe it's too old to have that capability, I dunno, or maybe the tech in question didn't actually understand those capabilities; the tech could be new...everybody starts somewhere), would be to turn his VM off completely. From the techs perspective he may have thought he was doing Aaron a favor by leaving mail and other services running.
Again, I'm not arguing it was good judgment on the part of the tech. But to say that Rimuhosting broke into their own machine is ridiculous.
I'm not sure about that. Since the VM is virtual, you could say that they don't own the VM, they own the machine the VM runs on. They can control and manipulate the VM via the container for running them (Xen in this case). But since the VM doesn't physically exist, it could be argued that they don't actually own it, they only rent server capacity to run the VM.
Now, I know that you could similarly argue that they were only reading/modifying a disk image that existed on their server, but that isn't as much fun to argue.
I think that everyone here can agree that this was a dumb move by Rimuhosting. And I'm not sure what the contractual arrangement is when you buy a VPS from them... but what they have posted online doesn't make this very clear.
The question of ownership is interesting in this era of cloud computing (and not at all clear). I think it's clear that they own the bare metal. I think it's also clear that you own your data. However, where those mix is an interesting question. At what point is their (uninvited) intervention in a customer's VM warranted outside of their normal management options in the VM container (Xen)? At what point is the intervention too much?
Does the company matter? I can imagine everyone being up in arms if Amazon tried the same thing with an EC2 instance.
Of course this could all be alleviated by using a dedicated server... but even then, if the hosting company owns the hardware, would it be okay for them to pull a hard drive, and add themselves as root? Never. Ever. But this is effectively what we're talking about. The only difference is that with a dedicated server your actions don't affect others. In a VPS environment, your actions can affect others. But I think that there are far better methods for controlling this than "breaking in" to a customer's VM.
Actually I'd probably demand they stop the instance, so I reckon he got a free kick if they only stopped the offending service.
You can also gracefully limit disk bandwidth and network bandwidth from the dom0, without ever getting a shell in the DomU.
What is at issue is whether the tech should have stopped the instance, or logged in and located and stopped the offending service. The privacy nuts among us (I'm one of them, but with a healthy dose of "hosting industry reality" thrown in for good measure) are crying foul that anyone should ever be able to login to "your" server under any circumstances. The other side of the coin is that a large percentage of hosting customers have no idea what they're doing, and rely on the host to occasionally step in and set things right.
Hosting providers tend to default to stepping in, because that's what the majority of hosting customers want and expect. Rackspace has built a ~$1 billion business on this premise. "Managed hosting" is more expensive because you get this kind of intervention (hopefully in a more positive direction most of the time) on a regular basis.
The only wrong, I think, in this case is that the tech at Rimuhosting did not respect Aaron's specific wish to not allow him to access his box. And, since I know Rimuhosting has a good reputation that spans a decade or so, I must assume it was a mistake made in good faith. It is entirely possible the tech didn't reread the full conversation about the problem, and missed the bit about "over my dead body", and just assumed Aaron would want to keep email spinning while he figured out why his website was causing problems.
To turn this into a huge political struggle is pointless, and casts aspersions on a company that is by most accounts, one of the really good ones in their industry.
Over four years ago, I was helping my father-in-law establish a web presence and e-mail system for his small business. Things were fine on my personal dedicated server but I decided to move their stuff to Yahoo's "proven" business service. One day, I found out everything was removed -- email accounts, web site -- for no explainable reason. The whole sordid affair was documented here:
http://billkatz.com/2005/6/Run-Dont-Walk-from-Yahoo-Small-Bu...
Of course, I write about security professionally. Maybe I have a different perspective on what constitutes unacceptable behavior than you have.
No. Not even close. Rimuhosting owns the box in question. You can't possibly break into your own box.
Of course, I write about security professionally. Maybe I have a different perspective on what constitutes unacceptable behavior than you have.
I work in the hosting industry professionally. I've never been or worked at a service provider, but I've worked for the industry for 12 years as a vendor.
As a security professional, perhaps you can take the other side's view for a moment...
What would you, as a security professional who was dumped into the role of running a hosting data center, do when a box on your network (which has thousands of other boxes) has been rooted and is sending out spam at a rate of a million messages per day, even if you know that your paying customer is not responsible for sending those messages? This much traffic is impacting network performance for others, is spewing filth into the mailboxes of innocent people all over the world, and your customer is unable to stop it or cannot be reached in a reasonable time frame. What do you believe your responsibility would be in such a case?
How about if it is (innocently) DoSing other systems on the network? This happens a lot more than you'd think.
Many people here are suggesting that simply applying resource limits would solve this problem...but that exhibits a lack of understanding of how such resource limits work, and the likely end result for the customer of such resource limiting in the event something has gone wrong. To the customer, a limit on resource usage could very well also result in services becoming unavailable. If you cap CPU at 10%, and your website gets enough traffic to need 90% of the CPU, you'll only be able to serve a small percentage of your clients (and they will wait a long time). The same is true of nearly every resource limit in a hosting environment. If you are using more than your fair share (which I know Aaron has explained he was not; again, probably poor judgment and problem assessment on the part of the tech) then when the limits are imposed, you will be "turned off" for some of your users. You needed those resources to serve all of your requests...you don't have those resources anymore, so you can't serve all of those requests anymore, or if you do, you do so very slowly.
As programmers, you all know there are no silver bullet for solving hard, complex problems. Resource usage in a virtualized environment with untrusted users is a hard, complex problem. No amount of hand-waving about your "rights" makes that less true.
I don't think you're familiar with the common uses of "bordering on".
> What would you, as a security professional who was dumped into the role of running a hosting data center, do when a box on your network (which has thousands of other boxes) has been rooted and is sending out spam at a rate of a million messages per day, even if you know that your paying customer is not responsible for sending those messages?
I'd stop the server without gaining root against the client's wishes, immediately inform the client, and try to get things cleaned up to everyone's satisfaction (except the security cracker who rooted the box, of course). I wouldn't gain root on the box in violation of the client's obvious wishes, particularly after articulating specific policy saying that you can remove my initial root access to the box if you like, and shut down specific services that are making my life difficult for reasons entirely unrelated to the client's running of the site, then send an email later pointing out my policy that fails to mention I might do this.
Privacy is security, after all: http://blogs.techrepublic.com.com/security/?p=293
Nothing you say in your hypothetical examples in any way justifies accessing the customer's data, particularly by breaking in to the system. Shut it down? Sure, if circumstances call for that. Start meddling with server configuration and establish what amounts to a rootkit on the system (in effect, if not in technical truth) without the client's permission? That's just shady.
> No amount of hand-waving about your "rights" makes that less true.
Perhaps you should stop waving your hands about that straw man, then.
would have solved the CPU problem without doing anything more than slowing down the heavy user. Giving each guest a single CPU rather than all CPUs on the box also helps a lot. In fact, if your 'bad' user bought the same percentage of the box as everyone else, if you left the weights at their default levels, that user would get approximately their fair share of CPU.
Tip: if you don't dedicate a core to the Dom0, you will have problems if anyone else uses much cpu, disk, or network.
If you want to do the same for network, simply use tc: http://wiki.xen.prgmr.com/xenophilia/2008/06/traffic-shaping... - if your problem is disk, use ionice: http://wiki.xen.prgmr.com/xenophobia/2008/06/using-ionice1-t...
The whole point of providing Xen instances is that I don't want to muck around in your instance. It pisses you off, and it wastes my time. That's why I'm using xen, and not OpenVZ or some other glorified chroot. From the point of view of a provider, handling everything within the Dom0 not only makes customers more comfortable, it's also less work for you, the provider.
Yes you can; I've broken into my own house before.
Personally, I'd like it if they gave you notice before doing anything to a VPS you may be using so that you have the opportunity to shut things down gracefully.
Even a sudden CPU throttle would be better than shutting down services on the customer's VPS.
Edit: spelling
(mostly because it's clearly going to be in the T&C's)
If I require this level of privacy, I will go with a co-location contract, not a virtual machine. Those are different products with different features. A VM on a shared chassis is hardly a private computer.
Oddly, I have some experience with virtual servers and never had much trouble throttling down an instance that wanted too much resources.
Needless to say, we're moving away from RimuHosting. This is unacceptable.
An excerpt:
"I noticed your VPS was using a lot of CPU. I was not able to log in there, and on the console I saw lots of out-of-memory messages.
I restarted the VPS to make sure it was running in a sane state. I checked the console after a reboot and saw an error indicating some filesystem corruption. I stopepd it again and repaired that. Then replaced the /etc/inittab file which appeared to be corrupted. Now I see that has booted fine."
Same here. I know people who use rimuhosting, they seem happy enough. I use Linode personally but have no real preference. This article smacks of a one-off bad experience which could happen anywhere - and doesn't even seem that bad. It's a VPS, for christ's sake, if you don't like it get a dedi or even better a colo.
In the 2 years I only experienced 20 minutes of downtime recently due to a one-time network hardware upgrade (1 week's advance notice was given - a bit short but forgivable) and another 20 minutes due to a DDoS on their network about 6 months ago (which most likely prompted this recent hardware upgrade :).
I really hope people don't jump to conclusions from a single data point (aaronsw). I would recommend RimuHosting to everyone I know without hesitation.
Their support is unbeatable. Many times they helped me(I'm a dev. not a sys. admin.) for free where other companies would have charged me.
I agree that adding their key on the VPS without talking to you sucks but having a 100% utilisation of your CPU is a bit egoist. That means that nobody on the host machine can burst their share for a quick high-cpu job.
If you want total control over your machine, get a dedicated box. Even then, some hosters demand root access on your box.
I thought selling access to a shared resource without the ability to moderate consumption was the ridiculous bit.
That only makes sense if there is only one other VM on the machine. Which is basically never the case.
EDIT: Or they use a pedestrian virtualization layer.
If there are 8 VPS on a machine and I'm always using 1/8 of CPU time, nobody else can't have access to this 1/8 share. I know that 1/8 of the CPU share "belongs" to me but it's a shared box and it's just being a good neighbour. I appreciate it when I need to run a quick high-cpu on my VPS and I can use more than my 1/8 share of CPU.
There's probably 64 or 128 VPS on one machine.
> and I'm always using 1/8 of CPU time
There's your problem right there. You're believing what you're told by someone selling shared access to a finite resource.
That seems a little silly to me. If they control the hardware, they basically have root already. They shouldn't need root to investigate the alleged problem, of course, but the level of trust you need to grant your VPS provider is essentially the same as giving them root.
You could have most likely also given them an account and appropriate sudoer rights.
* Their cap failed to actually cap his CPU usage. In this case their incompetence is at fault.
* They failed to make the cap restrictive enough. In which case, they should have just further limited his max actual CPU usage.
* The box is actually well oversold on the number of clients that are on it, and there is no possible way to 'cap' someone's CPU usage to within a reasonable level while being able to allow that person to use 100% of their cap without issue. In this case, it's also their fault for over-selling the box and for misrepresenting what a cap means (and their policy regarding caps).
Xen has the ability to cap CPU usage with either hard or soft caps. Most VPS companies seem to use soft caps. That way, if there are 4 instances on the box and each is doing lots of stuff, they'll each get 25%. But if 3 of the instances are mostly idle not using CPU, but one needs more CPU it will be able to use extra. It works out really nicely because it means that your usage can burst at certain times when it's unlikely that your co-habitants are similarly bursting.
So to put it bluntly they are very nice and helpful, but stupid. I wouldn't trust them with my data. But I can see how some customers might prefer them, as there is always a nice person on the other end of the line...
Regardless, doesn't most vps instances have limitations built into their VPS instances? It shouldn't matter to other VPS in that box how much CPU is being used by other VPS, as long as they are within their limitations?
That was my experience with slicehost and other VPS
There's no reason to be assigning VPSes to particular machines in 2009 -- distribute the damn things instead of selling shared hosting like in the bad old days (except this time with VM overhead!).
That said, they were absolutely in the right to do this (except that they should have notified you first...).
I saw that you (or somebody) used the analogy of a landlord and an apartment. Let's explore that further...
Say you are renting an apartment, and the landlord doesn't charge you anything for water (which is pretty common, if not standard). Now, there is a bit of a gentlemen's agreement here. Yes, you have "unlimited" water but, like everything else in life, this needs to have the words "within reason" appended to it.
Now lets say that, for some reason, your apartment was using 10x as much water as everybody else in the building...so much so, in fact, that nobody else in the building could reliably get any water.
Your landlord calls you and says "Hey, joao, would you mind cutting the water back, please? You're kindof using too much", which you ignore.
A couple of months later, again, the landlord calls
"Hey, Joao, you're still using a shit-load of water, and your sortof hogging it all. Some of the other tenants are complaining...if you want, leave a key to your place in the office and we'll go check it out!"
Which you respond "over my dead body".
So, finally, after months and months of you hogging the water, they just use the master key to the building to go into your apartment, where they see that you've had the shower, the sink, and the toilet all running constantly for the last 4 months. They shut them off, then call you
"Hey, joao, yeah, we noticed that you pretty royally messed up and kindof left EVERYTHING in the bathroom on at the same time. Not cool...so we shut it off. Sorry for the inconveinience. BTW, sorry for having to go into your appt. like that, but the other tenants were complaining. Here are some instructions so that you can change the lock on your door an keep us from being able to help you like this in the future. Have a nice day!"
And your response to ignoring their totally legitimate requests for you to stop hogging all the resources is "WHAT A BUNCH OF PRICKS!!"
I think somebody needs to calm down and take a step back from the situation.
These are VPSes here. They can just pause the entire VPS instance, or further cap the CPU usage from what they had already capped it at.
Pausing the VPS instance would have been like locking them out of the apartment completely...
I would much rather have a landlord come into my apartment to turn my faucet off (keep in mind: after I ignored her requests to for MONTHS) than lock me out of it completely.
In this case, they also have given the users the option of the 'master key.' Their ssh key is in the authorized_keys file by default, but the users are allowed to removed it. To me that is a statement to Rimuhosting that this customer would prefer that they did not access his VPS directly.
Had issues from the start. The setup wasn't what I ordered. Once it was setup properly, I started getting alerts from their staff that my VPS's resources were spiking–but this was before I had even logged into the system and done anything. That didn't do much for my confidence in their operation.
Anyway, I canceled with them and will probably use Rackspace as they have UK/European data centers.
On the other hand, when I experienced weird routing problems between my machine and my home, Rimu eventually offered to move me to a more expensive London VPS at the same price, even though the dropped packets were not their fault. So they are willing to go out of their way to make a customer happy.
As I said, a mixed bag. I'm not planning on changing hosts anytime soon.