{"id":678,"date":"2010-12-01T08:55:05","date_gmt":"2010-12-01T13:55:05","guid":{"rendered":"http:\/\/www.migrate2cloud.com\/blog\/?p=678"},"modified":"2016-03-21T02:50:02","modified_gmt":"2016-03-21T07:50:02","slug":"creating-phusion-passenger-ami-on-amazon-ec2","status":"publish","type":"post","link":"https:\/\/www.migrate2cloud.com\/blog\/creating-phusion-passenger-ami-on-amazon-ec2\/","title":{"rendered":"Creating phusion passenger AMI on Amazon EC2"},"content":{"rendered":"<p>Phusion Passenger is an Apache and Nginx module for deploying Ruby web applications.<span style=\"font-size: small;\">(such as those built on the Ruby on Rails web framework). Phusion Passenger works on any POSIX-compliant operating system,which means practically any operating system , except Microsoft Windows.<\/span><\/p>\n<p><span style=\"font-size: small;\">Here we are not going to discuss much about ruby on rails applications as our aim is creating an ami of an <span style=\"font-size: medium;\"><strong>ubuntu<\/strong><\/span> aws instance from which we can launch an instance for developing and deploying rails applications pre-built.<\/span><\/p>\n<p><strong><span style=\"font-size: small;\">Install apache2 web-server<br \/>\n<\/span><\/strong><\/p>\n<p><span style=\"font-size: small;\">[bash]<br \/>\nsudo apt-get install apache2 ( By default its DocumentRoot is \/var\/www\/ )<br \/>\n[\/bash]<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-size: small;\"><strong><span style=\"font-size: small;\">Install mysql-server and mysql-client <\/span><\/strong><span style=\"font-size: small;\">( <\/span><span style=\"font-size: small;\">To support rails applications that access database<\/span><span style=\"font-size: small;\"> )<\/span> <\/span><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-size: small;\">[bash]sudo apt-get install mysql-server mysql-client[\/bash]<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"font-size: small;\">Install Ruby from repository<\/span><\/strong><\/p>\n<p><!-- p { margin-bottom: 0.08in; } --><span style=\"font-size: small;\">The default ruby1.8 is missing some important files. So install ruby1.8-dev. Otherwise at some stage when using gem install, it may end up with \u201c Error : Failed to build gem native extensions \u201c.<\/span><\/p>\n<p><!-- p { margin-bottom: 0.08in; } --><\/p>\n<p>[bash]sudo apt-get install ruby1.8-dev[\/bash]<\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"font-size: small;\">Install RubyGems<\/span><\/strong><\/p>\n<p><span style=\"font-size: small;\">Install rubygems &gt;= 1.3.6<\/span><\/p>\n<p><span style=\"font-size: small;\">The package can be downloaded from here<\/span><\/p>\n<p><!-- p { margin-bottom: 0.08in; } --><span style=\"font-size: small;\">wget http:\/\/rubyforge.org\/frs\/download.php\/70696\/rubygems-1.3.7.tgz<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>[bash]<br \/>\ntar xvzf rubygems-1.3.7.tgz<br \/>\ncd rubygems-1.3.7<br \/>\nsudo ruby setup.rb<br \/>\nsudo ln -s \/usr\/bin\/gem1.8 \/usr\/bin\/gem<br \/>\n[\/bash]<\/p>\n<p><span style=\"font-size: small;\"><strong><span style=\"font-size: small;\">Install Rails via rubygems<\/span><\/strong><\/span><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Once rubygems is installed use it to install Rails :<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-size: small;\">[bash]sudo gem install rails[\/bash]<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"font-size: small;\">Installing Phusion Passenger<\/span><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p>There are three ways to install Phusion Passenger :<\/p>\n<p>1. By installing the Phusion Passenger gem.<\/p>\n<p>2. By Downloading the source tarball from the PhusionPassenger website(passenger-x.x.x.tar.gz).<\/p>\n<p>3. By installing the native Linux package (eg: Debian package)<\/p>\n<p>Before installing, you will probably need to switch to the root user first. The Phusion Passenger installer will attempt to automatically detect Apache, and compile Phusion Passenger against that Apache version. It does this by looking for the <em>apxs<\/em> or <em>apxs2<\/em> command in the PATH environment variable.<\/p>\n<p>Apache installed in a non-standard location, prevent the Phusion Passenger installer from detecting Apache.To solve this, become root user and export the path of apxs.<\/p>\n<p><strong>Easiest way to install Passenger is installing via the gem<\/strong><\/p>\n<p>Please install the rubygems and then run the Phusion Passenger installer, by typing the following commands as root.<\/p>\n<p>1.Open a terminal, and type:<\/p>\n<p>[bash]gem install passenger[\/bash]<\/p>\n<p>2.Type:<\/p>\n<p>[bash]passenger-install-apache2-module[\/bash]<\/p>\n<p>and follow the instructions from the installer.<\/p>\n<p>The installer will :<\/p>\n<p>1. Install the Apache2 module.<\/p>\n<p>2. instruct how to configure Apache.<\/p>\n<p>3. inform how to deploy a Ruby on Rails application.<\/p>\n<p>If anything goes wrong, this installer will advise you on how to solve any problems.<\/p>\n<p>The installer will ask to add the following lines to the apache2.conf file.<\/p>\n<p>[bash] LoadModule passenger_module \/usr\/lib\/ruby\/gems\/1.8\/gems\/passenger-3.0.0\/<\/p>\n<p>ext\/apache2\/mod_passenger.so PassengerRoot \/usr\/lib\/ruby\/gems\/1.8\/<\/p>\n<p>gems\/passenger-3.0.0<\/p>\n<p>PassengerRuby \/usr\/bin\/ruby1.8 [\/bash]<\/p>\n<p><!-- p { margin-bottom: 0.08in; } --><br \/>\nNow consider, you have a rails application in directory \/var\/www\/RPF_tool\/. Add the following virtualhost entry to your apache configuration file<\/p>\n<p>[bash]<br \/>\n&lt;VirtualHost *:80&gt;<\/p>\n<p>ServerName\u00a0 www.yoursite.com<\/p>\n<p>DocumentRoot\u00a0 \/home\/RFP_tool\/public<\/p>\n<p>&lt;Directory\u00a0 \/var\/www\/RFP_tool\/public&gt;<\/p>\n<p>AllowOverride\u00a0 all<\/p>\n<p>Options\u00a0 -MultiViews<\/p>\n<p>&lt;\/Directory&gt;<\/p>\n<p>&lt;\/VirtualHost&gt;<br \/>\n[\/bash]<\/p>\n<p>Restart your apache server.<\/p>\n<p>Phusion Passenger installation is finished.<\/p>\n<p><strong>Installation via the source tarball<\/strong><\/p>\n<p><span style=\"font-size: small;\">Extract\u00a0 the tarball to whatever location you prefer<\/span><\/p>\n<p>[bash]<br \/>\ncd \/usr\/local\/passenger\/tar xzvf passenger-x.x.x.tar.gz<br \/>\n\/usr\/local\/passenger\/ passenger-x.x.x\/bin\/passenger-install-apache2-module<br \/>\n[\/bash]<\/p>\n<p>Please follow the instructions given by the installer. Do not remove the passenger-x.x.x folder after installation. Furthermore, the passenger-x.x.x folder must be accessible by Apache.<\/p>\n<p><strong>CREATING AN AMI OF AN EC2 INSTANCE<\/strong><\/p>\n<p>First you will have to install ec2-api-tools.zip from<\/p>\n<p><!-- p { margin-bottom: 0.08in; } --><a href=\"http:\/\/www.amazon.com\/gp\/redirect.html\/ref=aws_rc_ec2tools?location=http:\/\/s3.amazonaws.com\/ec2-downloads\/ec2-api-tools.zip&amp;token=A80325AA4DAB186C80828ED5138633E3F49160D9\">http:\/\/www.amazon.com\/gp\/redirect.html\/ref=aws_rc_ec2tools?location=http:\/\/s3.amazonaws.com\/ec2-downloads\/ec2-api-tools.zip&amp;token=A80325AA4DAB186C80828ED5138633E3F49160D9<\/a><\/p>\n<p><span style=\"font-size: small;\">[bash]<br \/>\nunzip ec2-api-tools.zip<br \/>\nmkdir ~\/ec2<br \/>\ncp -rf ec2-api-tools\/* ~\/ec2<br \/>\n[\/bash]<\/span><\/p>\n<p><span style=\"font-size: small;\">Upload your aws certificate and private-key to \/mnt of the instance.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-size: small;\">Then add the following to ~\/.bashrc<\/span><\/p>\n<p><!-- p { margin-bottom: 0.08in; } --><\/p>\n<p>[bash]<br \/>\nexport EC2_HOME=~\/ec2<br \/>\nexport PATH=$PATH:$EC2_HOME\/bin<br \/>\nexport EC2_PRIVATE_KEY=\/mnt\/pk-xxxxxxxxxxxxxxxxxxx.pem<br \/>\nexport EC2_CERT=\/mnt\/cert-xxxxxxxxxxxxxxxx.pem<br \/>\nexport JAVA_HOME=\/usr\/local\/java\/ ( your JAVA_HOME here)<br \/>\nexport PATH=~\/ec2\/bin:$PATH<br \/>\n[\/bash]<\/p>\n<p><span style=\"font-size: small;\">If your EC2 instance is an EBS-backed one, you can use the following command to create an AMI<\/span><\/p>\n<p>[bash]ec2-create-image -n your-image-name instance-id[\/bash]<\/p>\n<p><span style=\"font-size: small;\">If your instance is an s3-backed ( instance store ) one, you will have to install ec2-ami-tools first. It can be downloaded from <\/span><\/p>\n<p>&nbsp;<\/p>\n<p><!-- p { margin-bottom: 0.08in; } --><a href=\"http:\/\/s3.amazonaws.com\/ec2-downloads\/ec2-ami-tools.zip\">http:\/\/s3.amazonaws.com\/ec2-downloads\/ec2-ami-tools.zip<\/a><\/p>\n<p>[bash]<br \/>\nunzip ec2-ami-tools.zip<br \/>\ncp ec2-ami-tools-x.x-xxxxx\/bin\/* ~\/ec2\/bin<br \/>\n[\/bash]<\/p>\n<p>vim ~\/.bashrc<\/p>\n<p><!-- p { margin-bottom: 0.08in; } --><\/p>\n<address>export EC2_AMITOOL_HOME=~\/ec2\/ec2-ami-tools-1.3-56066\/<\/address>\n<p><span style=\"font-size: small;\">Now you can use the following commands to create an AMI of your s3-backed instance <\/span><\/p>\n<p>[bash] mkdir \/mnt\/bundle-vol\/<br \/>\nec2-bundle-vol -u USER-ID -c \/mnt\/cert-xxxxxxx.pem -k<br \/>\n\/mnt\/pk-xxxx.pem -d \/mnt\/bundle-vol [\/bash]<\/p>\n<p>( Login to your AWS account; your USER-ID is available from Account&#8211;&gt; Security Credentials )<\/p>\n<p>[bash] ec2-upload-bundle -u s3-bucket-name -a aws-access-key -s aws-secret-key -d<br \/>\n\/mnt\/bundle-vol\/ -m<br \/>\n\/mnt\/bundle-vol\/image.manifest.xml<br \/>\nec2-register -K\u00a0 \/mnt\/pk-xxxxxx.pem -C\/mnt\/cert-xxxxxxx.pem s3-bucket-name\/image.manifest.xml -n name-of-the-image [\/bash]<\/p>\n<p>To see the created images<\/p>\n<p>[bash]ec2-describe-images [\/bash]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Phusion Passenger is an Apache and Nginx module for deploying Ruby web applications.(such as those built on the Ruby on Rails web framework). Phusion Passenger works on any POSIX-compliant operating system,which means practically any operating system , except Microsoft Windows. Here we are not going to discuss much about ruby on rails applications as our [&hellip;]<\/p>\n","protected":false},"author":17,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[34],"tags":[129,115,511,61,329,476,509,444,187,510,508,256,505,504,507,512,147,368,62,300,60,151,506,138],"class_list":["post-678","post","type-post","status-publish","format-standard","hentry","category-amazon-ec2","tag-amazon-ec2","tag-apache","tag-apache-server","tag-apache2-web-server","tag-api","tag-company-microsoft","tag-ec2-ami-tools","tag-java","tag-linux","tag-microsoft-windows","tag-mod-ruby","tag-operating-system","tag-passenger","tag-phusion-passenger","tag-posix","tag-rails-applications","tag-ruby","tag-ruby-on-rails","tag-ruby-web-applications","tag-software-nec","tag-ubuntu-aws-instance","tag-web-applications","tag-web-framework","tag-xml"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"Phusion Passenger is an Apache and Nginx module for deploying Ruby web applications.(such as those built on the Ruby on Rails web framework).\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"admin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.migrate2cloud.com\/blog\/creating-phusion-passenger-ami-on-amazon-ec2\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Migrate to Cloud - we make the clouds rain\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Creating phusion passenger AMI on Amazon EC2 - Migrate to Cloud\" \/>\n\t\t<meta property=\"og:description\" content=\"Phusion Passenger is an Apache and Nginx module for deploying Ruby web applications.(such as those built on the Ruby on Rails web framework).\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.migrate2cloud.com\/blog\/creating-phusion-passenger-ami-on-amazon-ec2\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2010-12-01T13:55:05+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2016-03-21T07:50:02+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Creating phusion passenger AMI on Amazon EC2 - Migrate to Cloud\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Phusion Passenger is an Apache and Nginx module for deploying Ruby web applications.(such as those built on the Ruby on Rails web framework).\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/creating-phusion-passenger-ami-on-amazon-ec2\\\/#blogposting\",\"name\":\"Creating phusion passenger AMI on Amazon EC2 - Migrate to Cloud\",\"headline\":\"Creating phusion passenger AMI on Amazon EC2\",\"author\":{\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/author\\\/admin-2\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/#organization\"},\"datePublished\":\"2010-12-01T08:55:05-05:00\",\"dateModified\":\"2016-03-21T02:50:02-05:00\",\"inLanguage\":\"en-US\",\"commentCount\":2,\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/creating-phusion-passenger-ami-on-amazon-ec2\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/creating-phusion-passenger-ami-on-amazon-ec2\\\/#webpage\"},\"articleSection\":\"Amazon EC2, Amazon EC2, apache, apache server, apache2 web-server, API, Company: Microsoft, ec2-ami-tools, Java, Linux, Microsoft Windows, Mod ruby, Operating System, Passenger, Phusion Passenger, POSIX, rails applications, Ruby, Ruby on Rails, Ruby web applications, Software - NEC, ubuntu aws instance, web applications, Web framework, XML\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/creating-phusion-passenger-ami-on-amazon-ec2\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/category\\\/amazon-ec2\\\/#listItem\",\"name\":\"Amazon EC2\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/category\\\/amazon-ec2\\\/#listItem\",\"position\":2,\"name\":\"Amazon EC2\",\"item\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/category\\\/amazon-ec2\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/creating-phusion-passenger-ami-on-amazon-ec2\\\/#listItem\",\"name\":\"Creating phusion passenger AMI on Amazon EC2\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/creating-phusion-passenger-ami-on-amazon-ec2\\\/#listItem\",\"position\":3,\"name\":\"Creating phusion passenger AMI on Amazon EC2\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/category\\\/amazon-ec2\\\/#listItem\",\"name\":\"Amazon EC2\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/#organization\",\"name\":\"Migrate to Cloud\",\"description\":\"we make the clouds rain\",\"url\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/author\\\/admin-2\\\/#author\",\"url\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/author\\\/admin-2\\\/\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/creating-phusion-passenger-ami-on-amazon-ec2\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d370c5f82d8ed54ea2a14d7d135705e3add3103f5fa9b7670bd9dc6335a92e9e?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"admin\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/creating-phusion-passenger-ami-on-amazon-ec2\\\/#webpage\",\"url\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/creating-phusion-passenger-ami-on-amazon-ec2\\\/\",\"name\":\"Creating phusion passenger AMI on Amazon EC2 - Migrate to Cloud\",\"description\":\"Phusion Passenger is an Apache and Nginx module for deploying Ruby web applications.(such as those built on the Ruby on Rails web framework).\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/creating-phusion-passenger-ami-on-amazon-ec2\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/author\\\/admin-2\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/author\\\/admin-2\\\/#author\"},\"datePublished\":\"2010-12-01T08:55:05-05:00\",\"dateModified\":\"2016-03-21T02:50:02-05:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/\",\"name\":\"Migrate to Cloud\",\"description\":\"we make the clouds rain\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Creating phusion passenger AMI on Amazon EC2 - Migrate to Cloud","description":"Phusion Passenger is an Apache and Nginx module for deploying Ruby web applications.(such as those built on the Ruby on Rails web framework).","canonical_url":"https:\/\/www.migrate2cloud.com\/blog\/creating-phusion-passenger-ami-on-amazon-ec2\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/www.migrate2cloud.com\/blog\/creating-phusion-passenger-ami-on-amazon-ec2\/#blogposting","name":"Creating phusion passenger AMI on Amazon EC2 - Migrate to Cloud","headline":"Creating phusion passenger AMI on Amazon EC2","author":{"@id":"https:\/\/www.migrate2cloud.com\/blog\/author\/admin-2\/#author"},"publisher":{"@id":"https:\/\/www.migrate2cloud.com\/blog\/#organization"},"datePublished":"2010-12-01T08:55:05-05:00","dateModified":"2016-03-21T02:50:02-05:00","inLanguage":"en-US","commentCount":2,"mainEntityOfPage":{"@id":"https:\/\/www.migrate2cloud.com\/blog\/creating-phusion-passenger-ami-on-amazon-ec2\/#webpage"},"isPartOf":{"@id":"https:\/\/www.migrate2cloud.com\/blog\/creating-phusion-passenger-ami-on-amazon-ec2\/#webpage"},"articleSection":"Amazon EC2, Amazon EC2, apache, apache server, apache2 web-server, API, Company: Microsoft, ec2-ami-tools, Java, Linux, Microsoft Windows, Mod ruby, Operating System, Passenger, Phusion Passenger, POSIX, rails applications, Ruby, Ruby on Rails, Ruby web applications, Software - NEC, ubuntu aws instance, web applications, Web framework, XML"},{"@type":"BreadcrumbList","@id":"https:\/\/www.migrate2cloud.com\/blog\/creating-phusion-passenger-ami-on-amazon-ec2\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.migrate2cloud.com\/blog#listItem","position":1,"name":"Home","item":"https:\/\/www.migrate2cloud.com\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/www.migrate2cloud.com\/blog\/category\/amazon-ec2\/#listItem","name":"Amazon EC2"}},{"@type":"ListItem","@id":"https:\/\/www.migrate2cloud.com\/blog\/category\/amazon-ec2\/#listItem","position":2,"name":"Amazon EC2","item":"https:\/\/www.migrate2cloud.com\/blog\/category\/amazon-ec2\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.migrate2cloud.com\/blog\/creating-phusion-passenger-ami-on-amazon-ec2\/#listItem","name":"Creating phusion passenger AMI on Amazon EC2"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.migrate2cloud.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.migrate2cloud.com\/blog\/creating-phusion-passenger-ami-on-amazon-ec2\/#listItem","position":3,"name":"Creating phusion passenger AMI on Amazon EC2","previousItem":{"@type":"ListItem","@id":"https:\/\/www.migrate2cloud.com\/blog\/category\/amazon-ec2\/#listItem","name":"Amazon EC2"}}]},{"@type":"Organization","@id":"https:\/\/www.migrate2cloud.com\/blog\/#organization","name":"Migrate to Cloud","description":"we make the clouds rain","url":"https:\/\/www.migrate2cloud.com\/blog\/"},{"@type":"Person","@id":"https:\/\/www.migrate2cloud.com\/blog\/author\/admin-2\/#author","url":"https:\/\/www.migrate2cloud.com\/blog\/author\/admin-2\/","name":"admin","image":{"@type":"ImageObject","@id":"https:\/\/www.migrate2cloud.com\/blog\/creating-phusion-passenger-ami-on-amazon-ec2\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/d370c5f82d8ed54ea2a14d7d135705e3add3103f5fa9b7670bd9dc6335a92e9e?s=96&d=mm&r=g","width":96,"height":96,"caption":"admin"}},{"@type":"WebPage","@id":"https:\/\/www.migrate2cloud.com\/blog\/creating-phusion-passenger-ami-on-amazon-ec2\/#webpage","url":"https:\/\/www.migrate2cloud.com\/blog\/creating-phusion-passenger-ami-on-amazon-ec2\/","name":"Creating phusion passenger AMI on Amazon EC2 - Migrate to Cloud","description":"Phusion Passenger is an Apache and Nginx module for deploying Ruby web applications.(such as those built on the Ruby on Rails web framework).","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.migrate2cloud.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.migrate2cloud.com\/blog\/creating-phusion-passenger-ami-on-amazon-ec2\/#breadcrumblist"},"author":{"@id":"https:\/\/www.migrate2cloud.com\/blog\/author\/admin-2\/#author"},"creator":{"@id":"https:\/\/www.migrate2cloud.com\/blog\/author\/admin-2\/#author"},"datePublished":"2010-12-01T08:55:05-05:00","dateModified":"2016-03-21T02:50:02-05:00"},{"@type":"WebSite","@id":"https:\/\/www.migrate2cloud.com\/blog\/#website","url":"https:\/\/www.migrate2cloud.com\/blog\/","name":"Migrate to Cloud","description":"we make the clouds rain","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.migrate2cloud.com\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"Migrate to Cloud - we make the clouds rain","og:type":"article","og:title":"Creating phusion passenger AMI on Amazon EC2 - Migrate to Cloud","og:description":"Phusion Passenger is an Apache and Nginx module for deploying Ruby web applications.(such as those built on the Ruby on Rails web framework).","og:url":"https:\/\/www.migrate2cloud.com\/blog\/creating-phusion-passenger-ami-on-amazon-ec2\/","article:published_time":"2010-12-01T13:55:05+00:00","article:modified_time":"2016-03-21T07:50:02+00:00","twitter:card":"summary_large_image","twitter:title":"Creating phusion passenger AMI on Amazon EC2 - Migrate to Cloud","twitter:description":"Phusion Passenger is an Apache and Nginx module for deploying Ruby web applications.(such as those built on the Ruby on Rails web framework)."},"aioseo_meta_data":{"post_id":"678","title":null,"description":"Phusion Passenger is an Apache and Nginx module for deploying Ruby web applications.(such as those built on the Ruby on Rails web framework).","keywords":[{"label":"Amazon EC2","value":"Amazon EC2"},{"label":"ubuntu aws instance","value":"ubuntu aws instance"},{"label":"apache2 web-server","value":"apache2 web-server"},{"label":"Ruby web applications","value":"Ruby web applications"}],"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"created":"2022-12-27 09:16:42","updated":"2026-07-21 15:28:32","ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.migrate2cloud.com\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.migrate2cloud.com\/blog\/category\/amazon-ec2\/\" title=\"Amazon EC2\">Amazon EC2<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tCreating phusion passenger AMI on Amazon EC2\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.migrate2cloud.com\/blog"},{"label":"Amazon EC2","link":"https:\/\/www.migrate2cloud.com\/blog\/category\/amazon-ec2\/"},{"label":"Creating phusion passenger AMI on Amazon EC2","link":"https:\/\/www.migrate2cloud.com\/blog\/creating-phusion-passenger-ami-on-amazon-ec2\/"}],"jetpack_featured_media_url":"","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.migrate2cloud.com\/blog\/wp-json\/wp\/v2\/posts\/678","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.migrate2cloud.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.migrate2cloud.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.migrate2cloud.com\/blog\/wp-json\/wp\/v2\/users\/17"}],"replies":[{"embeddable":true,"href":"https:\/\/www.migrate2cloud.com\/blog\/wp-json\/wp\/v2\/comments?post=678"}],"version-history":[{"count":143,"href":"https:\/\/www.migrate2cloud.com\/blog\/wp-json\/wp\/v2\/posts\/678\/revisions"}],"predecessor-version":[{"id":2158,"href":"https:\/\/www.migrate2cloud.com\/blog\/wp-json\/wp\/v2\/posts\/678\/revisions\/2158"}],"wp:attachment":[{"href":"https:\/\/www.migrate2cloud.com\/blog\/wp-json\/wp\/v2\/media?parent=678"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.migrate2cloud.com\/blog\/wp-json\/wp\/v2\/categories?post=678"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.migrate2cloud.com\/blog\/wp-json\/wp\/v2\/tags?post=678"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}