Well, I can't see the screenshot that you have added here.
However, there are different scopes of approach. While one way is to learn from the AWS Course, below mentioned is another approach.
Take a look below :
if you are using:
For Centos
sudo chown -R centos:centos /var/www/html
sudo chmod -R 755 /var/www/html
For Ubuntu
sudo chown -R ubuntu:ubuntu /var/www/html
sudo chmod -R 755 /var/www/html
For Amazon AMI
sudo chown -R ec2-user:ec2-user /var/www/html
sudo chmod -R 755 /var/www/html
Hope it helps, otherwise feel free to revert to me.