DEV Community

Cover image for Journey of Enhanced & Mindful Architecture - Part 1
1

Journey of Enhanced & Mindful Architecture - Part 1

Welcome 2025 & cheers to New Beginnings !!

There are amazing & remarkable success in Cloud innovations with architecture designs being the base foundation of those unbelievable achievements. Design enhancements, efficient service selection comes with knowledge, experience & expertise in the domain and above all, vision & need of any Business

Here in this post, I am opening a multi part series of design solutions to requirements & how it got improvised with time & knowledge

Let us see Part 1

Given scenario is a minimal illustration of one of the use cases. Requirement is to notify the admin/team when there is no tag in an EC2 resource.

To simplify

  1. Create an event bridge rule to check for any EC2 instances in the account
  2. Create a lambda function to check a given Tag/Value in EC2 instances
  3. Create an SNS topic and group/team email id to notify when tag/value doesn't exists
  4. Now when event bridge rules(with cron scheduler) assess the EC2 Instance(s), irrespective of the state(RUNNING or STOPPED) and if lambda function doesn't find the Tag Value[Project:Team or Tag:Value, as applicable]
  5. Lambda has to trigger SNS email notification to the group id

Solution Design for this scenario:

Image description

Benefits around this solution:

  1. Checks resources at defined periodic intervals, in an automated way
  2. EC2 is aimed for monitoring to Tags' existence via a schedule
  3. Lambda function will check for defined Tag/Value as expected
  4. Teams/Admins are notified even when resource(ec2) are created w/o tags or even if tag/values are removed at a later point in time, as well

In conclusion, this is an automated solution using AWS services efficiently

People who are having urge to suggest better & more efficient ways to do this, hold onto that thought and we will get there in the upcoming series !!

Billboard image

Imagine monitoring that's actually built for developers

Join Vercel, CrowdStrike, and thousands of other teams that trust Checkly to streamline monitor creation and configuration with Monitoring as Code.

Start Monitoring

Top comments (1)

Collapse
 
drjoanneskiles profile image
Joanne Skiles

Good simple process, I'll hold to my suggestions. Can't wait for your updates!

Create a simple OTP system with AWS Serverless cover image

Create a simple OTP system with AWS Serverless

Implement a One Time Password (OTP) system with AWS Serverless services including Lambda, API Gateway, DynamoDB, Simple Email Service (SES), and Amplify Web Hosting using VueJS for the frontend.

Read full post

👋 Kindness is contagious

Discover a treasure trove of wisdom within this insightful piece, highly respected in the nurturing DEV Community enviroment. Developers, whether novice or expert, are encouraged to participate and add to our shared knowledge basin.

A simple "thank you" can illuminate someone's day. Express your appreciation in the comments section!

On DEV, sharing ideas smoothens our journey and strengthens our community ties. Learn something useful? Offering a quick thanks to the author is deeply appreciated.

Okay