Score:0

Lightsail Instance Fails Every 20 to 40 days

ng flag

I'm running Ubuntu 20.04.3 on a 1 GB RAM 1 VCPU 40GB SSD Lightsail instance. It runs NGINX serving a single Wordpress instance. The WP site is the web presence of our local Apple user group and gets very little traffic.

About once a month (plus or minus a few days) the Wordpress site goes away.

When that happens I'm unable to SSH into the Lightsail instance, neither through my SSH client (iTerm2) nor the AWS console. It appears to connect, but the screen is blank and there is no login prompt.

Rebooting the instance from the AWS console has no effect on the issue.

If I stop and restart the Lightsail instance everything comes back, but the public IP address has changed which means I need to make changes to DNS.

Syslog doesn't show anything I can see as the problem.

Any suggestions as to what I should be looking for?

Nmath avatar
ng flag
Sounds to me like an IP addressing problem. Are you not using a static IP address?
in flag
From the look of the AWS “Support” forum, [this is a relatively common issue](https://forums.aws.amazon.com/thread.jspa?threadID=269360&start=50&tstart=0). There are a few possible solutions mentioned in the thread, but none are silver bullets. It may be better to switch to a self-managed EC2 instance
ng flag
@Nmath... yes it static addressing withing the limits imposed by AWS. Stopping and restarting the instance forces a new IP address.
ng flag
Qmatingo... I think your exactly right. I had almost reached that conclusion myself. I have an EC2 instance that's been running flawlessly for about 18 months. Now I just have to do a bit of web searching to see if there's an easy way to migrate from Lightsail to EC2. Given the view count on the forum thread you show above it's clear that nobody at Amazon gives a flying-fig about this problem.
Score:0
ng flag

@matigo has the best solution. "Move it to EC2". Lightsail appears to be totally unsupported. I think, though, that I'll look at Linode and Digital Ocean VPS offerings first. No point rewarding AWS for bad service.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.