I gave EB a quick and arguably shallow try shortly after the Ruby support
was announced. I'm sure it is feasible to run Spree on EB, however don't
expect it to work out of box. I personally gave up on it due to my low
appetite for working with Amazon Linux and dreadful performance of EC2
servers below c1.medium.
Anyway, here's my lessons learned:
- You have to store your images in S3, that's perhaps obvious and
applies to Heroku as well
- You'll need to customize the EB AMI to include additional packages
like imagemagick and in my case also postgres libraries required by the pg
- I stumbled upon the fact that EB automatically runs assets:precompile
on deployment which I don't want to do in production and couldn't find an
easy way to explain that to EB at the time being. Btw. if you're using
small or micro instances you'll need a lot of patience waiting for
assets:precompile to finish. Also the startup times are no fun. It gets
better with c1.medium but that's not a cheap setup anymore, especially when
you need to pay for a database server and load balancer as well.
- Last but not least you'll need to configure SSL - either force Spree
to forget it's default SSL concerns entirely and deal with SSL only on the
Elastic Load Balancer, or further modify the EB AMI to include certificates
and let Spree work as usual
Hope that helps
On Wednesday, February 27, 2013 5:43:09 PM UTC+1, Allen W. wrote:
Has anyone used AWS Elastic Beanstalk with Spree? If so what are your
thoughts on it compared to Heroku? I've seen a lot of information about
Heroku on here as a PaaS solution and its ease of deployment and so on but
haven't seen anything about Elastic Beanstalk. Is AWSEB worse, same or
better to use over Heroku or the other PaaS platforms. The ability to auto
scale your instances seems nice and it seems cheaper
I guess I'd like to know the pros and cons with hosting a Spree store
using Beanstalk. Also does anyone have any feedback on AWS OpsWorks?
You received this message because you are subscribed to the Google Groups "Spree" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firstname.lastname@example.org.
For more options, visit https://groups.google.com/groups/opt_out.