> ## Documentation Index
> Fetch the complete documentation index at: https://cloud-architect.ipoint-labs.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Configure Email Notification on S3 Bucket Event - Amazon SNS Challenge

> Hands-on lab · 40m

Launch this lab in the IP Lab Portal, then follow the steps below in the AWS console.

<a className="ip-lab-portal-btn" href="https://labs.intellectualpoint.com/labs/configure-email-notification-on-s3-bucket-event-amazon-sns-challenge" target="_blank" rel="noreferrer">
  Open IP Lab Portal
</a>

## Overview

This week's lab challenge is about application integration in AWS Cloud. Application integration allows you to enable communication between serverless application, microservices, distributed systems, etc. You will face a real time Serverless Integration Challenge in which you will have to configure email notification when an object has been uploaded to the S3 Bucket. This challenge will test your knowledge on SNS and S3 in depth. All the best!

###

### Prerequisites

1. Good knowledge of AWS service

   * Amazon S3
   * Amazon SNS (Simple Notification Service)
2. Laptop/Desktop
3. Internet Browser
4. Internet connection

### Challenge Instructions

1. **Region** : Make sure to use **us-east-1** region to create all the resources.
2. You will be provided with the requirements of the challenge. If you are new to AWS Cloud, we recommend you go through our hands-on Labs before taking this challenge.
3. Challenge Duration: **40 minutes**

### How to submit the challenge

1. After building the infrastructure, click on the **Validation button**, to validate if you have built the required infrastructure and completed the challenge successfully.
2. Validation status

   * **Success** - You have completed the challenge successfully.
   * **Failed** - You have failed to complete the challenge.
3. Once you have successfully validated the challenge, click on **End Challenge** button to end the challenge.

### Launching Challenge Environment

1. To launch the challenge environment, Click on the **Start Challenge** button.
2. Please wait until the cloud environment is provisioned. It will take less than a minute to provision.
3. Once the challenge is started, you will be provided with **IAM user name**, **Password**, **Access** **Key**, and **Secret** **Access** **Key**.

> **Note** : You can only start one challenge at any given time

## Lab guide

### Sign in to AWS Management Console

1. Click on the **Open Console** button, and you will get redirected to AWS Console in a new browser tab.
2. On the AWS sign-in page,

* Leave the Account ID as default. Never edit/remove the 12 digit Account ID present in the AWS Console. otherwise, you cannot proceed with the lab.
* Now copy your **User Name** and **Password** in the Lab Console to the **IAM Username and Password** in AWS Console and click on the **Sign in** button.

5. Once Signed In to the AWS Management Console, Make the default AWS Region as **US East (N. Virginia) us-east-1.**

### Cloud Challenge Details

In this challenge, your Amazon SNS and Amazon S3 skills are put to the test. You'll be given a requirement and you have to reach it using your knowledge of Amazon SNS and Amazon S3. This Challenge will help you understand the real-time scenarios.

**A company XYZ is deploying a new web application that helps customers to upload files to S3 Bucket. As a part of the infrastructure, the Administrator needs to be notified via Email whenever an object is put into their S3 bucket. Now your challenge is to setup the AWS architecture to perform this operation.**

**Follow the below instructions to complete this challenge.**

1. Create a Standard Amazon SNS topic named ***mySnsChallengeTopic***
2. Add an Email subscription to that topic and verify it.
3. Create a S3 bucket with a globally unique name.
4. Update the Amazon SNS Topic **Access Policy** and add permission for S3 to publish messages to SNS Topic that you have created.
5. Now, Create a S3 Notification Event named ***uploadObjectS3Event***.

* Select S3 Event type as **Put**.
* Select your SNS Topic as event Destination.

5. Test the Configuration by uploading any sample PNG image file to S3 Bucket and see if you're notified.

### End Challenge

1. Sign out of the AWS Account.
2. You have successfully completed the challenge.
3. Click on **End Challenge** button from IP Lab Portal Labs console and wait till the process gets completed.

## What gets checked

When you press **Check my work**, the platform verifies each of these:

* **Create an Amazon SNS Topic** — Check If SNS Topic created or not
* **Create Private S3 bucket** — Check whether a private S3 bucket is created or not
* **check s3 object** — Check whether an object is uploaded to the S3 bucket.

## Related help

* [FAQs and Troubleshooting](/aws-saa/support/faqs-and-troubleshooting)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.