Tell me more ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

Because I'm having some issues with a high server load on my shared hosting, I'm thinking about migrating to Amazon Web Services.

I can choose for S3 as a stable solution, or for S2 as a cloud solution (?), but I'm not sure what's the best? I've read Amazon is great for static hosting (images, etcetera), but my application is completely written in PHP/MySQL. Am I able to run this on Amazon?

So, can I see Amazon as a real webhoster, or just only as a place to store files (with a domain linked to this storage)?

Hope you can help me out!

share|improve this question

closed as primarily opinion-based by Andrew Barber Jul 4 at 10:19

Many good questions generate some degree of opinion based on expert experience, but answers to this question will tend to be almost entirely based on opinions, rather than facts, references, or specific expertise.If this question can be reworded to fit the rules in the help center, please edit the question.

2 Answers

up vote 3 down vote accepted

With EC2 you basically have one or more complete virtual computers totally under your control, so you can run anything you want on them.

share|improve this answer
But before I can use this 'virtual computer' as a webhost, I have to install PHP/MySQL myself? And what about software like cPanel? – Robin Feb 27 '11 at 19:28
Yes, it's basically exactly the same stuff you'd have to do if you ordered an actual server from Dell and plugged it into the Internet. You have to install an OS, applications, databases, whatever. – Pointy Feb 27 '11 at 19:36
Pointy except there are more security issues and dns handling you have to worry about, @Robin. – Cawas Apr 25 '11 at 23:37
@Robin yes, that's true to some extent, though it's not really much different than the sort of things you'd deal with in a "real" datacenter. Instead of offloading your firewall duties to some Cisco equipment, you simply do it yourself, if you want; you can set up whatever topology you think is appropriate. – Pointy Apr 26 '11 at 3:40

according to Pointy , but rember :

Bandwidth CPU RAM

are concurrent in the invoice calculation ;) I'm sure that you have tested the load of the DB and of the php parser , only after that you can understand what you system need . In my humble expirience i've seen many "DBA" ( or known as that ) that have no prepared an optimized structure fot the table / DB after little optimisations the application gained about 1000% ( yes thousand ) of speed . I've wrote this just to point on the faxct that amazon seems "gold" (now start flame!) .

share|improve this answer
This doesn't answer the question and is pretty hard to understand to boot. – ceejayoz Jun 4 '11 at 15:02
agree, that should be a comment. but what he's saying (if i understood) is that understanding what you are doing (and Robin doesn't sounds the most experienced guy in the field) pays off in performance better than the best of hosting. – gcb Dec 24 '11 at 4:04

Not the answer you're looking for? Browse other questions tagged or ask your own question.