IAM (Identity and Access Management) ควบคุม ว่าใครสามารถทำอะไรได้บ้าง ใน AWS — จัดการ users, groups, roles และ permissions เป็นพื้นฐานของความปลอดภัยใน AWS: ทุกการกระทำได้รับการอนุญาตผ่าน IAM ดังนั้นการเข้าใจมันจึงเป็นสิ่งจำเป็น
IAM จัดการอะไร
IAM controls AUTHENTICATION (who you are) and AUTHORIZATION (what you can do):
USERS → individual identities (people or applications) with credentials
GROUPS → collections of users (assign permissions to a group → all its users get them)
ROLES → identities ASSUMED temporarily (by users, services, or AWS resources)
— no permanent credentials; key for services/cross-account access
POLICIES → JSON documents defining PERMISSIONS (what actions on what resources)
