Amazon Web Service Micro Instance - Server Crash

前端 未结 3 795
余生分开走
余生分开走 2021-01-24 17:31

I am currently using an AWS micro instance as a web server for a website that allows users to upload photos. Two questions:

1) When looking at my CloudWatch metrics, I h

3条回答
  •  情深已故
    2021-01-24 18:03

    Wait… I'm sorry. Did you say you were running both Apache and MySQL Server on a micro instance?

    First of all, that's never a good idea. Secondly, as documented, micros have low I/O and can only burst to 2 ECUs.

    If you want to continue using a resource-constrained micro instance, you need to (a) put MySQL somewhere else, and (b) use something like Nginx instead of Apache as it requires far fewer resources to run. Otherwise, you should seriously consider sizing up to something larger.

提交回复
热议问题