EC2 instance stopped working after creating an Ima

2019-07-27 10:25发布

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

2条回答
乱世女痞
2楼-- · 2019-07-27 11:08

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.

查看更多
聊天终结者
3楼-- · 2019-07-27 11:10

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.

查看更多
登录 后发表回答