问题原文
原帖链接 · C-Blu · CC BY-SA 3.0
After searching the web I still can't find the reason to use EC2. What's the point to scale EC2? If you expect a huge burst in traffic, they say.
OK, but what if you already have a couple of sites with good traffic, and for example medium reserved EC2 instance is not enough.
You are paying $36.60(medium reserved for 1year) in EU(Ireland) + traffic + optional expenses for databases and S3 if you use them.
Of course as some point when you are under $56.6-$66.1 you can optimize your hosting costs with Amazon EC2. But when you get at some point if purchase EX4 server from Hetzner, it will surpass your perfomance needs for a long time, before you get a massive traffic. (I am wrong?)
CPU: i7-2600 Quadcore (3.4-3.8 Ghz)
RAM: 16 GB
HDD: 2x3 TB SATA (6 Gbit/s) - I think that disc performance of a dedicated is better then of Amazon EBS
Traffic: 10 TiB in month included. This is what you get from Hetzner for $56(- 19% VAT) or $66 for EU residents.
Please, tell me what's the reason to use Amazon? Which load won't a server from Hetzner take, but Amazon Auto Scaling will?
The maintenance of dedicated vs EC2 is still the same? Or hardware failure at Amazon, won't ruin your EBS storage?
I'm still not at the level when I need expensive hosting, but want to know beforehand, just to be sure if Amazon infrastructure is better then pure performance of Hetzner's hardware.
社区高分解答
原帖链接 · diadem · CC BY-SA 3.0
I use both. You aren't going to get a better bang for a buck than Hetzner anywhere. They are solid as a rock. I'd still rely on a CDN for static content but aside from that, Hetzner is awesome.
EC2 is a different animal. Use it if you have a superbowl ad or something. It's more expensive. It's also a little faster if you need to spin up new nodes.
EC2 is also easier if you are lazy. With Hetzner you'll have to install something like ProxMox to get the same virtual machine benefits as EC2, as well as a little bit of customization.
My recommendation? Save some cash. Set up a load balancer vm and a few webhost machines using proxmox and hetzner. Have a program to spin up some additional VMs using EC2 that attach to the load balancer if you really need it (with an auto-cap in case of DDOS). Use a CDN for static content.
edit: Get two mid-sized machines instead of a big one so you can roll over in case of failure. Set up automatic backups to a service that isn't hetzner. DNS is your friend and you can switch to a different cloud using the worst case scenario, because you have the ProxMox vm.
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
