---
title: "Discussion on \"AWS Cloud Cost Optimization- Identifying Stale Resources\" | Hashnode"
description: "Discussion on \"AWS Cloud Cost Optimization- Identifying Stale Resources\". GOAL: In this example, we'll create a Lambda function that identifies EBS snapshots that are no longer associated with any active EC2 instance and deletes them to save on storage costs.\nDescription: The Lambda function fetches all EBS snapshots owned..."
url: "https://hashnode.com/posts/aws-cost-optimization-identifying/64c34cb6bf046540cf74b8a2"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [AWS Cloud Cost Optimization- Identifying Stale Resources](https://rizwankhan.dev/aws-cost-optimization-identifying?utm_source=hashnode&utm_medium=feed)

GOAL: In this example, we'll create a Lambda function that identifies EBS snapshots that are no longer associated with any active EC2 instance and deletes them to save on storage costs. Description: The Lambda function fetches all EBS snapshots owned...

Jul 28, 2023 · 3 min read · rizwankhan.dev  
Read the article

-   [#aws-lambda](https://hashnode.com/tag/aws-lambda)
-   [#cost-optimisation](https://hashnode.com/tag/cost-optimisation)

## Written by

[Rizwan Ahmad Khan](https://hashnode.com/@Rizwankhan)

@Rizwankhan · maharashtra ,india

  
[View profile](https://hashnode.com/@Rizwankhan)

cloud and devops engineer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
