Advice required for hosting with AWS

Advice required for hosting with AWS

by Jason De Donno -
Number of replies: 10

Hi

I've been reading through some of the posts here concerning AWS, since I have had a recommendation from another forum to consider AWS hosting.

I have a couple of questions I hope someone can help me with.

  • Firstly, is it available in Europe? 
  • Secondly, can anyone recommend a particular AWS set up / solution / package to go for, for 25 simulataneous users (max)? I'd be interested to hear from anyone who has successfully set up a something simple. Our budget is around 2500 per year.

Thanking you in advance
/Jason

 

Average of ratings: -
In reply to Jason De Donno

Re: Advice required for hosting with AWS

by Chris Megahan -
Picture of Core developers

Jason,

Yes, it is avilable in Europe via the EU Ireland region. (http://aws.amazon.com/about-aws/globalinfrastructure/)

You likely wont event make a dent in your budget using AWS. I'd suggest a mediumn reserved instance. I would keep is simple by using a turnkey server and then make a few tweaks for preformance. The turnkey server is a LAMP stack with MySQL server onboard. You could make use of Amazon's RDS for MySQL but that seems like overkill for 25 users. (http://www.turnkeylinux.org/moodle)

As of two days ago I use EBS with a mediumn instance and small spot instances on-demand with RDS and Cloudflare.(http://www.cloudflare.com)

Good luck!

In reply to Chris Megahan

Re: Advice required for hosting with AWS

by Jason De Donno -

Hi

Thanks for the help. The sales rep at Amazon has been very helpful, but he recommended rds. I was actually considering starting with a small instance on demand, rather than a reserved medium one, as I don't think we'll have even 25 users to start with, as this first year will only be a test / pilot run with a limited number of users. So we can probably scale it later.

Is the turnkey server offered also by AWS? Thanks for your mail by the way.

In reply to Jason De Donno

Re: Advice required for hosting with AWS

by Chris Megahan -
Picture of Core developers

Turnkey is a seperate company that provides AMI's (https://aws.amazon.com/amis) or preconfigured with applications. They have a Moodle LAMP stack with everything you need to run Moodle under one instance.

In reply to Jason De Donno

Re: Advice required for hosting with AWS

by Grant Mucha -

Hi Jason,

I may have replied to one of your previous posts. If not consider reading the following.

http://ianmcnaught.co.uk/58115983

I have used AWS and EC2 in the past and I believe Ian has also. We have talked about this on/off for about a year now.

I recommend against AWS unless you have no other choice.

Consider the Following

We have stopped using Amazon for anything except backups using s3cmd to safely backup critical folders to S3. (Moodle only)

One thing I have learned about Moodle is it extremely dependent on I/O due to database reads/writes. (not ideal on AWS)

Secondly, these pay by hour cloud providers may work but really aren't worth the headache and investment (look at Ian's efforts thus far and mine)... 

Medium 30 x 24 = 720hr @ $130.00 (3.75GB Ram / 2EC 1 Core)
Large 30x24 = 720hr @ $260 (7.5GB Ram / 4EC 2 Core)

Based on my experience the price is high and performance average at best.

Unfortunately Moodle and AWS simply don't match up.

Anyone with a budget under $20/month
Find a dedicated VPS if your lucky and use nginx and caching

Anyone with a budget of $20 - $50/month
Find a dedicated VPS with higher specs or entry level dedicated server.

Anyone with a budget of 50+/month find a dedicated server on special. You will be the only one using the server, meaning no one else is using resources. This is a common issue in cloud/vps environments fighting for I/O and other resources.

Anyone with a budget of 100+/month do not rent a server, buy one!
You can typically find colocation hosting in USA data centers for 50+ and up per month. A decent spec. rented server might run $200-$300 monthly. Typically you can build and run the same spec. server for about half that cost. Which is what we do now!

[send me a private message] I may know a good co-lo in Europe.

Plus when you build it, you can tailor your server to your needs. I am hinting at I/O and ram.

Server Example: ($1750)
i5-2400 (4C @ 3.4Ghz) / 32GB RAM DDR3 1333 / 4 x SAMSUNG 830 128GB SSD / Adaptec RAID 6405 with 512Mb Cache (Raid 10)

Colocation Example ($711 / year)
100mbps / 10 IP / Power / Control Panel

I consider the above a budget server yet extremely powerful. I dare you to configure something on Dell's website that comes close. In Raid10 with the adaptec raid card this server will be able to handle extreme I/O of Moodle's read/writes requirements.

Total cost about $2500 for the first year which puts us around $200 monthly or less then the Large EC2 instance with 7.5GB of ram and 4EC. Plus we own the server and expect to keep it in production for 2-3 years. Also in the future we may turn this into a dedicated MySQL server depending on how everything plays out.

If your using Moodle, why bother with AWS?

Average of ratings: Useful (3)
In reply to Grant Mucha

Re: Advice required for hosting with AWS

by Jason De Donno -

Thanks for the advice.

We are going along with AWS for now, due to the ease of use. We are not big, so a small instance works ok for now, plus the in/out operations are minimal since we are using SQL on the same stack. RDS just wasn't necessary.

Of course, if you buy your own server, you need somewhere to put it. 

In reply to Jason De Donno

Re: Advice required for hosting with AWS

by Grant Mucha -

plus the in/out operations are minimal since we are using SQL on the same stack

What does this mean?

If you are using MySQL on the same EC2 instance of course it matters. Your database will likely be stored under /var/lib/mysql which means it is sharing resources (cpu, ram, io) with your webserver (apache,nginx,proftpd,etc).

In reply to Grant Mucha

Re: Advice required for hosting with AWS

by Jason De Donno -

In that sense yes but we're not being charged for those in and outs. At least I hope we're not!

In reply to Jason De Donno

Re: Advice required for hosting with AWS

by Grant Mucha -

Jason, I am not referring to in/out in terms of bandwidth.

I am referring to I/O (input/output) of your system or commonly knows as IOPS.

IOPS (Input/Output Operations Per Second, pronounced eye-ops) is a common performance measurement used to benchmark computer storage devices

If you have everything installed on one EC2 instance everything (apache, php, mysql, ftp) will be fighting for resources.