aws ec2 上为什么占用的空间越来越大?

162 天前
 cmichael

我用的是免费的 ec2 ,现在收到这个消息:

Your AWS account xxxxx has exceeded 85% of the usage limit for one or more AWS Free Tier-eligible services for the month of November.

Product AWS Free Tier Usage as of 11/27/2023 Usage Limit AWS Free Tier Usage Limit AmazonEC2 25.84750204 GB-Mo 30 GB-Mo 30.0 GB-Mo for free for 12 months as part of AWS Free Usage Tier (Global-EBS:VolumeUsage)

是不是每个月有 30G 的存储空间限额(流量是好象 100G )?

我用 df -h 查,没占用那么多空间: Filesystem Size Used Avail Use% Mounted on udev 476M 0 476M 0% /dev tmpfs 98M 508K 97M 1% /run /dev/xvda1 30G 2.8G 26G 10% / tmpfs 487M 0 487M 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock /dev/xvda15 124M 12M 113M 10% /boot/efi tmpfs 98M 4.0K 98M 1% /run/user/1000

那为什么会出现?

1301 次点击
所在节点    Amazon Web Services
3 条回复
Freakr
162 天前
文件删了句柄没关?
zidian
162 天前
不管你用了多少,人家只看你申请了多少。
baobao1270
162 天前
1. 是每个月只有 30G
2. 他这个是按你创建 EC2 的时候输入的磁盘大小算的,不是按实际大小
3. 这个邮件他每个月都会提醒,不用管他
4. 下次记得发帖子发 markdown 格式的,你这 df 的结果根本没法看

不知道楼主有没有学过量纲分析,AWS EBS 的计费单位不是 $/GB ,而是 $ * (GB * s)^-1 。也就是
Charge on EBS = Unit price * Data size in GB * Seconds
你的存储大小没有达到 85%,但是因为这个月过了 85%,所以他每个月都会发

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/995821

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX