AWS Free tier exceeded, How to stop the services - amazon-web-services

I recently got this email from AWS budgets, saying I have exceeded the usage of AWS free tier. And when i check the Billing Dashboard -- > Free Tier , it displayed following table.
I have terminated all the instances and released all the AMIs . Still it shows the same status on my Billing dashboard.
How can I make sure that I am no more using any services that will cost me?

It can take up to around 24 hours to reflect changes on the billing dashboard.
In the meantime, I'd make sure there are no more EBS volumes or snapshots remaining as well. If you're worried that you may have missed any resources, go into cost explorer and drill down by daily spend. This should show anything still accruing costs.

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

GCP - Cluster and database are turned off, but I am still charged

Please, I have a problem, that I have turned off my database and cluster, but I am still charged with only small price difference.
Commnand for turning off Cluster:
gcloud container clusters resize dev-cluster --num-nodes=0
--zone=europe-west3
For database:
gcloud sql instances patch app-dataase-dev --activation-policy NEVER
The one cluster and Sql database is only one and one. Yesterday 7th Jan., it was whole day turned off and I am still charged for almost same price, like it was not. I am sure that pool was empty and database was turned off. Also check the days before. At 3 - 5. Jan it was running like 5 hours per day and price difference is almost nothing.
I am not able to reach GCP support, because I am not on paid program.
Please could anyone help me find solution for this?
From Pricing:
GKE clusters accrue a management fee of $0.10 per cluster per hour, irrespective of cluster size or topology
This is probably the cause of the continued charges you are seeing for your cluster. Although one zonal cluster per billing account should be free according to the same documentation.
I would suggest contacting Billing Support, which is available for all Google Cloud accounts irrespective of any Technical Support plan you may or may not have.
If you are not using your Cluster you can delete it to avoid future charges:
gcloud container clusters delete
gcloud container clusters delete NAME [NAME …] [--async] [--region=REGION | --zone=ZONE, -z ZONE] [GCLOUD_WIDE_FLAG …]
Same thing for your sql instance, you can delete your instance:
gcloud sql instances delete [INSTANCE_NAME]
Even though your Cluster has 0 nodes and your instance is not receiving data, they are still using resources that is why you see that charge.
Additionally, Keep in mind that your Billing report is associated with your Billing Account, and if this Billing Account is linked to other projects that are generating costs, those costs will be reflected in the Billing Report.
To confirm if billing is enabled on a project you could consult the following documentation
Its long responses. I will add only results:
Its true, that you are billed $0.10 per cluster hour. #Nahuel.
To disable all paid features you need to disable billing for a project:
disable billing
then
enable billing, but After 30 days with disabled billing, all resources will be destroyed.
Also they said, that if you want to keep your project running, and fully turn off, you need to destroy it all.
I will go with turning off whole project, which is ok now for me. I have there only dev things. I hope this could be helpful for others, who would like to save some money.
Thanks to responders for help! :)

See the used amount of my free tier on AWS

I run a small app in the AWS elastic beanstalk, and have the following problem: I know there is table somewhere, which shows you how much of your free tier you already used, but I'm just unable to find it for the sake of it. Maybe one could help.
The AWS space is truly confusing for a noob.
See Tracking your free tier usage.
You can track your usage with the Top AWS Free Tier Services by Usage table on the dashboard of the Billing and Cost Management console.

AWS EC2 Charging on Free Tier

I have enabled EC2, RDS and S3 for my spring boot application hosted on AWS. As i have selected free tier plan for those and i am really shocked that they are charging. I verified payment and can see most of the charges is for EC2 instance. I am running single instance.
Why they are charging me? How to avoid charging for the first year?
The AWS Free Tier is a billing discount. It is not a "free plan".
Each month, a certain quantity of services are included in the Free Tier. If you stay within these limits, there will be no charge.
You did not provide any details, but it seems that your usage exceeded the amounts provided under the Free Tier.
Calm down!
You can see it's charging in the Billing Dashboard that's right.
However, that's just a Forecast of your spend and at the end of the month AWS will cut zero of your money (unless you used service out of your free-tier limits)
Conclusion: The Billing Dashboard estimation doesn't separate between your usage if it's from your free-tier or not, it just estimates your usage, I know it looks stupid but that's how AWS Billing Dashboard works.
Note: In order to use the free tier you have to use both a free tier AMI and free tier instance types.
Update: to avoid that's from happening again read this link Avoiding unexpected charges

How to ensure AWS Elastic Beanstalk is free

I am wanting to deploy a Django webapp with a PostgreSQL database to AWS Elastic Beanstalk using this tutorial, but I am so confused about pricing. It says it uses services in the AWS Free Tier, but those seem to be limited to a certain number of hours a month, so how do I make sure I don't go above that threshold? And how do I make sure I'm only using free services? They even require a card on file, so it seems really hard to make sure I don't get charged.
You can do the following configuration to make sure you use AWS Elastic Beankstalk for one year free.
Use only Micro instances for the WebServer and RDS instance.
Limit the scaling of the WebServer maximum to 1 or use Standalone deployment without autoscaling.
When selecting storage, use less than 30GB for EBS and don't enable Provision Throughput.
Apart from these, there are usage base costs for Network, EBS IOPS & etc which includes a free quota and the cost is not considerable when it comes to light use cases.
The AWS Free Tier allows AWS accounts to use a certain amount of services for no charge. Any usage beyond the free tier limits will result in a charge on your credit card.
The Free Tier is intended to provide a trial of AWS services. It is not intended for production use, nor is there any guaranteed way to stay within the free limits. It is up to you to monitor your usage.
There is no such thing as a totally free AWS account.
I have found "Cost Management Preferences" -> "Receive Free Tier Usage Alerts" setting in Billing preferences menu. Hopefully this will be enough for a small personal projects with low usage. I would guess it is not enough for large projects since this is only a notification.
In short, you can absolutely make sure that your app stays free, just not from within the AWS interface. You'll have to use your own usage monitoring to ensure you stay within the free limits as others state.
As Ashan said, this is a pretty silly approach since fees are nominal and the alternative is a loss of service, however, AWS does offer APIs to help you do this through CloudWatch.
CloudWatch exposes pretty much all of the billable metrics on a service-by-service basis, for example here are the metrics for EC2, and here are the metrics for S3. After starting your services through beanstalk, just look up all the services you're using via the billing page of the AWS console, look up the CloudWatch APIs for each, then check them.
At least for EC2, there are even customizable alarms and actions, including shutting down the instance. See the Monitoring tab at the bottom of the EC2 console. Not sure, but you might have to manually throw status updates to their status system for some of the other metrics. If so, it's not that difficult. You'd set up an access key for some IAM identity so you can check CloudWatch stuff from command line. Then, you'd write a watchdog script to run on that instance using AWSCLI to regularly ping CloudWatch and call your shutdown code or modify your status if you're over some percentage of your quota.