AWS 現在の請求額を確認→billing
AWSの現在の請求額を確認するには「billing」で検索。
何かとんでもない勘違いでもしてないか不安だったが、
よかった。まだ無料枠内だった。
サービス消し忘れて何十万も請求が来たという話も聞くので、
たまに確認するようにしよう。
※1,000円超えたらアラーム飛ばすようにしてるので大きな間違いは起こらないのではないかと思う。
自己啓発メモときままなプログラミング。
Dear AWS Customer,
Your AWS account 55xxxxxxx has exceeded 85% of the usage limit for one or more AWS Free Tier-eligible services for the month of July.
Product AWS Free Tier Usage as of 07/29/2021 Usage Limit AWS Free Tier Usage Limit
AmazonEC2 0.85621692 GB-mo 1.0 GB-mo 1 GB of Amazon Elastic Block Storage snapshot storage
To learn more about your AWS Free Tier usage, please access the AWS Billing & Cost Management Dashboard. You can find more information on AWS Free Tier here.
Dear AWS Customer,
Your AWS account 55xxxxxxx has exceeded 85% of the usage limit for one or more AWS Free Tier-eligible services for the month of July.
Product AWS Free Tier Usage as of 07/27/2021 Usage Limit AWS Free Tier Usage Limit
AmazonS3 1722.0 Requests 2000.0 Requests 2,000 Put, Copy, Post or List Requests of Amazon S3
{
"Sid": "Allow CloudTrail to encrypt logs",
"Effect": "Allow",
"Principal": {
"Service": "cloudtrail.amazonaws.com"
},
"Action": "kms:GenerateDataKey*",
"Resource": "*",
"Condition": {
"StringLike": {
"kms:EncryptionContext:aws:cloudtrail:arn": [
"arn:aws:cloudtrail:*:【aws-account-id】:trail/*"
]
}
}
},
{
"Sid": "Enable CloudTrail log decrypt permissions",
"Effect": "Allow",
"Principal": {
"AWS": [
"arn:aws:iam::【aws-account-id】:root",
"arn:aws:iam::【aws-account-id】:user/【username】"
]
},
"Action": "kms:Decrypt",
"Resource": "*",
"Condition": {
"Null": {
"kms:EncryptionContext:aws:cloudtrail:arn": "false"
}
}
},
{
"Sid": "Allow CloudTrail access",
"Effect": "Allow",
"Principal": {
"Service": "cloudtrail.amazonaws.com"
},
"Action": "kms:DescribeKey",
"Resource": "*"
},