-1
votes
1answer
59 views

Striving to make a RoR app (passenger, nginx) work on EC2

I've installed RoR, ruby, passenger and nginx on EC2 Ubuntu instance. Now I'm striving to make it work and be accessible only for the ec2's address which looks this ...
0
votes
0answers
24 views

Rails environment variables at EC2

I have a Rails app which I want to deploy to EC2 instance. I know how to set the environment variables at Heroku. But how to do that at AWS EC2? I need that because I have to connect to MongoDb and ...
0
votes
2answers
68 views

Installing MongoDb on EC2

I'm trying to deploy a Rails 3.2.3 with MondoDb app to EC2. I've chosen t2.micro instance. However, I found out that to use MonboDb I have to use at least m1.large - ...
0
votes
1answer
126 views

mysql.sock error when deploying with AWS Ubuntu and RDS

Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) Rails.root: /opt/deployment.myproject/releases/20140805050704 I've spent the better part of 3 days trying to ...
1
vote
0answers
29 views

Splitting an application across AWS and Heroku

My application is currently 100% managed by Heroku. A few endpoints on the application depend on very slow external resources. Heroku occasionally kills these requests if they hit 30 seconds.[1] ...
0
votes
1answer
369 views

Instances slow when connected to AWS load balancer

I have setup 5 t1.micro EC2's behind an AWS load balancer. All the instances slow down once they are connected to the LB. Eight out of 10 requests takes more than 30s even when I do the requests ...
1
vote
1answer
641 views

Rails app 502 with AWS Elastic Beanstalk running Puma & Nginx

I've been able to successfully get my application running on Beanstalk with Passenger, however I've had no luck with Puma. Whenever I deploy with to a Puma stack I get 502 Errors, my log files ...
2
votes
1answer
218 views

Passenger Module Fails On AWS Gem With 'Class Variable Name' Error

Opening Disclaimer: I'm all kinds of newb to the technologies involved in this question. But the Googles, she no yield-a the fruit. I'm trying to deploy a Rails app into production. This app works ...
1
vote
1answer
232 views

Restore a versioned S3 bucket to a particular point in time

Let's say I've got S3 versioning enabled for my bucket: http://docs.aws.amazon.com/AmazonS3/latest/dev/Versioning.html Then, let's say someone (for example, junior employee) messes up the S3 bucket ...
2
votes
4answers
877 views

chef-server-webui session not working when access from external IP address

I have installed chef-server on an Ubuntu 12.10 system using the official .deb package for that release. After the installation had finished I run chef-server-ctl test Which reported success, 0 ...
1
vote
2answers
338 views

How to setup nginx server with wildcard DNS

This is about an sample Rails app that uses subdomains. You can access it here: http://rodrigora.com.br. In this app, you can create site and specify one subdomain for it. Example: site: ...
1
vote
0answers
185 views

Elastic Beanstalk Rails - Modify passenger config passenger_max_pool_size

I need to increase the passenger_max_pool_size for my Rails application running on passenger. I have used Elastic beanstalk for deployment. Any idea, how to go about this? Is there an optionsetting or ...
5
votes
3answers
638 views

Running Rails3 with force_ssl = true, with nginx, on AWS EC2 with SSL terminated by an ELB, setting up health check

I want to run my entire Rails app with SSL, so I thought to use Rails' global force_ssl config option, which works great, except that the ELB's healthchecker will never work because if I set it to ...
1
vote
3answers
923 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 ...
3
votes
2answers
839 views

How to configure Elastic Beanstalk for using Rails with Postgres?

Elastic Beanstalk has built in support for RDS. But, I want to use Postgresql with Elastic Beanstalk. Which will be the best approach for doing this?
1
vote
1answer
269 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 ...
1
vote
0answers
106 views

Getting bandwidth spent by user or by rails application on Ubuntu

I'm running multiple rails applications on AWS instance and I need to know how many bandwidth is each application using/wasting. Some of the applications are running with passenger over Apache2 some ...
3
votes
1answer
839 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
155 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 ...
0
votes
1answer
386 views

Capistrano problem in Amazon Web Service

I'm running Rails + Passenger under an Ubuntu AWS's instance. Now I'm trying to deploy with Capistrano, I already did my git repository (and upload it to the server) and my deploy.rb file (with capify ...