I am trying to read files from a S3 bucket from a Java application hosted on tomcat in EC2 server. EC2 server and S3 bucket are in same region and same account. I have creat