Amazon SNS

Search for a command to run...

No comments yet. Be the first to comment.
"ddrescue got your data off the dying drive. Now what? This is where you actually get it back." š The Big Picture First A lot of people think ddrescue restores data. It doesn't ā not directly. Here
"Your hard drive is making a clicking sound. Your stomach drops. Don't panic ā ddrescue has your back." š¤ What Even Is ddrescue? Imagine your hard drive is a library. Some books are fine. Some are
Most teams treat SELinux as an obstacle. The teams that thrive in production treat it as a superpower. Here's everything you need to know to move from frustrated to fluent. If you've ever Googled a
Application Load Balancer? A load balancer serves as the single point of contact for clients. The load balancer distributes incoming application traffic across multiple targets, such as EC2 instances, in multiple Availability Zones. This increases th...

In this Lab you will get the idea of the following: Created an Amazon EC2 launch template Created an Amazon EC2 Auto Scaling launch configuration Configured scaling policies and created auto Scaling group to scale in and scale out the number of se...

Amazon Simple Notification Service (Amazon SNS) sends notifications in two ways, A2A and A2P. A2A provides high-throughput, push-based, many-to-many messaging between distributed systems, microservices, and event-driven serverless applications. These applications include Amazon Simple Queue Service (SQS), Amazon Kinesis Data Firehose, AWS Lambda, and other HTTPS endpoints. A2P functionality lets you send messages to your customers with SMS texts, push notifications, and email.
Here is a simple example, in which we are going to set an email alert if there are any changes in our EC2 instance.
Search SNS and select it
Goto Topics on left bar
Click on Create topic
Select type Standard
Name: EmailAlert
Leave all default and Create topic
Goto subscriptions and select Create subscription
In Details Setting
Topic: Select EmailAlert
Protocol: Select Email
Endpoint: your-email-address
Create subscription
Now, Open your email, select the AWS Notification email and
select Confirm subscription

EventBridge is a serverless service that uses events to connect application components together, making it easier for you to build scalable event-driven applications. Use it to route events from sources such as home-grown applications, AWS services, and third-party software to consumer applications across your organization. EventBridge provides a simple and consistent way to ingest, filter, transform, and deliver events so you can build new applications quickly.
Search EventBridge on the search bar and select it, Also click on Buses to expand

Click on Rules then scroll down and click Create rule
Configure Step1: Define rule detail as:

Configure Step 2: Build event pattern as:
Leave all defaults and scroll down to Event pattern

[ Don't panic: Select AWS service then Event type auto-generate ]
Configure Step 3: Select target(s) as:

Leave optional Step 4: optional Configure tags
Step 5: Review and create click on Create rule

In the EC2 instance anything you do with instance i.e. Create, stop, Terminate you will receive an alert email.
For example, let's launch an EC2 instance without any special setup only with the name and existing key leaving all default.
You receive an email like this:

Don't forget to terminate all the things you created !!!