0
votes
1answer
78 views

Ec2 instance down with error: cannot create temp file for here-document

Iam running my website built on ruby on rails in development mode on ec2 instance, when i ssh to that instance it says.. Welcome to Ubuntu 12.10 (GNU/Linux 3.5.0-17-generic x86_64) * ...
0
votes
0answers
45 views

custom error pages in nginx for a ruby in rails application running with passenger

I want to add the custom nginx error pages like we are under maintenance and other error pages. This the configuration I have written server { listen 80; server_name myapp.com; ...
1
vote
0answers
106 views

no server available after deploying amazon ec2 rubber rails app

I am a server / sys admin noob, so any help is greatly appreciated here. I am using Rubber to deploy on amazon ec2. I am deploying a t1.micro istance and have followed the railscast. I tried one ...
0
votes
0answers
36 views

Capistrano commands timout [closed]

Not sure if this is the best place to be reporting this bug but I am seeing some strange behaviour with all cap commands. After successfully deploying a project with Capitrano and Rubber to an EC2 ...
0
votes
1answer
193 views

No data received - Passenger, (52) Empty reply from server

I had setup Elastic Beanstalk for my rails application last month (Passenger). All was good.. but all of a sudden, my servers are not responding well. My application access gives 'No data received - ...
0
votes
0answers
155 views

Redirect to HTTPS from my Amazon Elastic Load Balancer

I have a rails app on 2 EC2 Instances running nginx behind an Amazon Elastic Load Balancer. I'd like to force HTTPS, which was working fine before I added in the Load Balancer. Now I can't quite ...
0
votes
0answers
14 views

Deploy multiple rails applications on same dns using apache and passenger [duplicate]

Possible Duplicate: how can apache run multiple applications on same server with different path I have setup the apache + passenger in my ec2 server. When i try ...
0
votes
2answers
291 views

How should secret files be pushed to an EC2 (on AWS) Ruby on Rails application?

How should secret files be pushed to an EC2 Ruby on Rails application using amazon web services with their elastic beanstalk? I add the files to a git repository, and I push to github, but I want to ...
1
vote
0answers
65 views

Should I have a heroku worker dyno for poll a AWS SQS?

Im confusing about where should I have a script polling an Aws Sqs inside a Rails application. If I use a thread inside the web app probably it will use cpu cycles to listen this queue forever and ...
0
votes
1answer
179 views

error 503: Can't deploy rails 3 app with apache + thin (bitnamy ruby stack)

As you'll notice, I'm a bit of a noob on Rails. Here's the thing I have a EC2 Bitnami RubyStack AMI running. I'm trying to deploy the sample project to be sure I'm doing the right thing, but I'm not ...
3
votes
1answer
226 views

Rails/Mongo across multiple different geo-regions

I have a system that by necessity requires physical presence in three or more different locations and I need advice on structuring in such a way that my database stays replicated in a timely manner ...
1
vote
0answers
83 views

Scaling a video processing application on EC2?

I am approaching the need to scale a video-processign application that runs on EC2. So far the setup is one machine: Backbonejs frontend Rails 3.2 Postgresql Resque + S3 for storage The flow of ...
1
vote
1answer
115 views

Best configuration and deployment strategies for Rails on EC2

I'm getting ready to deploy an application, and I'd like to make sure I'm using the latest and greatest tools. The plan is to host on EC2, as Heroku will be cost prohibitive for this application. In ...
0
votes
1answer
192 views

Session persistence between multiple Rails / Unicorn servers with Redis as session_store on AWS

I've got 2 nginx EC2 instances pointing to 2 Unicorn EC2 instances in a round robin load balanced configuration. The two nginx instances are being the Elastic Load Balancer. Both Unicorn instances ...
0
votes
1answer
296 views

How can I setup nginx to serve virtualhosts with rails(unicorn/passenger) and php-fpm

I would like to serve multiple sites on one instance. I install nginx, php-fpm, and a rails app. I use sites like this to guide me. I configure php-fpm to listen to a local socket listen = ...
1
vote
1answer
111 views

How to model the infrastructure for the Rails application with processor/memory intensive tasks (using EC2)? [closed]

I need to model a Rails application that does video processing using Amazon AWS resources (EC2). Application allows users to convert videos. Videos are uploaded by users. Right now it is running on ...
-1
votes
1answer
109 views

How to find your EC2 username and password

I recently took over a rails project from another developer that uses capistrano to deploy to EC2. When I try to deploy it is asking for a password. I can't figure out where to change the user and ...
1
vote
1answer
172 views

Random timeouts between zones in Amazon EC2?

I am having issues with tcp connections between two instances in EC2. I thought at first it was the tools I was using (JRuby on Rails stack + MongoDB) when I saw exceptions such as the following in my ...
2
votes
1answer
349 views

portforward ec2 instance to localhost for rails development

I'm trying to work with facebooks real-time updates but I'm having trouble giving facebook a callback address that they can use. My dev machine is behind a firewall so I want to use an ec2 instance to ...
1
vote
3answers
440 views

Should I use ubuntu 11.04 or 11.10 on ec2 for a rails front-end server?

I have been digging around for an answer to this question and have come up with a handful of benchmarks and a whole lot of promotional material but it's not clear to me what to choose. If I am ...
2
votes
2answers
430 views

How can I secure files on S3?

I want to control who can download a file via an app (as if it was held on the local FS). What's the right approach for doing this, considering S3 can't be mounted as a POSIX compliant file system?
0
votes
2answers
122 views

Moving from a VPS host to EC2 with as little downtime as possible

We have a rather large server stack (more than 30 machines), and we can't go on using our current VPS provider. we must move, and Amazon's EC2 seems to be our solution. We use rails, mysql, mongo, ...
3
votes
1answer
732 views

Recommendations for hosting Rails on Amazon EC2? [closed]

There are a number of solutions for easily hosting Rails on Amazon EC2 like the following Poolparty Rubber Amazon Cloud Formation Opscode Chef Rolling your own (and I'm sure others I'm not aware ...
0
votes
1answer
129 views

Multiple host on AWS Ec2

I need to deploy multiple Ruby on Rails application on an EC2 AMI on AWS and I need every application to be attached to a domain name I think this first part is all for the Apache web server and ...
2
votes
1answer
903 views

Setting up a Rails 2.3.x app on EC2 for easy scalability

I'm running a simple rails stack on a single dedicated machine. We're reaching our full capacity and have absolutely no setup for scaling, just one app on one machine. I did some research and came up ...
2
votes
1answer
179 views

What steps can I take to ensure that my rails app on heroku isn't effected by another ec2 outage?

My app is a victim of the recent EC2 outage and is still offline. The outage has negatively effected my business and the relationship we have with our clients. I'm hosting the app on heroku with their ...
0
votes
2answers
510 views

Installing gem MySQL failed

I'm installing mysql gem on Amazon AMI 2010.11.1 and I'm having the next problem: # gem install mysql Building native extensions. This could take a while... ERROR: Error installing mysql: ...
9
votes
5answers
5k views

Amazon EC2 Ami recommendations for free tier?

Amazon web services recently introduced a free tier, where you basically get free stuff to try out AWS and run tiny sites and projects. Basically it's free as long as you remain below a certain limit ...
1
vote
1answer
318 views

On Amazon EC2, using the Ruby on Rails Fedora AMI image, where is the mongrel_rail process getting launched?

I can't figure out where the the mongrel_rails process is getting started on an Amazon EC2 box. I am launching this instance: Ruby on Rails Web Starter (AMI Id: ami-bf3968fa) I think there is a non ...