Amazon EC2 instance become slow everyday

I have some problem about my EC2 instance.

Background: I’m new to AWS and just deployed my first WordPress test site onto a T2.Large instance. I know we need Elastic Beanstalk to make it scalable, however, we just want to make this test site as a development environment. We have 6 people using WordPress at the same time and I can make sure we don’t have any error with WordPress.

My problem: This EC2 instance will gradually become slower every day. The response time will increase from 200ms to 5.6s after working for one day. If I restart my HTTPd and MySql, then everything solved. So I have three questions:

  1. Is this normal for a rough EC2 environment?

  2. Should I make some configuration to restart my HTTPd and MySql every day?

  3. If I change to an Elastic Beanstalk environment, will this problem disappear?

Thanks for answering my questions!

Read more here: Amazon EC2 instance become slow everyday

Leave a Reply

Your email address will not be published. Required fields are marked *