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
-
Good knowledge of AWS service
- Amazon S3
- Amazon SNS (Simple Notification Service)
- Laptop/Desktop
- Internet Browser
- Internet connection
Challenge Instructions
- Region : Make sure to use us-east-1 region to create all the resources.
- 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.
- Challenge Duration: 40 minutes
How to submit the challenge
- After building the infrastructure, click on the Validation button, to validate if you have built the required infrastructure and completed the challenge successfully.
-
Validation status
- Success - You have completed the challenge successfully.
- Failed - You have failed to complete the challenge.
- Once you have successfully validated the challenge, click on End Challenge button to end the challenge.
Launching Challenge Environment
- To launch the challenge environment, Click on the Start Challenge button.
- Please wait until the cloud environment is provisioned. It will take less than a minute to provision.
- 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
- Click on the Open Console button, and you will get redirected to AWS Console in a new browser tab.
- 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.
- 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.- Create a Standard Amazon SNS topic named mySnsChallengeTopic
- Add an Email subscription to that topic and verify it.
- Create a S3 bucket with a globally unique name.
- Update the Amazon SNS Topic Access Policy and add permission for S3 to publish messages to SNS Topic that you have created.
- Now, Create a S3 Notification Event named uploadObjectS3Event.
- Select S3 Event type as Put.
- Select your SNS Topic as event Destination.
- Test the Configuration by uploading any sample PNG image file to S3 Bucket and see if you’re notified.
End Challenge
- Sign out of the AWS Account.
- You have successfully completed the challenge.
- 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.