SOLUTION: Starting the instance again changes the IP address. Update the IP address in the Forge dashboard.
Mar 18, 2021
2
Level 11
Forge loses access when modifying volume size in AWS
I have a problem where forge loses ssh access when I modify the volume on my provisioned server on AWS. When the new server is provisioned, I can add my own key and ssh into the server, and forge can access the server too. But when I modify the volume of the EC2 instance storage, forge loses access but I can still ssh into the server using my own public key.
I'v tried everything in this link. https://forge.laravel.com/docs/1.0/servers/cookbook.html#server-disconnected
The error I get WHEN CONNECTING AS "root" USER:
Steps to reproduce.
- Provision a server on AWS.
- Add your public key, if it works it means that forge has ssh access. SSH into the server to make sure you also have access.
- log into the AWS console and stop the instance.
- Click on the ec2 instance storage and edit the volume size
- Start the instance again
- Forge now have lost SSH access, but you can still ssh into the server using your own public key
Anyone else experienced this?
Level 11
1 like
Please or to participate in this conversation.