PlAwAnSaI
Administrator
Code:
https://nopnithi.medium.com/a86e5d6abd16
- สร้าง Email Forwarding ชื่อใหม่
Code:
https://nopnithi.medium.com/tips-and-tricksในการสมัครใช้งาน-aws-account-free-tier-เพื่อ-lab-921c33a54ff8
- สร้าง Account AWS Root ใหม่
- ผูก Multi Factor Authentication (MFA) ทั้ง Root & IAM User
- ตั้ง Budget ให้แจ้งเตือนหากค่าใช้จ่ายเกิน 1$ (จริงๆ AWS มี Template ให้เลือก 0.01$ อยู่ด้วย)
- สร้าง IAM User เอามาใช้แทน Root:
- IAM > Create Account Alias
-
Code:
https://kloudle.com/academy/how-to-create-an-iam-admin-user-in-aws
- ให้ IAM ดู Bills ได้ด้วย:
- Root Account > Account > IAM user and role access to Billing information > Edit > Activate
- เพิ่ม IAM Policy - Read-Only_Billing_Access ให้ IAM User:
Code:{ "Version": "2012-10-17", "Statement": [ { "Sid": "BillingReadOnly", "Effect": "Allow", "Action": [ "aws-portal:ViewBilling", "aws-portal:ViewUsage", "aws-portal:ViewPaymentMethods", "aws-portal:ViewAccount", "ce:Get*", "ce:List*", "budgets:ViewBudget", "pricing:GetProducts" ], "Resource": "*" } ] }
Last edited: