I have 3 ASP.NET web sites and 3 Ruby on Rails ones. I'm planning them to be hosted on a VPS hosting. Suppouse each of them would have the attendance of 1 thousand people per day.
Now I'm hesitating about the VPS hosting. Can I host them (ASP.NET web sites and 3 Ruby on Rails ones) side by side? Or should I use and buy 2 different hosting: first one is for ASP.NET web sites and second one for RoR web sites?
How much power of VPS do I choose to host them? And how much does it cost approximately?
I'm planning to pay not more than 25$ per month. If I use heroku and appharbor would they host all of them (3 and 3) and how much would it cost?
I think with that money you can have 2 Amazon EC2 instances, and should be fine to run those apps, plus you can have one for free for the first year.
But with heroku and appharbor maybe you can have it almost for free. Both (not sure about appharbor) gives you 1 instance free for each app, and so that should be just fine for your apps. You should just have to pay for DB, if you need to, and other add-ons that in EC2 you can have for free, but will spend some memory.
So you must put everything on the table about your apps since PaaS are not normal hosting, the cost depends on what your app needs. So you bust see if your app needs caching service, DB size and wich one, background process? ...
I strongly believe that 1 VPS instance should be sufficient for handling 5 to 6 websites with 1000 visitors a day on each. Regarding the power, 1 GB RAM or 2 GB RAM windows VPS should be sufficient for these sites.
I know Windows VPS can handle ASP.Net websites, but I am not sure about Ruby on Rails.
I have never heard about "heroku and appharbor", so, no suggestions for them.
Related
I have my Laravel 5 app hosted on a shared hosting service. From the beginning i saw that was a bad idea, but i didn't knew more and i leaved it that way.
Now, i need a new hosting service that can give me SSH access for using git, jenkins, run laravel commands and a good speed.(I live in est Europe).
I've made some research i found 3 hosting services: Amazon, A2hosting and Siteground.
Because i'm not a very experimented developer and my app is not that big (and i don't think it will be in the next 1-2 years) , i think choosing Amazon's services will be an overhead.Plus that, i think it will be pretty expensive.
So, what should i choose between those 3 options?
Or do you have a better idea?
If you app is not that big AWS is a great option for you. They have free tier where I am running my instance with Laravel App. Its not as expensive as it looks.
Check their calculator if you want more than free tier which is explained here https://aws.amazon.com/free/.
Calculator: https://calculator.s3.amazonaws.com/index.html
I've visited Google Cloud full day "training" and I still don't get if there is any REAL advantage in using it for my Laravel applications.
Currently I'm using a VPS server from local hosting provider, and I can deploy a laravel application in 5 ssh commands. In few minutes it becomes live.
I've searched through options on how to do it on GoogleCloud. All of them are for minimum 2 hours of tedious reading/clicking and none offers deploying straight from a git repository, thus no continuous integration.
Please help me understand what is the advantage of paying 5 times more and configuring 20 times longer in GoogleCloud versus VPS?
Thx
It all depends on what you try to achieve by deploying your Laravel app. If you expect little traffic and of a constant nature, you local hosting provider is fine. Do you expect your app to scale for millions of requests per second? Would you value resilience? In this case, you are better off doing a little extra effort and deploying in the cloud. You may gather more detail from the "Building Scalable and Resilient Web Applications on Google Cloud Platform" online document.
I have no experience with VPS's. Over the past year or two I've been getting more and more into web development, as a hobby and for work. I'm currently managing one wordpress site, a codeigniter app, a node.js/mongodb app, and various other personal projects. They are currently all hosted seperately (misc LAMP hosting, heroku, etc.).
I'm looking for a solution that will enable me to do the following:
Host Static/PHP Sites/Apps (so a LAMP stack)
Node.js/MongoDB/Redis
capable of other stacks (django/yesod/RoR/etc.)
Would a Linode VPS be capable of handling all of this? None of these sites get large amounts of traffic. The web apps are private, business management apps, used by 2-10 people at a time. The public sites are small business websites and my portfolio. I would like to be able to host future work on the same VPS as well (same types of small sites/apps).
I have no experience managing multiple domains on the same server. Is this easily done (or possible) with a single Linode VPS?
EDIT
I'm looking at the Linode 512MB/1GB VPS's, $20/$40 respectively.
Of course.
Especially after the massive Linode NextGen upgrades, a Linode VPS can easily handle this kind of workload. Since it's a VPS and not merely shared hosting, you get root access and therefore full control over the system.
In addition, Linode includes features such as advanced disk image management that allows you to clone and resize disk images as required and quickly boot into different images, as well as an out-of-band shell that allows direct access to the server's console in the event you cannot access it via SSH. A Linode 1024 (1GB) plan is more than enough for this sort of workload.
There are lots of different VPS providers out there. Rackspace is very expensive but probably has the highest level of reliability (100% uptime SLA with 5% refund per 30 minutes downtime) and outstanding "Fanatical Support". For less critical needs, there are loads of smaller VPS providers that offer cheap rates, but often with only minimal resources and fewer features. Some provide super-fast SSD storage for disk-intensive applications. You should shop around and do your research so that you find a VPS provider that meets your requirements.
I suggest that you may look into a shared hoisting plan on a reputed hosting companies like hostgator since there isn't much traffic.I also suggest you also buy a cpanel for managing tools.Cpanel has a web interface with which you can control every tool using your mouse & keyboard.
On the other hand linode has a CLI interface and their support expects you to have some descent knowledge about managing VPS servers.
Thanks to Michael Hartl's tutorial on rails, this amazing community, and twilio, I was able to learn rails and build my first app this month.
I love the the git/heroku workflow, and got thinking --
Currently I have,
~20 light PHP sites on a VPS I pay $40/month for
~10 light PHP sites + 2 Wordpress installs on a Shared Reseller Account I pay $20/month for
+1 App I just made
The PHP sites are basically static sites that have php_includes in them, to make the code a little bit less repetitive.
I'm a little confused by the Heroku pricing though, because I'm not sure how many requests constitutes one dyno, etc.
For the light PHP sites, does using Heroku make sense?
Say that all together the PHP sites get about 5000 views a month, out of which 2000 is for wordpress.
How much do you think it's going to cost me to have them up and running?
Heroku will answer - this is cloud and you should not think in terms of Servers or VPS but more Dynos etc. But old habits die hard :-)
For your question, very simply a Dyno has 512 MB memory (RAM), and the cost of a Dyno includes the bandwidth and the disk space you are using. There are many other issues, like Dynos being Read Only and transient, no IP assignment etc.
In your specific case, definitely use Heroku for your Rails testing, and hosting. Heroku provides hosting free for one Dyno. (Each additional Dyno - about USD 34/month)
For your static sites and PHP, why don't you use AWS with the free tier, you get your own server/vps with whole lot of other services free - http://aws.amazon.com/free/
What are the pros and cons of using dedicated servers versus Aamzon EC2 for hosting a high traffic website - that has about 2 million visitors and 5 million page views a month. The content is mostly dynamic and served from a database. Does anyone has any experience of the costs and performance for such a setup.
Amazon EC2 is going to be much more cost-effective versus dedicated servers from my experience. Should you experience a sudden rise in the volume of traffic to your site all you need to do is shell out some extra $$ to Amazon and voila your site can handle the traffic (assuming there are no coding bottlenecks). Unless you have a truly massive website (ie: Facebook) the benefits of hosting on Amazon EC2 far outweigh the risks.
One of the only risks that you take with hosting on EC2 was showcased a few months ago when the whole cloud went down, taking Foursquare, Quorra, Reddit, and other multi-million user base sites down along with it.
From a user experience I believe interaction with the cloud hosting provider is pretty much the same as interacting with a dedicated server, so the only real concern to take into account would be cost-effectiveness.
My own experience tells me that at least in this part of the world, New Zealand, where we don't yet have a local amazon server farm, Amazon provides poor performance and is one of the most expensive options for hosting busy websites. I placed some background on my blog that goes through my own experiences. http://www.printnet.co.nz/category/hosting/