Sunday, April 28, 2019

Web Server Hardware - What Do I Need?




I need a web server for static web content, a corporate blog and the company e-commerce system. I have some ideas, but thought of seeking additional feedback from the world's best server pros!



NOTE 1 - the company has around 300 customers, and revenues around $1 Million. Let's see, several hundred users a day, downloading and otherwise viewing our site. I'm hoping the new server will help us boost traffic so I want to give myself something to grow into. So far, I'm looking at something lie:




8-core Opteron
16-32 GB RAM
4 x 1 TB drives (some kind of RAID)
Gigabit LAN



Am I on the right track?



NOTE 2 - This is what I went with:




  • Rackform nServ A161

  • Opteron 6128 2.0GHz, 8-Core


  • 16GB (4 x 4GB) Operating at 1333MHz
    Max (DDR3-1333

  • 2 x Intel 82574L Gigabit Ethernet Controllers

  • Integrated IPMI 2.0 with Dedicated LAN

  • LSI 9260-4i 6Gb/s SAS/SATA RAID

  • 4 X 1TB Seagate Constellation ES Optical Drive:

  • Low-Profile DVD+/-RW Drive Power

  • 350W Power Supply


Answer




Yes, you are on the right track. Most web servers need CPUs, RAM, storage, and network connections.



You need to put more thought into your requirements. Once you have those you can design an architecture and find software that meets those requirements (iterate as needed). The software should have parameterized hardware requirements.



Sizing a server is not an exact science so you should design it with the ability to scale and you should implement monitoring so you know when and where to scale.



Random considerations:




  • Usually having 1 server is not a good idea because there is no redundancy. More generally, what are your availability reqs? Do you need a load balancer?


  • If you are going to run an ecommerce site you usually have a database and it is on a separate system with a firewall between it and the web server.

  • You need to consider security. Do you want to run a wordpress blog on the same server as your ecommerce site?


No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...