[Ask HN] Server Security and Hardening. How to non Sysadmins do it?
I have a new web project about to surface for which I'm moving away from Rackspace Sites. After reading around I've decided to opt for a Linode VPS.
The problem is that I have no experience in systems administration and in particular the initial setup and security. In addition this is not something I wish to learn or experiment with right now - I have more than enough on my plate.
I'm considering farming out the initial setup and a monthly maintenance to a third party possibly via Elance.
Has anyone here had any experience with this approach? What are the pitfalls? Is there another method I should consider?
(
6 comments
| 3 points
| on HN
)
Have a look at the following link for example. [1]
[1] http://articles.slicehost.com/2008/4/25/ubuntu-hardy-setup-p...
B) Unless this is a multi user system with the most likely vector of attack is your application itself not system level.
Having said that here are some common tips: run ssh on a nonstandard port, Restrict who can log in via ssh (PermitRootLogin no) and only allow a few people remote access (AllowUsers foo bar) install a firewall (iptables) that blocks all ports except the ones you need publicly available (probably 80, 443).
It is worth taking the time to learn the basics. This is not something you want to outsource to elance.
If Elance is not the place to go does anyone know of any reputable companies or individuals who would be able to offer a service like this? Surely I'm not the only non systems administrator that has faced this issue - or is it as simple as following the steps outlined above and that's generally enough?
The reason I don't want to go with Rackspace is that I've been having intermittent problems with them on Rackspace Sites for a few months. I know their Cloud product is not the same but my experience of their support and the fact that the technical issues haven't been ironed out in a few months hasn't given me a warm and cozy feeling.
There is nothing wrong with outsourcing this to someone who knows what they are doing.