Forem

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 !!

Image of Timescale

🚀 pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applications—without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read full post →

Top comments (1)

Collapse
 
drjoanneskiles profile image
Joanne Skiles

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

Best Practices for Running  Container WordPress on AWS (ECS, EFS, RDS, ELB) using CDK cover image

Best Practices for Running Container WordPress on AWS (ECS, EFS, RDS, ELB) using CDK

This post discusses the process of migrating a growing WordPress eShop business to AWS using AWS CDK for an easily scalable, high availability architecture. The detailed structure encompasses several pillars: Compute, Storage, Database, Cache, CDN, DNS, Security, and Backup.

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