My aim is moving my websites hosted in a EC2 t2.small in a t2.large instance.
I created the snapshot, then the AMI.
I launched the AMI in the new instance but neither the websites (after changing the DNS A record)
nor the phpMyadmin installed in http://ipaddress/phpmyadmin folder are reachable.
Which could be the problems/misconfigurations?
Here the error_log
and here the httpd.conf
2
Answers
To change instance types, all you need to do is:
Please note that if you have a DNS Name associated with the instance, then you should use an Elastic IP address on the EC2 instance so that it does not change IP address when the instance is stopped and started.
If you have created a snapshot and booted up then there are likely chances that some services might have stopped. Check if your PHP and other required services are running.
Also, if you have elastic IP, allocate to newly turned on server.