ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Amazon Web Services & ExpressionEngine

November 07, 2010 7:36am

Subscribe [15]
  • #1 / Nov 07, 2010 7:36am

    Deeper

    215 posts

    Recently I’ve been looking into migrating my VPS acccount onto one of Amazons cloud services (EC2?) and running my websites/clients websites from that.

    1) Has anyone had any experience of using a AWS account as a kind of reseller account?

    2) Has anyone had any experience of setting up ExpressionEngine within an AWS environment?

    All the articles I’ve seen are based around AWS just for an individual web app etc.

    I see you can do things like consolidated billing which looks like it’s going in the direction I want it to go in.

    I appreciate there will be a slight learning curve to AWS especially since I’m used to just using cPanel in the past but am up for the challenge.

  • #2 / Nov 18, 2010 3:35pm

    soire

    25 posts

    I am also interested in migrating to the same solution. Deeper, did you make any progress on this topic as it pertains to EE or the like? Thanks for any help!

  • #3 / Nov 18, 2010 3:40pm

    leeaston

    634 posts

  • #4 / Nov 20, 2010 5:06pm

    Gareth Davies

    491 posts

    This looks interesting: http://www.amazon.com/Host-Your-Web-Site-Cloud/dp/0980576830/ref=sr_1_3?ie=UTF8&qid=1290109160&sr=8-3

    That book is a good starting point they also sell as a digital version (on Sitepoint I think) if you don’t want to wait.

    Regarding 2). I’ve setup an EE install running on EC2 (with an EBS volume and elastic IP) using Amazon RDS for the database. Worked fine though you’ll need to be slightly proficient with server administration to get up and running (or buy the book).

  • #5 / Nov 28, 2010 10:59am

    cherrypj

    158 posts

    Gareth, did you happen to keep notes as you worked through the process? I’d love to set up EE on a micro instance (free [for 1 year] for new customers!). What do you think so far? Responsiveness, uptime? I know you can configure it however you like, since it’s just a Linux box.

    I’m planning to follow these two tutorials, but would love your thoughts too, if you can share.

    Absolute First Step Tutorial for Amazon Web Services
    How to run Drupal on Amazon EC2 using a new micro instance

    (Yes, the second link is for a Drupal site, but the setup is similar.)

  • #6 / Dec 02, 2010 1:57am

    Bransin

    157 posts

    Your question blows my mind of what is capable with AWS. I felt so proud just setting up a simple cloud to host all my UI files (CSS, Images, and Javascript).

    A question to your question. I’ve read Amazon’s description, but it’s hard for me to picture what you get with EC2. Does this enable you to cancel your existing hosting and go solo with AWS with ExpressionEngine?

    I’m a painter, not a canvas maker - aka server guy.

  • #7 / Dec 02, 2010 8:33am

    cherrypj

    158 posts

    Bransin~ I’d say yes, you could cancel your existing hosting and go solo with AWS for EE. That comes with a large caveat: you have to manage the server yourself. If it falls down, you have to restart it; if it gets hacked, you have to clean it. If you’re a “painter”, then all that extra work might not be to your liking. (Or maybe it is: you got such a thrill with the S3 setup. :D)

    That said, I believe what you get with the ‘micro’ instance (free for the first year!) is more than sufficient to power a small (possibly medium) EE site. It’s certainly better than what you’re going to get from a shared host.

  • #8 / Dec 02, 2010 12:30pm

    Jeremy Bise

    77 posts

    From what I know about it, AWS would work just fine.  You’d have to attach your instance to EBS, which I believe is their equivalent of a hard drive so that your database and files persist in case you have to restart your instance.  That’s one quirky difference between AWS and a VPS—when you restart a VPS, your stuff is all there.  With EC2, it’s a fresh machine image each time, so EBS is required to hold the data you want to persist.

    I’ll just through this out there in case it helps—a couple months ago I posted some concerns about speed with Rackspace Cloud Sites.  About a month ago, I got an e-mail that they were doing something with load balancing, and the next day all my sites are moving along rather speedily, so I no longer have any gripes about putting EE on Rackspace Cloud Sites.  It’s like $149/mo and includes a bunch of stuff.  I’ve got about 90 of my client’s sites running on it like a dream and am using maybe like 5% of the plan’s resources.

  • #9 / Dec 07, 2010 6:59am

    John Ryan

    51 posts

    Sounds interesting. Would love to know how people get on with this.

    What’s the cost factor involved with AWS? Does it compare with standard VPS hosting?

    What’s the main advantage? The speed benefits of a CDN?

  • #10 / Dec 09, 2010 10:32pm

    ajlny

    42 posts

    Sounds interesting. Would love to know how people get on with this.

    What’s the cost factor involved with AWS? Does it compare with standard VPS hosting?

    What’s the main advantage? The speed benefits of a CDN?

    EC2+RDS is appropriate if you want to be hands-on in installation, configuration, and operations - and you want the ability to create/destroy entire machine instances OR need the ability to scale up to larger instances (without the typical model of changing out hardware, etc.)

    However, it won’t (by default) solve the CDN issues - Amazon has a separate CloudFront solution.

    Amazon WS offer scalability, but you need to decide for yourself if you need that much power/flexibility and want to spend the time/effort to do so (vs. a typical hosting or VPS).

  • #11 / Dec 10, 2010 6:19am

    John Ryan

    51 posts

    Cool - I’ll have to check that out.

  • #12 / Dec 24, 2010 12:51pm

    handyman

    509 posts

    It would be really great if someone posted a wiki entry or FAQ QA about all known aspects of integrating EE and AWS….even simple S3 use.

    It seems as if even the basic questions are perplexing - for instance, if a site wants to start simple and have all or most images served from S3, what is the best way to do this? I see the add-ons, but it is not clear how one gets EE to query AWS for the files…...do some folks us a naming convention on AWS and then use .htaccess rewriting to get the files? I serve vast numbers of files which were uploaded to our forums. Is there a way to automatically make all these images be uploaded to AWS (when the user uploads)?

    Someone must know “all”.........

    Do folks think that serving CSS and JS and the basic page building blocks (images) for something like the Forums…....will that take a significant load off the existing server?

    I started an AWS account and so far have moved only my popular ad banners there - I guess every little think helps! SInce I manually enter these image URL’s in the banner program, this is an easy job. But it would be great to have the hundreds of megs of uploaded forum and wiki images be served from there…...

    Any hints welcome - and, as I mentioned, a wiki article or two starting with the really simple things would be nice!

  • #13 / Dec 24, 2010 12:53pm

    handyman

    509 posts

    Your question blows my mind of what is capable with AWS. I felt so proud just setting up a simple cloud to host all my UI files (CSS, Images, and Javascript).
    .

    Exactly how did you set that up, and what is the result? Are you seeing speed improvements serving css and js from Amazon?

  • #14 / Dec 31, 2010 10:03pm

    Bransin

    157 posts

    Exactly how did you set that up, and what is the result? Are you seeing speed improvements serving css and js from Amazon?

    First I would check on Greg Aker’s “Make No Assumptions With Asset Management”.

    I’ve noticed a slight improvement serving CSS, JS, and large UI images from the amazon’s CloudFront. It does have it’s disadvantages though for developers in regards to CSS and JS. The major reason is caching problem with regularly updated files.

    Through Amazon’s interface you have no ability to clear cache which has lead me to renaming CSS files by date with version number. I’ve spent a few good hours trying to figure out why my CSS changes weren’t happening for iPhone.

    Advantages are that you are conserving bandwidth with your website if one massive traffic storm were to hit. Unfortunately there isn’t anything available currently of bridging a gap between the EE file manager and AWS for users. I’m speaking of any file type uploads to AWS. Managing and deleting files would be a plus. This I find a great development idea for 3rd party developers.

  • #15 / Jan 13, 2011 12:38pm

    Josh Conner

    56 posts

    I’d be interested to see benchmarks, does anyone have any?

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases