Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.
Vince Varga15,282 Points
Hosted servers for big sites
So let's assume I would like to create a social network with over ~10 000 users who can upload photos, comments, and even videos to my hypothetical social site using web app or mobile app. I wonder when is it better to set up your own server rather then use a hosted server. What is your opinion about the cloud services for startups hosted by Amazon or Google. Could you tell me what are the factors that I should take into consideration?
James Barnett39,199 Points
Most startups are hosted on AWS. Using AWS or a tradition VPS are both better options than purchasing hardware because of the ability to scale.
Davide Pugliese4,091 Points
Well, in my experience we can summarize the global picture like this:
1) Traditional WEB hosting services - they run PHP, MySQL, Apache but you are mostly bound to those components and their versions until the hosting provider makes an upgrade. Usually the clients are also provided some e-mail services.
2) VPS - they are divided in 2 subcategories according to whether or not they have some kind of panels to administrate them without any deep knowledge on Unix like operating systems. On a VPS you can decide the operating system, and you have to install the components on your own or if they provide a web interface like cPanel everything will be ready in a matter of minutes.
In case you decided to go with a VPS provider that does not offer such panels, but it is cheaper, fortunately there are also some administration panels that are open source, provided free of charge, and can be installed to accomplish the same tasks and allow saving some bucks (even because once you are done, you can back up all the config files so that in case you need those again you will not have to manually modify them again with the exception of the domain name and other minor things).
With VPS you have complete control over your system, this way if tomorrow you want to start using Ruby on Rails, you will just need to read the documentation provided by Ubuntu or Debian or CentOS community, etc. and install and configure the relative packages.
I hope this will be useful for other students as well.
William Eccles4,341 Points
Treehouse subscribers get 25% off for life with Web hosting, VPS and dedicated servers from Raid Host - I believe the promo code is still TREEHOUSE as per this comment https://teamtreehouse.com/forum/cannot-use-webhostforstudentscom-alternative