I had reached the limit of Elastic IP allocations in my AWS account. I have an Elastic Beanstalk app that is being served over Cloudfront. I thought since the app's CNAME was mapped to Cloudfront's CNAME, releasing the Elastic IP of the ec2 instance of the EB app should be fine, so I did it. However, the EB app has stopped working. Even if I tried to access the web app using Cloudfront's CNAME, it's still not reachable. The ec2 instance has got allocated a public IP address shortly after the Elastic IP got released.
Can someone shed some light? How can I fix this issue?