skip to Main Content

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

https://kopy.io/Gr8AW

and here the httpd.conf

https://kopy.io/I9Z2E

2

Answers


  1. To change instance types, all you need to do is:

    • Stop the EC2 instance
    • Change the Instance Type
    • Start the EC2 instance
    • Done!

    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.

    Login or Signup to reply.
  2. 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.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search