Lightsail instance keep going down again and gain

2

This is a repost of: https://forums.aws.amazon.com/thread.jspa?threadID=269360&start=50&tstart=0

Basically, Lightsail Instances will go down after a while, this happened to me with multiple WordPress or Prestashop Instances. As soon as there are more than one user in the backend the machine will go down after some time. Monitoring shows that CPU capacity and burst capacity is gone. A soon as this is the case, you can't even reach the machine via SSH, it's basically dead and so is the service you want to provide for maybe your customers ...

Now when you realize your 3.5$ plan is not sufficient, there's no way to update the plan afaik, you have to create an image from your machine, create a new instance and import the old image :/ And then do that again if 5$ is not enough either ...

The problem is, how can I know this beforehand when setting up a machine? It is absolutely not feasible to use the 40$ monthly plan just in case you might run into some problems like this. I have another Provider charging 10$ per month and I'm running 2 Shops and 5 Wordpress Installations and multiple other web apps on that one machine ... no problems ever

Am I doing anything wrong? Is there any fix to that Problem?

已提問 2 年前檢視次數 2539 次
4 個答案
2

I am currently facing exactly the same problem. Everything seems to be running fine and all of sudden the url is inaccessible. Only fix is to stop the Wordpress instance and start it again. Looking into the metrics I see it's CPU is around 2-3% and all of sudden bursts tot 20%+. The website has very little traffic. I'm getting pretty frustrated here as after reading this thread, I get the idea its an ongoing issue with Lightsail since 2017... Now looking into options of moving from AWS as I can't keep having this.

Vince
已回答 2 年前
1

Unfortunately, at least according to the latest documentation, you're running into a limitation of LightSail instance types and functionality.

  • For the CPU - If you can either add WP caching, or DB indexes, or something like that, you may be able to reduce the amount of load on the instance, which would hopefully keep the overall amount of CPU from bursting for too long, and subsequently hamstringing your server to the point that it is unusable. Newer EC2 instances have a thing called unlimited burst, which, for an extra charge, allows your instance to sustain higher activity even after you run out of credits, but it doesn't look like those have found their way to the LightSail platform yet.
  • For the plan upgrades - Yeah, making you snapshot and upgrade your instance instead of offering sliders or some other automated upgrade version is less than desirable. Unfortunately, this is another limitation imposed by the tech it's using under the hood. That's not to say that it can't be done, just that they haven't implemented anything to address it yet.

I wish I had a better response, and I hope they address this soon. The other option is to move away from LightSail and use AWS EC2, and choose an instance type that offers more consistent performance.

已回答 2 年前
  • Thanks for your response! I came to a more or less similar conclusion. It's just the thing that lightsale as a product offers "click & go" easy to use and setup Software as a Service with pre-configured stacks (WordPress, Prestashop, etc.). However, if it can't even uphold that for a simple use case at a 3.5$ plan, it should not be offered in the first place IMHO. I had a couple of instances set up for my students to play with and create online shops and websites and after 3 weeks almost all machines were not usable anymore, quite a pain in the lower back.

    It's also a bit strange, that the 3.5$ plan with 512MB and 1 Core is not enough and bringing the machine to a halt so quickly. I've dealt with webservers quite some time and that hardware usually should be sufficient for small 3-tier web applications like WP, etc. ?

    So my conclusion would be to only use the 3.5$ (and 5$) plan to do some fiddling and just "checking out" with a web stack.

  • I have same issue. My instance keeps going down every two or three days. I don't see any burst in the metric graph. https://imgur.com/ewaGlJU. The dips of the remaining burst capacity shown in this chart were caused by rebooting.

1

I have same issue with the 1G plan (WordPress installed).

The CPU usage stays under sustainable zone, and remaining burst capacity stays at 100%. Every two or three days the instance just downs. I don't see the burst at all, and memory usage is less 50%.

已回答 2 年前
0

Still an issue. I'm not sure the point of Lightsail. I thought it would be reliable.

已回答 1 年前

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

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

回答問題指南