Reputation: 731
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
Reputation: 11513
Give this a try:-
Go to Billing and Cost Management (earlier it was called as my Billing dashboard).
Under left pane -> Billing -> go to Bills.
Here you can find bills according to month with charges based on different services.
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
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".
Upvotes: 32
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
Reputation: 1181
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/
Upvotes: 10
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
Reputation: 569
Firstly, go to Billing Dashboard. It open as "AWS Billing Dashboard" (notice ../billing/home
in the url).
Upvotes: 3
Reputation: 695
Depending on the access level you have in the project, there are 2 options
Option 1 (Mentioned in the previous comments)
This option work only if you have access to the billing information
Option 2 - Use the VPC Dashboard
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
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
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