I am attempting to use Amazon EC2 for a web site and noticed extremely slow spin up times. The first request to a server that has not been in use for awhile (couple minutes) can take 5 or so minutes to display a simple web page. After that first request the server responds very quickly. Is there a way to host a web application on EC2 and avoid these spin up times? Do reserved instances fix this issue?
migrated from stackoverflow.com Nov 16 '11 at 2:19
This question came from our site for professional and enthusiast programmers.
Amazon EC2 instances don't have a "spin-up" time. The culprit is likely your code or your server setup, not EC2. Reserved instances aren't any different than any other type of instance other than the payment details.