Open in app
Home
Notifications
Lists
Stories

Write
Surinder Bali
Surinder Bali

Home

Jun 15, 2020

Set Retention For CloudWatch Logs Using A Lambda Function

In one of my earlier post, I demonstrated how one could set retention for CloudWatch Logs using CLI command that could be run from cron or a CI/CD server like Jenkins. A user asked if the same could be done from the console or a function. I am not sure…

AWS Lambda

5 min read

Set Retention For CloudWatch Logs Using A Lambda Function
Set Retention For CloudWatch Logs Using A Lambda Function

Feb 1, 2020

Lambda Function To Remove Old EC2 Instances

Background The firm where I am working right now has a strong emphasis on security for infrastructure in the public cloud. One of the security mandate is that all EC2 instances in any auto scaling group be terminated after a certain period of time. As far as I know, a lambda…

Lambda

6 min read

Lambda Function To Remove Old EC2 Instances
Lambda Function To Remove Old EC2 Instances

Jan 22, 2020

Query AWS CloudTrail Logs Using CLI

Background AWS CloudTrail is an AWS service that helps you enable governance, compliance, and operational and risk auditing of your AWS account. Actions taken by a user, role, or an AWS service are recorded as events in CloudTrail. Visibility into your AWS account activity is a key aspect of security and…

Aws Cloudtrail

5 min read

Query AWS CloudTrail Logs Using CLI
Query AWS CloudTrail Logs Using CLI
Surinder Bali

Surinder Bali

Cloud Architect and Engineer

Following
  • Netflix Technology Blog

    Netflix Technology Blog

  • C.S. Servigna

    C.S. Servigna

  • Trevor Samaroo

    Trevor Samaroo

  • Amanpreet Singh

    Amanpreet Singh

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Knowable