AWS EC2不会显示实例使用情况报告.为什么? [英] AWS EC2 doesn't display instance usage report. Why?

查看:75
本文介绍了AWS EC2不会显示实例使用情况报告.为什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用AWS EC2免费套餐和Elastic Beanstalk.我还没有从AWS购买任何服务.

当我以root用户身份登录时,AWS通知我将超过免费套餐使用限制:

我想看报告.我做了所有这些文档说的

为什么?如何使AWS显示报告?

解决方案

我知道了.

我从未明确使用过任何AWS存储服务.我现在仅测试Elastic Beanstalk以接触AWS.Docs说Beanstalk是免费的,您只需为Beanstalk使用的AWS资源付费.而且Beanstalk总是为我的Node.js Web服务器创建免费的 t2.micro 实例,而且我从来没有对示例测试应用程序提出超限请求.但是,我经常以 .zip 捆绑软件的形式上传应用程序的新版本.而Elastic Beanstalk则向我收取费用!在11月,它突然向我收取了2美元的S3使用费.我从未使用过 S3 ,但是Beanstalk做到了.默默地.

小心使用Beanstalk.Beanstalk将所有这些PUT请求发送到幕后的 S3 .

最好将 EC2实例 EBS存储一起使用.EBS免费提供:

2000000 I/O操作(仅S3 20000 GET,2000 PUT)

30 Gb存储(仅S3仅5 Gb)

用于快照的1 Gb(S3没有)

对于开发和测试环境,免费的 EBS General Purpose(SSD)就足够了.但是Beanstalk不使用它.它使用昂贵的 S3 .

I use AWS EC2 free tiers and Elastic Beanstalk. I didn't buy any services from AWS yet.

When I login as a root, AWS informs me that I'm going to exceed the Free Tier usage limit:

I want to see the report. I do all that this docs says https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/usage-reports-instance.html#viewing-instance-usage But AWS doesn't show me reports. I set all the necessary filters correctly:

Why? How to make AWS to show report?

解决方案

I figured that out.

I have never used any AWS storage services explicitly yet. I only test Elastic Beanstalk now to have my hands on AWS. Docs says Beanstalk in free, you only pay for AWS resources that Beanstalk uses. And Beanstalk always created free t2.micro instance for my Node.js web server and I never had over-limit requests to my sample test apps. However I often uploaded new versions of my apps as .zip bundles. And that Elastic Beanstalk charged me for that! In November it suddenly charged me $2 for S3 usage. I never used S3, but Beanstalk did it. Silently.

Be careful playing with Beanstalk. Beanstalk makes all those PUT requests to S3 behind the scenes.

It it better to use EC2 instance with EBS storage. EBS offers for free:

2 000 000 I/O operation (S3 only 20 000 GET, 2000 PUT)

30 Gb storage (S3 only 5Gb)

1 Gb for snapshots (S3 doesn't)

For development and test environments free EBS General Purpose (SSD) is good enough. But Beanstalk doesn't use it. It uses expensive S3.

这篇关于AWS EC2不会显示实例使用情况报告.为什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆