Micro Amazon EC2 AMI with nginx, php5.3.3 and sqlite

Events happening in the community are now at Drupal community events on www.drupal.org.
shawnmeng's picture

Amazon has announced micro instance, which is cheaper. The sluggish apache2 stack may not work well on this limited resource. So I am planning to install drupal on nginx and sqlite, with custom compited lite php.

Comments

so you'r talking about d7

ddorian's picture

so you'r talking about d7 about the sqlite part? right?

updates?

rovo's picture

This sounds excellent, have you discovered any updates to this? Any tutorials on how to implement?

any updates?

chicodasilva's picture

Any update on this solution?

Don't recommend

joshk's picture

Drupal tends to be CPU-bound on EC2 under the best circumstances. Micro instances are less powerful than an iphone. Even with all the caching in the world, your admin experience is going to crawl.

Micro is working great

rovo's picture

Since the beginning of the year, I've been happily running many Drupal 7 sites on my Micro instance, based on Debian. I have Aegir managing them all. Also, happy to report everything is pretty snappy as far as my Admins go. This is sans Nginx at the moment, but hoping to incorporate that soon.

The AMI I'm running is
ami-e0e11289

This of course not including AWS's major outage a couple weeks ago, but that's really a different subject.

Traffic?

tripper54's picture

How many sites are you running? How much traffic do they get?

The main issue I see with

vegardx's picture

The main issue I see with micro instances is not necessarily memory, but the throtteling of CPU. If you get some traffic everything will slow down 'till it almost stops working, and run snappy once the throttle is lifted. But that throttle is nasty, try building something, and you'll see that it kills performance.

I'd recommend a VPS from Linode instead, or even burst if you're in the "dirt cheap"-market.

--
Vegard

Why not just a Small Spot

1kenthomas's picture

Why not just a Small Spot instance from AWS :) ?

~kwt

Can't use spot for 24/7 functionality...

mikeker's picture

Spot instances are only good if you don't mind your site being unavailable while the spot price is above your max.

Micro instances, especially reserved instances, can start to compete with shared hosting in terms of price, but with all the advantage of a VPS: root access, custom Apache/PHP config and all the other fun things you don't get on shared hosting.

Plus you get a year of micro hosting (as well as a bunch of other services) for free with a new AWS account.

Spot instances/ bidding details

1kenthomas's picture

Spot instances are only good if you don't mind your site being unavailable while the spot price is above your max.

1) Simply bid well above the historical maximum.

2) Spot instances are not merely "unavailable" if the bid price is met by the market; they are terminated. You'll want to have an appropriate strategy to avoid this.

Micro instances, especially reserved instances, can start to compete with shared hosting in terms of price

Micro instances are simply not appropriate to host a Drupal site of any size whatsoever.

you get a year of micro hosting (as well as a bunch of other services) for free with a new AWS account.

This saves you what, $70? That's less than the cost of a billable hour from any Drupal consultant I know.

~kwt

Bursts on micro...

mikeker's picture

I thought you could get CPU bursts on micro instances for up to 2 ECU's? At least for however long a "short duration" is defined by Amazon. (http://aws.amazon.com/ec2/instance-types/).

Though based on last week's outage, a "short duration" could be several days... ;)

The line I don't like from

mikeker's picture

The line I don't like from about micro instances is "I/O Performance: Low"...

node js implmentation

sureshpeters's picture

hey guys can we implement node js implementation on AWS ?? and which module are recommend for drupal which is hosted on Amazon web services, :)

High performance

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: