- Más nuevo
- Más votos
- Más comentarios
Running a web server and database server in a 1gb instance can put a lot of memory pressure on a VM.
Consider adding a swap partition to help relieve some of the pressure.
I blogged about it here: https://geekyramblings.net/lightsail-swap
Lightsail is very unreliable, I'm running two identical lightweight servers on LightSail and EC2, every few months the LightSail server will suddenly slow to a crawl that my website times out. I check the CPU utilization and it's under 1%, the disk usage is extremely low, credits are at a 100%. There's something wrong with the LightSail infrastructure, either some other VM from another user is taking up all the resources and starting the other VM's sharing the hardware or their setup is buggy. The only solution I've found to this is to stop and restart the instance and then it becomes a 100% responsive instantly. My guess is after a stop/start it spins it up on a different underlying hardware. I've never had an issue with the EC2 instance but the Lightsail instance (all of them) like clockwork will slow to a crawl and eventually fail (yup, the alarms go off because it stop responding to Amazon's own monitoring system) and I have to stop/start them again to fix it (or if I leave it for a 12+ hours or a few days, it'll eventually come back online but that's not a solution). Something is VERY VERY broken about Lightsail and Amazon refuses to acknowledge or fix it. I've been reporting this for about 3 years now.
Extreamly this is true
1GB Ram instance is very low for a website with database, it will put a lot load on CPU and will cross burstable zone. You can either add swap memory or upgrade instance
I have written a blog incase if anyone wants to refer: [https://codesparrk.com/blogs/aws-lightsail-with-1gb-instance-is-slow-why/]
Contenido relevante
- OFICIAL DE AWSActualizada hace un año
- OFICIAL DE AWSActualizada hace 2 años
- OFICIAL DE AWSActualizada hace 3 años
Can you provide some more information? What type of instance (compute/memory combo did you use)? What is the OS? Are there any logs in the Plesk?
Hi bro, From my experience with lightsail for hosting Plesk, you should you the lightsail with at least 2Gb vCPUs and 4GB Memory. Additionally, Can you share logs in the Plesk?