Memorial Day
Support will be closed on Monday, May 28th, 2012 to enjoy Memorial Day with our friends and families.
   
2 of 2
2
Amazon Web Services & ExpressionEngine
Posted: 18 February 2011 10:02 PM   [ Ignore ]   [ # 19 ]  
Sr. Research Associate
Avatar
RankRankRankRankRank
Total Posts:  2607
Joined  08-28-2003
lebisol - 18 February 2011 09:26 PM

I have ran EE1.6 on EC2 for a few days and honestly not much difference in performance as compared to average shared hosting. Granted they were just a few test queries but still…clean *smallest LAMP instance in Amazon compared to potentially well used shared host. I was using Amazon DB ONLY while files were hosted on my shared hosting.

Amen. I did something similar last year and found performance to be no better than a good shared host. However, I’ve been using Amazon S3 as a CDN for static images for awhile. That works very well—except the monetary savings are not there. Amazon S3 at the highest rate, again, is not better than a good shared host.

I’ve tried some testing to upload CSS and JavaScript files but did something wrong. Changed the Content-Type to text/css but files still won’t load in the browser.

Any ideas?

...first impressions were marginal and have not tried it since. Besides, most larger hosts are ‘in the cloud’ as is so Amazon is ‘just another large host’ in my eyes.

Same here. I like the CDN capability but pricing is not a bargain unless you’re using massive storage and bandwidth.

I also read about an .xml file which can be used to prevent image and static resource hijacking. Haven’t figured that out yet, either. Amazon S3 is anything but user friendly.

 Signature 

ronnymac
———
Ron McElfresh
Honolulu, HI
———
From EE to WP | Hobby Site | Newer Hobby Site | Friend’s Site | Another Friend’s Site

Profile
 
 
Posted: 19 February 2011 05:21 PM   [ Ignore ]   [ # 20 ]  
Sr. Research Associate
Avatar
RankRankRankRankRank
Total Posts:  2607
Joined  08-28-2003

And a follow up on restricting referrers in Amazon S3:

This Amazon Link lists policy code for Restricting Access to Specific HTTP Referrer. Implementation prevents image, file (CSS and JavaScript), and movie (not Flash) hijacking from sites using Amazon S3 for storage.

In your Amazon Management Console, select a bucket. Open Properties. Click Edit Bucket Policy. Insert code from above page and change the bucket name to match your bucket, and change the domain to match your site’s domain. Images in the bucket must be changed to Owner, not Public.

Amazon’s Referrer Bucket Policy prevents images and files from being hijacked. Only the domains in the policy can retrieve and display files from the bucket.

 Signature 

ronnymac
———
Ron McElfresh
Honolulu, HI
———
From EE to WP | Hobby Site | Newer Hobby Site | Friend’s Site | Another Friend’s Site

Profile
 
 
Posted: 01 September 2011 06:00 PM   [ Ignore ]   [ # 21 ]  
Summer Student
Total Posts:  22
Joined  02-08-2009

We hosted several sites in EC2 a few years ago - It worked okay. As others mentioned, the benefits weren’t really there. We got into trouble a few times when some of our sites had a huge boost in traffic, and we didn’t have a large enough instance to handle it. It’s easy enough to launch a larger instance, but it still means a few minutes of downtime.

With the larger instances, the prices got very high for is ($600/month), and will still had to maintain our own infrastructure.

Eventually we switched over to a Rackspace dedicated server - it’s a little more than we were paying by the time we left Amazon, but we’ve never had a problem handling the traffic and the stress of managing backups and infrastructure went away.

I just hit the forum up to see if there were any revelations for EE and EC2 since our original experience, but apparently it’s all about the same.

It’s quite possible to build an incredible infrastructure on EC2 with redundancy and scalability if you want to invest the time.  It would make a lot of sense if you are going to maintain a single, high traffic site or application, but that isn’t the case for most web shops

Hope this helps someone - I’d love to hear other people’s experiences.

Profile
 
 
Posted: 22 December 2011 01:08 PM   [ Ignore ]   [ # 22 ]  
Lab Assistant
RankRank
Total Posts:  112
Joined  05-05-2008

Hey gwineman,

Thanks for the post.  I needed someone to reaffirm my suspicions.  We currently host the vast majority of our sites on a Rackspace PS and were looking for a cost effective alternative for some of our customers.  So far configuring the Amazon Linux image I chose hasn’t been as smooth as I had hoped.

I’ve also noticed that the terminal/ftp clients I’m using seem to experience a decent amount of lag.  I’m not sure if this indicative of mediocre server performance, but I’m going to do some page load comparisons for a more definitive impression.

Free for a year seems a little too good to be true.

-Zack

Profile
 
 
   
2 of 2
2
 
‹‹ HTML5 Hype      Anyone used eeSiteKit? ››