unable to retrieve images uploaded on aws instance using laravel

i am trying to upload image via laravel and then retrieve its url to save in database and return back to the front end application , image upload is working fine at localhost but not at ec2 instance .

How to launch a site on AWS for free in 15 minutes

If you‘re completely new to Amazon Web Services (AWS), it can come across as soul-crushingly complicated.