---
title: "Discussion on \"AWS CLI commands to get Monthly Cost of newly created EC2 Instances\" | Hashnode"
description: "Discussion on \"AWS CLI commands to get Monthly Cost of newly created EC2 Instances\". There's an API call behind every activity we perform on our AWS Console. When we launch a new EC2, the RunInstances event is called behind the scenes. AWS Cloudtrail is a service, where we can view which user has performed what activity.\nPlan\nCloudtr..."
url: "https://hashnode.com/posts/aws-cli-commands-to-get-monthly-cost-of-newly-created-ec2-instances/6509d2c32c52c9831819ff6d"
---

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

Discussion

# [AWS CLI commands to get Monthly Cost of newly created EC2 Instances](https://stalin.romi/aws-cli-commands-to-get-monthly-cost-of-newly-created-ec2-instances?utm_source=hashnode&utm_medium=feed)

There's an API call behind every activity we perform on our AWS Console. When we launch a new EC2, the RunInstances event is called behind the scenes. AWS Cloudtrail is a service, where we can view which user has performed what activity. Plan Cloudtr...

Sep 19, 2023 · 3 min read · stalin.romi  
Read the article

## Written by

[Stalin Romi](https://hashnode.com/@stalinRomi)

@stalinRomi

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

Sharing my Learnings in the form of blogs for the community.

## Responses 1

Markdown supported · ⌘↵ to post

[Devendra Date](https://hashnode.com/@devendradate)

[Sep 19, 2023](https://hashnode.com/posts/aws-cli-commands-to-get-monthly-cost-of-newly-created-ec2-instances/6509d2c32c52c9831819ff6d/comment/6509d9ca4a3e39112c026040)

Insightful
