跳至內容

Insanely high charge for idling services

0

Someone explain to me how zero traffic services on free tier machines is charging me the insanely high bill. The invoice doesn't make any sense either. What am I getting charged for exactly. The breakdown is cryptic and not understandable.

  • please accept the answer if it was useful

已提問 2 年前檢視次數 348 次

1 個回答
1
  1. Review the Detailed Billing Report. Access your detailed billing report in the AWS Billing and Cost Management Dashboard. This report provides a breakdown of all charges, including free tier usage.
aws ce get-cost-and-usage --time-period Start=YYYY-MM-DD,End=YYYY-MM-DD --granularity MONTHLY --metrics "AmortizedCost" "UnblendedCost" "UsageQuantity" --group-by Type=DIMENSION,Key=SERVICE

  1. Check Free Tier Usage. Ensure that you are within the limits of the AWS Free Tier. The free tier has specific usage limits for each service, and exceeding these limits can result in charges.

Common Free Tier Limits:

  • EC2: 750 hours of t2.micro or t3.micro instances per month.
  • S3: 5GB of standard storage, 20,000 GET requests, and 2,000 PUT requests per month.
  • RDS: 750 hours of db.t2.micro or db.t3.micro instances per month.
  1. Identify Running Services. Use the AWS Management Console or CLI to list all running services and resources. Check for any running instances, databases, or other services that might be incurring charges.
aws ec2 describe-instances --query 'Reservations[*].Instances[*].[InstanceId,InstanceType,State.Name,LaunchTime]'
aws rds describe-db-instances --query 'DBInstances[*].[DBInstanceIdentifier,DBInstanceClass,DBInstanceStatus,InstanceCreateTime]'
aws s3 ls
  1. Check for Data Transfer Costs. Data transfer charges can accumulate if you have traffic between different regions or out to the internet. Review your data transfer costs in the billing dashboard.
  2. Review CloudWatch Metrics. Check CloudWatch metrics for unexpected usage patterns. High CPU, memory, or network usage on your instances could indicate unexpected activity.
  3. Investigate Unintended Services. Ensure that no unintended services or resources were created. Sometimes, automated scripts, third-party tools, or mistakes can result in unexpected resource creation.

If, after reviewing the detailed billing report, you still cannot understand the charges, contact AWS Support for assistance. They can provide a detailed explanation of your bill and help identify any discrepancies.

  • AWS Support Center: Log in to the AWS Support Center and create a support case.
  • Billing and Account Support: AWS provides free billing and account support. You can reach out to them directly for help.
專家

已回答 2 年前

AWS
專家

已審閱 2 年前

專家

已審閱 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。