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

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! :)

Related

AWS Free tier exceeded, How to stop the 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.

How to cancel AWS instance and stop Amazon AWS from billing

I opened a so-called "free tier" account on AWS to learn about cloud services.
Now my credit card is charged every month and is costing me a lot of money.
I looked at the billing and I saw a Amazon RDS service in a Zone in USA.
I thought to delete the RDS instance but it was not possible even after trying several times and as hard as I could (All possible options and several times)
RDS instance could not be deleted by any means.
I thought to "stop" the instance at least it would cost less money. I saw the instance was stopped but for unclear reasons it started after 7 days again.
After a lot of frustration I decided to delete my AWS account in an attempt to stop the billing and prevent a bankruptcy. Amazon AWS still is billing the running the instance even after deleting my AWS account.
Now I cannot even login to AWS and cannot do anything.
I know I could block my credit card and get a new one, but I costs time and I would rather keep my existing credit card.
I want to open a lawsuit against AWS Amazon since it clearly violates European laws.
Please help me to answer the following questions
how can I stop this billing and prevent Amazon AWS to charge my credit card?
Where Do I get contact with AWS support, for this level I only find community help but no direct contact with AWS Support.
Where can I find information about precedent cases to prepare a lawsuit?
Many thanks for your help, this is very important since it has a big financial impact for me.
It is very easy to contact AWS support. There is a direct link in the navbar at the top right. AWS is actually pretty helpful when it comes to new users being accidentally overcharged. They will simply cancel your charges if you raised a ticket on time. https://console.aws.amazon.com/support/home?#/
What did you do to delete your account? I doubt your root account is deleted. Try logging in with root credentials (email and password) then raise a support ticket.
I can't give you legal advise but do you really intend to sue a company who you did not contact even though their support links are on every page of the their product?
The AWS Free Tier provides a billing discount for certain AWS services. It is not a 'Free Account'.
You could contact AWS Customer Service (which is different to AWS Customer Support). They handle all billing-related queries.
Go to https://aws.amazon.com/contact-us/ and select Billing or Account support.
If you are unable to signing, go to: https://support.aws.amazon.com/#/contacts/aws-account-support/

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.

Is Google Cloud Trial enough for academic project?

We are going to use Kubernetes Engine, Cloud SQL, Storage, and possibly Nosql and cache services for our academic project.
So far we'll have 5 accounts and the project has to be running for 3 months.
Will it be enough for us? Is it possible, for example, to stop project and billing every night or even stop and start at any time?
The Google Cloud Platform (GCP) Free Tier includes $300.00 USD in credits to get started with any GCP product. Since this is an academic project, I recommend using the Google Cloud Platform Pricing Calculator to learn how to price GCP products and services - link. Also review what is included in the "Always Free Products" - link. Then there are discounts for services that run for a majority of the month - "Sustained Usage Discounts" - link.
Google Kubernetes Engine:
Kubernetes Engine is free (the worker nodes are not free).
If you select n1-standard-1 (1 vCPU, 3.75 GB mem) the cost is $24.27 per month per node. Typically you will create a three node cluster: round up to $75.00 per month.
Google Cloud SQL:
Selecting a db-pg-f1-micro (PostgreSQL) with 32 GB of SSD storage: $24.27 per month
Will it be enough for us?
As you can see, you will quickly burn thru $300.00 in credit in only three months.
Take into consideration that Google's goal is not to give away services. The goal is to introduce you to Google Cloud and provide enough services at zero or low cost so that you can complete an evaluation of Google Cloud.
Is it possible, for example, to stop project and billing every night
or even stop and start at any time?
No, you cannot start and stop billing every night. In order to stop billing for a project you must delete the project and everything in it. Some services such as Google Compute Engine (GCE) can be stopped. This stops billing for the VM instance but billing for storage, snapshots, IP addresses, etc. continues unless you delete your instances every night and recreate them each morning.
Services such as Kubernetes or Google Cloud SQL cannot be completely shutdown. Technically you could by deleting everything but then recreating everything takes more time than the savings gained. Very good for practice however.
Google Cloud services would be a great option for your circumstances.
If its budgetary constraint you may want to look into using AWS, AWS will provde you with a years time for free which would be good for your horizontal scaling with k8s
Amazon and Kubernetes