Server not accessible

Hi Team,

I have a wordpress website and recently changed my hosting provider to AWS EC2.
I have updated the Cloudflare DNS with the public ip of AWS EC2 instance. But while going to my website it says unable to connect. I have updated the security parameters of AWS and added HTTP,HTTPS from all.

Please help me out in this.

Thanks in advance,