- Le plus récent
- Le plus de votes
- La plupart des commentaires
I thought of EC2 as a free service
EC2 isn't a free service. When your account is in its first year you can provision some low-spec'ed instances within Free Tier https://aws.amazon.com/ec2/pricing/
As part of the AWS Free Tier, you can get started with EC2 for free. This includes 750 hours of Linux and Windows t2.micro instances (t3.micro for the regions in which t2.micro is unavailable), each month for one year. To stay within the Free Tier, use only EC2 Micro instances.
All other instance types are always chargeable.
Which instance type did you use?
In the bill, it says some NAT gateway charges as well, which I do not understand.
Did you provision a NAT Gateway without properly understanding what it is? Explanation of NAT gateway is here https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html
Depending on the region a NAT Gateway can cost from 4.5c to 9.3c per hour, which may go some way to explaining how some of your costs are accrued https://aws.amazon.com/vpc/pricing/
Advice on how to stay within Free Tier is at https://repost.aws/knowledge-center/free-tier-charges
Hello, I would suggest to go to Cost Explorer and analyze your current spend (without waiting for the bill). You can approach in 2 steps.
- First, I would check current month by Service. The query below should give you this view. Cost Explorer - by Services
- Second, if you have cost for services that are under a group (such as EC2-Others, VPC, etc), you can filter by that service (EG VPC) and group by Usage Type. This query should give you an idea Cost Explorer - by specific Service and Usage Type
Once you have identified what is still costing you, you can proceed deleting that resources.
Cheers.
Contenus pertinents
- demandé il y a 10 mois
- demandé il y a un an
- demandé il y a un an
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a 4 mois
- AWS OFFICIELA mis à jour il y a un an
@Steve_M Thank you for your response. I missed to add one thing- I had linked my AWS account with Databricks and created S3 buckets to store files. (will update this in the original question)
I did not create any NAT gateway. Perhaps something got created automatically with default settings.
Should I share the bill details here?
And please tell me how to stop the billing. I see today my bill still got increased after I terminated the EC2 instance. I am very confused
It's very unlikely that a NAT Gateway has been provisioned without your knowledge. AWS won't do that as a default step, you would need to have done it yourself. Does anybody else have access to the account?
When you provisioned your EC2 instances etc. was it point-and-click in the AWS Console, or did you run a CloudFormation stack or Ansible playbook, or something like that?
After terminating the EC2 you won't accrue any more charges for this instance. EC2 Global View will show all EC2 resources in all regions, and from here it should be possible to identify anything else that is still accruing charges https://console.aws.amazon.com/ec2globalview/home
Detailed advice on terminating resources you don't need any more is here https://repost.aws/knowledge-center/terminate-resources-account-closure
A drastic option if you want to terminate all running resources in your account is AWS Nuke (caution: use with care!) https://docs.aws.amazon.com/prescriptive-guidance/latest/patterns/automate-deletion-of-aws-resources-by-using-aws-nuke.html