Using boto3 run_instances
The instance is stopping after 30 sec by itself and the State transition reason in the console shows:
Client.InstanceInitiatedShutdown: Instance initiated shutdown
What might be the issue?
Check if your AMI type (PV or HVM) and the volumes are compatible and you are mounting the volumes to the correct device. If there is a compatibility issue, the instance shuts down with Client.InstanceInitiatedShutdown: Instance initiated shutdown
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With