AWS EC2 Instance stopping right after start using boto3

浪尽此生 提交于 2021-01-27 04:07:09

问题


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?


回答1:


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



来源:https://stackoverflow.com/questions/39135284/aws-ec2-instance-stopping-right-after-start-using-boto3

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!