Cloud Computing 101 - Session#4
- supriyamalla

- Sep 16, 2022
- 1 min read
Updated: Sep 23, 2022
Alright, now that we are good with the CC (cloud computing) basics, we will learn today about IAM!
IAM - Identity & Access Management, Global service
Root account - by default; shouldn't be shared
users can be grouped; groups contain only users and not other groups; users can belong to multiple groups
IAM Permissions:
Users/Groups - assigned JSON docs called policies - defines permissions
apply the least privilege principle - don't give permissions than a user needs
You have two ways to login - through root user and through IAM user
IAM Policy structure:
version
id (optional)
statement (required) - consists of SID - identifier of statement (optional), effect (allow/deny), principal (Account/user/role) to which its applied to, action (list of actions this policy allows/denies), resource (list of resources actions are applied to)
Do some hands-on on how to create users, groups, update policies on AWS console.
IAM - MFA overview (Multi Factored Authentication)
MFA - password you know + security device that you own
could be Virtual MFA device, YubiKey (Universal 2nd factor security key)
or Hardware Key Fob
To access AWS you have 3 options:
AWS Management console (password+MFA)
AWS CLI - protected by access keys
AWS Software Developer Kit (SDK) - for code; protected by access keys
Access keys generated through aws console ; users manage their own access keys
AWS CLI
Tool that enables you to interact with AWS services using commands in command line shell
AWS SDK
Enables you to access & manage aws services programmatically ; language specific APIs; embeds within your application
IAM Roles for Services
Services used by AWS on behalf of IAM user.
Common roles:
EC2 Instance Roles
Lambda Function Roles
Roles for CloudFormation
You can create a role for AWS Services and then accordingly apply polices to these roles
That's all for today!


Comments