> For the complete documentation index, see [llms.txt](https://gyansetu-aws.gitbook.io/aws-cloud/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gyansetu-aws.gitbook.io/aws-cloud/practical-14.md).

# Practical

#### &#x20;1. Creating a bucket&#x20;

* &#x20;Goto s3 -> create a bucket (awstestevent)

#### &#x20;2. Creating and attaching a subscription&#x20;

* Goto sns -> topic -> create topic -> topic name (event) - > other topic action -> edit topic                policy -> advanced view -> copy and paste the policy from google (enabling event notifications, make the changes such as region, acc no, topic name, bucket name) -> update policy -> create subscription -> protocol (email) -> endpoint (enter the mail id) -> create subscription.

#### &#x20;3. Attaching the event to Bucket&#x20;

* Goto bucket -> events -> name (event) -> events (any) -> sns topic (select the existing)

> &#x20;(note: Bucket and topic should be in same region)
