Usually my AutoScaling group spawns instances using Launch Configuration pretty normally but today it gets stuck whilst launching a new instance at the [cloud-init] checking scripts ...
Image for reference, I don't know what is wrong. It just shows me error:Failed
Asked
Active
Viewed 1,080 times
0
-
Is it one-off incident? What if you kill this instance and let it re-launch? – MLu Jun 17 '19 at 23:53
-
@MLu no it doesn't respawn. It stucks again at the same point. – Moorani Jun 18 '19 at 08:31
1 Answers
0
I was installing libpq-dev and it was prompting to restart services.
And traditional -y
wasn't working, so I tried the command below (to accept defaults) instead and it worked.
sudo DEBIAN_FRONTEND=noninteractive apt-get -yq install libpq-dev
Reference thread: https://unix.stackexchange.com/questions/146283/

Moorani
- 1
- 1