Thank you for using Lightsail.
Check the instance burst capacity metrics on your instance management page to see if you're exceeding your allocation https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-viewing-instance-burst-capacity
Upgrading your instance bundle can alleviate problems related to high CPU usage.
Thank you for reaching out to us and asking your question in Re:Post. Reading your original post, it seems that after a successful connection to a company's VPN using PPTP protocol, the Ubuntu Lightsail instances becomes unresponsive. There could be several reasons for which you are experiencing this, however the first suspicion is modification of existing kernel route tables which can make the Lightsail instance unresponsive over SSH immediately after VPN connection is successful. A snippet from the pasted logs indicate:
replacing old default route to eth0 [172.26.0.1]
restoring old default route to eth0 [172.26.0.1]
If this route is not persistent, the issue will resolve after every reboot (and there will be no VPN connection, unless reconnected manually). I will recommend to use a temporary EC2 instance for this use-case so that when the instance becomes unresponsive, you can troubleshoot using Serial Console (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-serial-console.html). Please note only certain instance types and regions support it. From the console, you can login using a local user and check if the primary route has changed.
Another approach could be to check if the company's VPN setup recommends to use PPTP protocol. If yes, if there are any specific guidelines for Ubuntu.
Regarding the error
ppp0: error fetching interface information: Device not found.: If the
ifconfig command was ran before an established VPN connection, the device ppp0 was probably not yet available.
On a different note, you can add logs in Re:Post using code block to maintain the format.
- AWS OFFICIALUpdated 3 months ago
- AWS OFFICIALUpdated a year ago
- Why can't I connect to my VPC when using an AWS Site-to-Site VPN that terminates on a transit gateway?AWS OFFICIALUpdated 6 months ago
- EXPERTpublished 5 months ago