Ir para o conteúdo

AWS LIghtsail: After removing additional disk and destroying it, unable to SSH connect to instance.

0

Hello! After removing the additional disk connected to a lightsail instance and destroying the disk afterwards, I'm unable to connect to the instance via SSH. Connecting to the instance via the browser interface is still working.

Rebooting doesn't help. I tried to create a new disk and mount it to the same path, which also didn't work.

The additional disk didn't contain any critical files. In fact, I removed it because it was empty.

Any ideas how to solve this? Or will I have to create a new instance?

feita há 2 anos496 visualizações

1 Resposta
2
Resposta aceita

Hi,

For the disk detachment, did you perhaps stop the instance and are you also perhaps not using a Static Ip with your Lightsail instance? Because the public IPv4 address of the instance may have changed during the stop-start of the instance (if not using a Static Ip) and hence your older SSH command using the older instance public IPv4 address is no longer working.

If you instead use the instance's current public IPv4 address, SSH should likely work.

Thanks.

AWS
ESPECIALISTA

respondido há 2 anos

AWS
MODERADOR

avaliado há 2 anos

ESPECIALISTA

avaliado há 2 anos

ESPECIALISTA

avaliado há 2 anos

  • You are right! It seems the IP address changed on reboot. I didn't know that would happen!

    Thank you!

  • Just to clarify, the IP address changes on stopping and later starting of an instance, not on reboot. The IP address does not change on reboot. stop-start and reboot are separate actions. . Glad it was just that :)

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.