awscli list all objects created by ownerid? - amazon-web-services

I'm trying to stay within the limits of my free tier, however, I notice I am being charged ~$1.50 a day for something, I don't know what.
I've terminated all my instances, yet the bill keeps ticking up every day.
I've also deleted all my security groups, route-tables, nat-gateway, subnets and vpc, everything I can think of. Something is still there creating charges though.
How can I get a list of all the objects still hanging around?

You can add a support request to AWS, there are very responsive to the requests. I had a student account on AWS and some Fargate charges were added to my account. I opened a case and submitted a ticket in the support centre. They responded quickly with the reason why my charges were occurring and also gave me $20 USD credit for that month. Also, you can check if Termination protection is enabled in any of your stack in CloudFormation. It stops your instances from being deleted.

you can contact aws support centre for more info. after deleting all instances and other services wait for 24-48 hour. it will be reflected in billing after that much amount of time.
you can go inside cloud formation and delete all stack if any one is there and check for all region.
also if you created load balancer delete it manually it will be not deleted with EC2 instances.

Related

How often does AWS refresh billing regarding EC2 instances?

About 10h-18h ago I lauched several spot instances and used them for some time before I terminated them.
The AWS "Billing & Cost Management Dashboard" keeps showing me zeroes...
How do I track my expenses?
Do I need to enable something?
P.S. It's an old account and as I understand there is no free tier here
It refreshed almost at 24h mark...
aws billing refresh speed is remarkably slow

AWS is charging me but the Billing Console doesn't show what the issue is

AWS is charging me but the cost reports aren't showing enough detail to figure out why. I think it might be one EC2 instance I created for the tutorial but I can't figure out how to delete it. Can you help?
I signed up for Amazon free tier and I'm doing the tutorial on https://aws.amazon.com/getting-started/projects/build-modern-app-fargate-lambda-dynamodb-python/?e=gs&p=gsrc
It says on the first page "Many of the services used are included in the AWS Free Tier. For those that are not, the sample application will cost, in total, less than $1/day." So then I finished the first two modules of that tutorial and quit for the day -- I didn't shut down any services (cause the tutorial didn't tell me to) but today I got an email saying I've exceeded my $5 AWS threshold in only e days! The email has a link to a Cost Report that says it's spending $2.16 per day, but it won't tell me what!
I've gone through all the cost explorer reports and they confirm I'm spending money on EC2 but I can't find why. Can you help?
Here's a screenshot of the "Billing Management Console" -- says I spent that money on "EC2". But then when I drilled down into EC2 it wouldn't tell me exactly what.
So I clicked on the AWS Cost Management report and it says I'm spending $2.16 a day but it won't give any more granularity that that because all the advanced reports are monthly and don't yet show the last three days. (Apparently it lets you opt-in to daily/hourly reports but it says it charges a fee for that too so I didn't). So I don't know what specifically is charging.
So I clicked on the EC2 Dashboard. It said I'm using one volumne, 2 elastic ip addresses, and 4 security groups. I figured out how to delete the volume but I can't figure out how to delete the IP address or the security group. Are those charging me money? How do I delete them?
I went to the EC2 Instances and there is one "Volume" in use (basically a docker container created for the tutorial) so I deleted that, but that was well below what the Free Tier provides, so was that the source of my charges? Then I went to the Instances and it says there is one instance so I deleted that too. But it still says I have two IP addresses and comments below say I'm being charged for that.
How can I delete this IP addresses? There is no delete button.
How can I be 100% sure everything is deleted and I'm not getting any more charges?
Turns out the answer was actually a NAT Gateway VPN. That doesn't show up on the billing report screenshots above, but I eventually found it mentioned on the billing and then shut it off.
Unassigned ElasticIP will cost you money.
You delete ElasticIPs by Releasing them.
Security groups does not cost money. In general, for advanced users it is better to create all resources with CloudFormation stack so they can be all cleaned by deleting the stack.
If you have an Elastic IP assigned, and it's not in use, AWS charges you for it, if it's actually assigned to an EC2 instance and used, it's free. (To discourage people from hoarding Elastic IPs.)
When you're in the EC2 web console, click 'Running Instances'. What do you see? How many instances? How many stopped? How many running?
I don't think the security groups can be deleted, and I don't think AWS charges for them.

Turn off Amazon EC2/RDS

I am in the process of learning more about Amazon AWS. I want to turn off my Amazon Elastic Beanstalk EC2/RDS services. I have selected the minimum service entries, but I am still racking up small service charges. How do I do this?
have selected the minimum service entries, but I am still racking up
small service charges.
It isn't clear what you are saying with that sentence. Do you mean to say that you are within the limits of the free tier and yet you are still getting charged?
If you want to just "turn off" your EC2 and RDS instances then delete/terminate them. Afterwards look at the EBS snapshots and volumes, and the RDS snapshots and delete any of those that are still there. That will most likely stop the charges.
If you want to know exactly what you are being charged for so that you can zero in on the culprit you can enable detailed billing.
AWS has pretty good documentation on setting up and terminating instances. Here's a page with instructions on how to terminate an environment using the AWS Management Console:
http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/using-features.terminating.html.

Amazon Web service RDS Instance

How do i terminate and delete a RDS Instance that is on Amazon Web services . I successfully deleted the rds instance ystd, however it is still incurring charges on me. is it possible that I deleted it wrongly?
If you see charges even after you deleted an RDS instance, make sure:
That you didn't reserved a particular instance type ( see here for more details https://aws.amazon.com/rds/pricing/ )
That you are checking the right region. ( On the UI right top corner, click through them and check if you don't have instances in other regions ).
If something still not clear contact aws support. They are usually pretty good at responding and helping you troubleshoot issues.
One thing to remember is that AWS bills on a monthly basis.
Unless you purchased a reserved instance of some type upfront (which is possible for RDS) you will incur a charge at the end of the month for the actual usage of the instance over the monthly billing period, even if you used it for just a few minutes.

Amazon EC2 unexpected billing amount

I´m quite new with Amazon Web Services. Some months ago, I created a m3.medium instance on demand. According to AWS EC2 prices, this instance is 0.077$/hour. This means 55,44$/month (november). However, I got a billing of 74.76$ (91.12$ with taxes).
I guess I have some service that I´m missing and maybe they are charging me:
In example, I have an Elastic Load Balancer. Am I getting charged for that? Actually, I have realized I had two ELB. It looks like I created it another one for testing purposes and I forgot it there.
I also have an Elastic Block Store (EBS) with 8GB of size. Am I getting charged for that? Do I really need it?
When I check my billing status, I don´t see any reference to these both two services. So, I guess they are included in the EC2 billing, right?
I don´t know where I got the idea that when you start an EC2 instances, an ELB and EBS was included with no additional charges.
As you can see, I´m quite lost with these services.
Billing information is available from the account menu (in the top-right, next to the Region menu). It will display a simple breakdown of charges by service:
More detailed billing information is available by clicking the "Bill Details" link (in the top-right). It will show a breakdown of charges by service for any selected month:
EBS charges are included under "Elastic Compute Cloud":
To answer your questions:
Elastic Load Balancer pricing
Elastic Block Store (EBS) pricing: This is the disk storage for Amazon EC2. You will be charged for any volumes from the time they are created until they are deleted.
There is also a Free Usage Tier that includes 30GB of EBS storage each month in your first year (amongst other services). If you use services within this free tier, there will be no charge.