EC2 instance stopped working after creating an Image

戏子无情 提交于 2019-12-11 09:34:34

问题


I'm totally new to AWS. I managed to have an instance that runs PHPMyAdmin. then I created an image (EBS AMI) for this instant and could not connect any more to my phpmyadmin interface.

I know it's really stupid, but I don't know why it happens. thanks


回答1:


Make sure all needed services (e.g. ssh, Apache / nginx, MySQL) on your server get started when booting. If you create an AMI of your system AWS will shut down your server for the time the image creation takes place.

So ssh into your instance, take a look at the running processes and start the ones which you miss.




回答2:


If you are taking an image from the AWS console, all services will be stopped and server will be restarted for the image to be created. However, you need to restart all the services ex: mysql, apache etc.



来源:https://stackoverflow.com/questions/11075831/ec2-instance-stopped-working-after-creating-an-image

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