Quantcast
Viewing all articles
Browse latest Browse all 2052

Auto Scaling Instance To Cope With Spikes In Traffic

Hi There, does anyone know how I set up auto scaling for my EC2 instance. I have an instance running that has CPU at 50% on average, from time to time when I run an application a few times it makes my CPU spike at 100% which causes a database connectivity error and I either have to restart the server or reboot the instance.

So I need to set up an micro instance to activate when my cpu hits 90% or 95%, this way CPU power will be increased without the database connectivity issue.

I am currently using an m1.small instance which works fine on average, I was using a micro instance at the start but it ran at 70% CPU on average and when running the application it would knock the site offline completely so I am staying with the m1.small instance but do not want to go up another instance size, merely have a micro instance activated for spikes in activity.

I installed my wordpress blog from the machine image and all the documents mention being able to setup up auto scaling from the command line, but I need the instructions for auto scaling by the command line.

Thanks in advance for your help. Sim


Viewing all articles
Browse latest Browse all 2052

Trending Articles