Hi Vinit,
No, it will not work. You need to give its Elastic IP. You can find your Elastic IP by going to the EC2 management console > Network & Security > Elastic IP.
Make sure the Elastic IP is associated to your instance, also make sure port 8000 is open in your network too.
Rocky