In this section, we will create an IAM role and use the IAM role for our application to be able to upload files to the S3 bucket.