In this section, we will use AWS SAM to create Amazon Cognito (User Pool, Identity Pool) for user authentication, the S3 bucket that stores the files users upload and the S3 bucket that hosts the web application. Then we will deploy the front-end to S3 and test the sign-up and sign-in features.