- 最新
- 最多得票
- 最多評論
Hello!
The largest available Lightsail virtual machines are not nearly as powerful as the high-end virtual machines available in EC2. Regarding your customers' problems there might be too much traffic to a single virtual machine so it can't handle the load. I would recommend adding additional virtual machines and a load balancer to spread the load between virtual machines. See more info here: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/understanding-lightsail-load-balancers
Hello,
The underlying infrastructure in Lightsail is similar to EC2 instances. However, unlike EC2 instances, LightSail instances are a managed Virtual Server with its own networking, database, backup and other functionalities options. To solve its availability issues, monitor the CPU, memory and storage usage, and if the workload needs additional resources upgrade to a higher plan from a snapshot from a single dashboard.
To upsize the Lightsail instance, first create a snapshot from the existing Lightsail instance and then create an instance from the snapshot. To do that from the aws management console, search Lightsail, and navigate to the Lightsail page. Click on the instance you would like to upgrade, and from the snapshot tab identifying the name and create a snapshot. From the snapshot right side ellipsis, choose create instance. While creating, choose the region and availability zone, and add a script and SSH key if needed. Then, choose the LightSail plan that fits your use case, identify the instance name and create the instance. And once the instance is running, it is ready to work with it.
LightSail instances typically do not acknowledge ping requests by default. To allow ping requests, ICMP needs to be enabled. To enable ICMP, browse to the aws management console, navigate to Lightsail, choose the instance, navigate to the networking page, under the firewall section, choose +Add rule, from the application list, choose PING (ICMP) and choose save. Then, from a terminal window on your local machine, send a ping command to your LightSail instance's IP address. For further information visit the AWS documentation in the following reference.
References [1] To enable PING (ICMP): https://aws.amazon.com/blogs/compute/enhancing-site-security-with-new-lightsail-firewall-features/ [2] Creating a larger instance, block storage disk, or database from a snapshot in Amazon Lightsail: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/how-to-create-larger-instance-from-snapshot-using-console
相關內容
- AWS 官方已更新 1 年前