1

I am hosting two Wordpress sites on two different AWS EC2 micro instances running LAMP.

I have been getting OOM kills and decided to resize the instances to small.

Since increase the size of the instance I am only able to ssh into the instances but the public IP doesnt load.

Site 1

Site 2

Any ideas?

  • 1
    Did you assign the public IP as elastic IP? If not, it gets a new one after restarting. – Halfgaar Oct 13 '16 at 09:03
  • I didn't assign an EIP on either site. The public IP that I am trying to load is the new one assigned after the resize. I am able to ssh into the new instance at the new IP but not the public IP. – Gavin Reynoldson Oct 13 '16 at 15:25
  • How is the security group of the instance configured? – Halfgaar Oct 14 '16 at 07:52
  • all ports (80, 22, 443) SSH, HTTP, HTTPS are open at 0.0.0.0/0 – Gavin Reynoldson Oct 14 '16 at 07:55
  • Hmm. When I nmap port 80, I get intermittend open/filtered. And when my `curl --head` finally does get through and sends headers, it stalls again. Do you have iptables on the machine? Does dmesg show anything? Other system logs? – Halfgaar Oct 14 '16 at 08:45
  • I'm not using iptables unless it already comes with EC2. Im only using the luanch wizard security groups. dmesg shows an OOMKill at various processes. I'm not sure what to look for using dmesg? It seems that the old url is still registered even though I now have a new one. I'm not sure how to change this. – Gavin Reynoldson Oct 14 '16 at 09:01

0 Answers0