Can SQL Server and IIS live happily ever after?
March 17, 2009 6:29 PM
Subscribe
Hosting SQL Server and IIS on the same co-located server: Good idea, bad idea, or terrible idea?
I'm looking to reduce the discrete points of failure on my co-lo'd servers. I've got one machine running SQL Server 2005 (with replication) and a separate machine IIS 6.0, both on Windows Server 2003. Our client software talks to both to SQL Server and IIS via ports that are open to the internet, but the two servers do not currently have any need to communicate with one another. We chose to go with this setup primarily as a security measure to prevent exploits for either of SQL Server or IIS from granting someone trivial access to the other, and to date this has worked pretty well.
If we were to host both SQL Server and IIS on the same box, what can we do to maximize our security given that both must be accessible from the internet? Are there any best practices associated with this, or is it just roundly rejected as a bad idea?
I'll do my best to fill in any details I've left out -- I'm not the IT guy, but I've hopefully enough working knowledge of the configuration to provide more context. Thank you!
posted by JohnFredra to computers & internet (8 comments total)
2 users marked this as a favorite
Really I'd be much more worried about having SQL ports open to the Internet. Some sort of VPN arrangement would seem to be in order there so that you don't have to leave the port open to just anybody.
It's not unusual to have IIS and SQL Server running on the same server as long as the workload is not too outrageous.
posted by FishBike at 6:38 PM on March 17 [1 favorite has favorites]