n0d3
n0d3

Reputation: 731

How to view all the services running on AWS?

How would I be able to view all the services running on aws. I have been charged some $$$, so what to close the services that are running. Most of the $ are being charged for KMS(Key Management System). When I go inside the KMS from aws console there's nothing.

Please Help!!!!

Upvotes: 72

Views: 116305

Answers (10)

Jatin Mehrotra
Jatin Mehrotra

Reputation: 11513

Give this a try:-

  1. Go to Billing and Cost Management (earlier it was called as my Billing dashboard).

  2. Under left pane -> Billing -> go to Bills.

  3. Here you can find bills according to month with charges based on different services.

  4. If you click on a specific service(drop down), you can find, under which region the service has been launched and its charges

Upvotes: 30

nsof
nsof

Reputation: 3049

Another option to see all resources being used is to go to the "AWS Resource Groups"-->"Tag Editor". Select "All Regions" and "All Supported Resource Types" (or any specific resource you are interested in. Click "Search resources".

AWS Rescoure Groups

enter image description here

Upvotes: 32

Sivaranjan
Sivaranjan

Reputation: 1

Through python scripts
*******************************************************************
import boto3
Assuming you have your AWS credentials configured, otherwise pass them to boto3.client()
Create EC2 client
ec2 = boto3.client('ec2')
Retrieve information about running instances
response = ec2.describe_instances(Filters=[{'Name': 'instance-state-name', 'Values': ['running']}])
Print information about running instances
for reservation in response['Reservations']:
    for instance in reservation['Instances']:
        print("Instance ID:", instance['InstanceId'])
        print("Instance Type:", instance['InstanceType'])
        print("Private IP Address:", instance['PrivateIpAddress'])
        print("Public IP Address:", instance.get('PublicIpAddress', 'N/A'))
        print("Availability Zone:", instance['Placement']['AvailabilityZone'])
        print("Launch Time:", instance['LaunchTime'])
        print("Security Groups:", [group['GroupName'] for group in instance['SecurityGroups']])
        print("Tags:")`enter code here`
        for tag in instance.get('Tags', []):
            print("\t", tag['Key'], ":", tag['Value'])
        print("---------------------------------------------")

Upvotes: 0

Uttam Pawar
Uttam Pawar

Reputation: 154

  1. Login into AWS Console
  2. Click on EC2 Global View

enter image description here

  1. You can see the all active services and resource consumption by all regions enter image description here

Upvotes: 2

Wickramaranga
Wickramaranga

Reputation: 1181

Use AWS Resource Explorer

I found AWS Resource Explorer the best place to see all the services running and resources allocated. It allows to filter by type and by region.

The only issue is it may take some time to finish indexing all the resources. It also shows a few extra records for resource explorer service itself, but this is more of a feature than an issue.

https://resource-explorer.console.aws.amazon.com/

enter image description here

Upvotes: 10

Saikat Roy
Saikat Roy

Reputation: 523

Top right corner user menu > billing dashboard (from drop-down)> bills (left sidebar menu)

This is exactly what I found in my case and find that two unnecessary ec2 instance is running in unwanted region that I'm paying extra.

And a little thought. AWS is only telling me what I'm charged for. That amount is already transferred to AWS. Instead if it would have shown me a nicer dashboard that says all the services currently running. Then I could find out which one I don't need anymore and prevent that unwanted loss of money.

Upvotes: 3

Rishabh Barman
Rishabh Barman

Reputation: 569

Firstly, go to Billing Dashboard. It open as "AWS Billing Dashboard" (notice ../billing/home in the url).

  1. If you want to view all different aws-services you have been consuming, along with their bills. From the left-pan menu, navigate to => Cost Explorer -> Launch Cost Explorer.
    Here you can find bills according to your months, regions, service-type, usage-type, etc. with charges based on different services.
  2. If you want to view your cumulative bill (regarding all usage of aws services), from the left-pane menu go to Bills.

Upvotes: 3

Sbrandollo
Sbrandollo

Reputation: 695

Depending on the access level you have in the project, there are 2 options

Option 1 (Mentioned in the previous comments)

  • Go to my Billing dashboard
  • Under left pane -> Billing -> go to Bills.

This option work only if you have access to the billing information

Option 2 - Use the VPC Dashboard

  • Search for VPC

    enter image description here

  • In the VPC Dashboard you can see "Resources by Region"

    enter image description here

Notes: This will give you information about the selected region in the top right corner, however, each resource contains The see all regions dropdown that gives an indication of where that resource is used.

Upvotes: 55

tyron
tyron

Reputation: 3865

Often the Cost Explorer is one of the best tools to identify where the money is being spent without much delays -- if you check on your bill, it will take the entire cycle to find out.

On the top of your chart on CE, you can change the grouping and usually Usage Type makes it easier to understand the exact usage of that service.

Also, keep in mind if you don't see the expected service on AWS Console, double-check if you are looking at the correct region (top right of your screen).

Upvotes: 7

Alexander Makarov
Alexander Makarov

Reputation: 886

Firstly, you can check aws bills to see for what you have been charted for - https://aws.amazon.com/premiumsupport/knowledge-center/view-aws-payments/; Also, aws has a tool called trusted advisor that will be able to help you to optimize your pricing. Lastly, there is a tool called cost explorer - https://aws.amazon.com/aws-cost-management/aws-cost-explorer/, but personally I haven't tried it yet.

Upvotes: 2

Related Questions