As my title says, when I am provisioning a new EC2 server through forge it is created and I can access it in my AWS EC2 panel, however the server is no longer listed under servers in Laravel Forge.
I gave it a new try with the same result today. It is removed from forge when the "building" is done. But the server is up and running in EC2 so I guess there are no errors on Amazons side.
How do you do when setting up an EC2? I'm using my Access Key ID and the Secret Access Key, obv it is working enough to create the server, but not to keep it in forge?
I guess it was a misunderstanding of VPC from me. When I choose "Create New" instead of using the default one forge seems to get access to the server it created and the provisioning went just fine.
If using the default VPC, the default security group is applied. That security group may not have port 22/ssh enabled. That was my issue (creating a new VPC would create a new security group that would allow ssh).
So if creating a new VPC isn't ideal (I prefer not to have a ton of VPCs when not needed), try opening port 22 for the default security group.
This was happening to me as well. I was using the default VPC which was using the default security group and it seems that the security group only accepts traffic coming from another resource with the same security group applied to it.
I've updated the rules in the SG allowing incoming traffic from anywhere and it worked.
I hope this helps someone else with the same problem.