ec2 on davidchua https://dchua.com/tags/ec2/ Recent content in ec2 on davidchua Hugo -- gohugo.io en-us Tue, 28 Feb 2012 00:00:00 +0000 Ubuntu Oneiric 64bit RVM/Ruby1.9x/Passenger/Nginx EC2 AMI https://dchua.com/posts/2012-02-28-ubuntu-oneiric-64bit-rvmruby1-9xpassengernginx-ec2-ami/ Tue, 28 Feb 2012 00:00:00 +0000 https://dchua.com/posts/2012-02-28-ubuntu-oneiric-64bit-rvmruby1-9xpassengernginx-ec2-ami/ Create a new 64bit Ubuntu Oneiric AMI image this morning Click away It runs: RVM Ruby 1.8.7 Ruby 1.9.3-head (default) Nginx (/opt/nginx) Passenger Its comes with an 8GB Elastic Block Storage (EBS) instance. So if you’re planning to run a ruby/rails webserver, I hope this saves you time! :) LEMP Ubuntu Oneiric x64 EC2 AMI Image https://dchua.com/posts/2012-01-13-lemp-ubuntu-oneiric-x64-ec2-ami-image/ Fri, 13 Jan 2012 00:00:00 +0000 https://dchua.com/posts/2012-01-13-lemp-ubuntu-oneiric-x64-ec2-ami-image/ If you’re looking for a quick way to start hosting your PHP5 applications, here’s an EC2 AMI image I’ve created to help make it easier. It is a x64 Ubuntu Oneiric EBS AMI Image running a LEMP (Linux, Nginx, MySQL, PHP) stack which is suitable for those who wants to make use of Amazon’s free-tier micro instances. Click away Its currently only available for the AP-Southeast region (Singapore). Tip: Remember to create a swap partition. Some tips to deploying Rubber-powered EC2 Rails Apps https://dchua.com/posts/2012-01-07-some-tips-to-deploying-rubber-powered-ec2-rails-apps/ Sat, 07 Jan 2012 00:00:00 +0000 https://dchua.com/posts/2012-01-07-some-tips-to-deploying-rubber-powered-ec2-rails-apps/ I’ve been playing around with Rubber, the EC2 deployment script for Rails lately and I’ve spent a huge amount of time trying to get it to work. Here are some of my notes: To setup: # Put this into Gemfile gem rubber Vulcanize! (Create the deployment scripts according to your specifications) On Rails 3.x, in your Rails application’s root directory davidc@davidc:~/my/awesome/app> vulcanize <option> # with option being any one of the following minimal_nodb, redis, passenger_nginx, complete_passenger_nginx, cruise, postgresql, resque, apache, sphinx, monit, minimal_passenger_nginx, mysql_cluster, complete_passenger_postgresql, cassandra, mongodb, complete_mongrel_mysql, complete_passenger_nginx_postgresql, base, memcached, minimal_mysql, complete_passenger_mysql, complete_passenger_nginx_mysql, munin, mysql_proxy, complete_passenger, mysql, nginx, jetty, passenger, haproxy, mongrel Edit /config/rubber/rubber.