I am deploying the rails application on EC2 instances where I want to configure the automatic scaling that will be used with the elastic load balancer. At a certain threshold, I want to create a new instance. When setting up a trigger for an auto-scaling group, we have options for using the CPU, Network, or disk IO; but as a rail application, I ran into a resource crunch in memory, not a processor or IO.
Has anyone configured EC2 auto-scaling for a rail application? What is the preferred way to use AWS with rails?
FYI: I am using a passenger application server.
Thank you for your time.
source share