跳至內容

Lightsail Instance Stopping all Connections every few hours.

0

I'm wondering how to get this fixed because both UFW and Amazon's setup allow all ports on this specific instance, but every few hours it almost seems to time out and just refuse all connection until I reboot it.

There are no programs I have on there that would suddenly close every port randomly.

Please Help!

已提問 4 個月前檢視次數 53 次
2 個答案
2

Hello.

What size Lightsail instance are you using?
When your CPU usage exceeds your baseline throughput, Lightsail will consume CPU credits to temporarily increase performance.
However, if you run out of CPU credits, performance will decrease to the baseline throughput, which will impact application processing.
As stated in the documentation below, the smallest Lightsail plan will consume CPU credits when CPU usage exceeds 5%.
Therefore, you should check whether the CPU usage of your Lightsail instance is high.
If the CPU usage is high, you should use a larger plan or migrate to EC2 and use an appropriate instance type.
https://docs.aws.amazon.com/lightsail/latest/userguide/baseline-cpu-performance.html

專家
已回答 4 個月前
AWS
專家
已審閱 4 個月前
0

That might be the issue! Im looking at the remaining burst capacity, and it goes to zero around the time I experience the outages. Weird how lightsail works

I'll migrate to EC2 and if that works ill accept the answer!

已回答 4 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。