2024. 1. 13. 19:20ㆍaws 시험대비/AWS Cetified Cloude 전문가
IAM : User & Groups
- Identity and Access Management, Global service
- Root account created by default, shouldn't be used or shared
- Users ara peole within your organization,an ca be grouped
- Groups only contain users, not other groups
- Users don't have to belong to a group, and user can belong to multiple groups
IAM : Permissions
- User or Groups can be assigned JSON documents called policies
- Thes policies define the permissions of the users
- IN AWS you apply the least privilege principle
- dont' give more permmisions than a user needs
그룹 실습 블로그 참조
[10장] 5. 실습: IAM User 및 Group 생성
Amzon IAM의 사용 방법을 배우기 위해 IAM User와 Group을 생성하고, 생성된 계정에 대해 Role 정책을 할당하는 방법에 대해 배우자. 또한 별도의 계정을 생
nulls.co.kr
IAM Pllicies inheritance


- Consists of
- Version : policy language version
- Id : an identifier for the policy (optional)
- statement : one or more individual statements (required)
- Statemnts consists of
- Sid : an identifier for the statement (optional)
- Effect : allow, deny
- Principal account/user/role to which this policy applied
- Action : list of actions this policy allows or denies
- Condition : conditions for when this policy is in effect (optional)
IAM - Password Policy
https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_passwords_account-policy.html
Setting an account password policy for IAM users - AWS Identity and Access Management
Setting an account password policy for IAM users You can set a custom password policy on your AWS account to specify complexity requirements and mandatory rotation periods for your IAM users' passwords. If you don't set a custom password policy, IAM user p
docs.aws.amazon.com
users access AWS
- AWS Management Console (MFA + password)
- AWS Command Line Interface (CLI)
- AWS Software Developer kit (SDK)
- A user owns one access keys
Access Key ID ~= username
Secret Access Key ~= password
access key 생성 권한
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "CreateOwnAccessKeys",
"Effect": "Allow",
"Action": [
"iam:CreateAccessKey",
"iam:GetUser",
"iam:ListAccessKeys",
"iam:TagUser"
],
"Resource": "arn:aws:iam::*:user/${aws:username}"
}
]
}
https://docs.aws.amazon.com/ko_kr/IAM/latest/UserGuide/id_credentials_access-keys.html
IAM 사용자의 액세스 키 관리 - AWS Identity and Access Management
사용자 편의를 위해 AWS 로그인 페이지는 브라우저 쿠키를 사용하여 IAM 사용자 이름 및 계정 정보를 기억합니다. 이전에 다른 사용자로 로그인한 경우 페이지 하단 근처의 다른 계정에 로그인(Sig
docs.aws.amazon.com
AWS CLI 설정
윈도우

https://docs.aws.amazon.com/ko_kr/cli/latest/userguide/getting-started-install.html
최신 버전의 AWS CLI 설치 또는 업데이트 - AWS Command Line Interface
이전 버전에서 업데이트하는 경우 unzip 명령을 실행하면 기존 파일을 덮어쓸지 묻는 메시지가 표시됩니다. 스크립트 자동화와 같은 경우에 이러한 프롬프트를 건너뛰려면 unzip에 대한 -u 업데이
docs.aws.amazon.com
AWS Management Console(CloudShell)
- 미국 동부(오하이오)
- 미국 동부(버지니아 북부)
- 미국 서부(캘리포니아 북부)
- 미국 서부(오레곤)
- 아시아 태평양(뭄바이)
- 아시아 태평양(오사카)
- 아시아 태평양(서울)
- 아시아 태평양(시드니)
- 아시아 태평양(싱가포르)
- 아시아 태평양(도쿄)
- 캐나다(중부)
- 유럽(프랑크푸르트)
- 유럽(아일랜드)
- Europe (London)
- Europe (Paris)
- 유럽(스톡홀름)
- 남아메리카(상파울루)
따로 가격이 안나가지만 사용하는 리소스와 네트워크 비용은 청구된다.
https://docs.aws.amazon.com/ko_kr/cloudshell/latest/userguide/supported-aws-regions.html
지원되는 AWS 지역 AWS CloudShell - AWS CloudShell
이 페이지에 작업이 필요하다는 점을 알려 주셔서 감사합니다. 실망시켜 드려 죄송합니다. 잠깐 시간을 내어 설명서를 향상시킬 수 있는 방법에 대해 말씀해 주십시오.
docs.aws.amazon.com
https://docs.aws.amazon.com/ko_kr/cloudshell/latest/userguide/shell-pricing.html
AWS CloudShell 요금 - AWS CloudShell
이 페이지에 작업이 필요하다는 점을 알려 주셔서 감사합니다. 실망시켜 드려 죄송합니다. 잠깐 시간을 내어 설명서를 향상시킬 수 있는 방법에 대해 말씀해 주십시오.
docs.aws.amazon.com
IAM Roles for Services
- Some AWS service will need to perform actions on your behalf
- To do so, we will assign permisiions to AWS services with IAM ROLES

https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles.html
IAM roles - AWS Identity and Access Management
IAM roles An IAM role is an IAM identity that you can create in your account that has specific permissions. An IAM role is similar to an IAM user, in that it is an AWS identity with permission policies that determine what the identity can and cannot do in
docs.aws.amazon.com
https://whchoi98.gitbook.io/aws-iam/iam-role
IAM 역할(Role)과 Switch - AWS IAM
역할전환은 단일 계정에서만 사용가능한 것이 아니라 교차계정에서도 가능합니다. 예를 들어 Account-Dev의 그룹 Test는 개발이 완료된 이후 , Account-Dev에서의 사용자를 통해서 Account-PRD에 자원을 직
whchoi98.gitbook.io
IAM Security Tools
- IAM Credentials Report - 유저 자격 상태와 계정 리스트(account-level)
- IAM Access Advisor - 어떤 서비스를 사용했는지 볼 수 있음(user-level)
정책 역할 차이

키워드 : 일시적, 임시, 신뢰할 수 있는 , 하나의 역할을 다수의 사용자 및 서비스에 부여(역할)
키워드 : 영구적, 하나의 그룹, 사용자에게 부여(사용자, 그룹)
'aws 시험대비 > AWS Cetified Cloude 전문가' 카테고리의 다른 글
What is Cloud Computing (1) | 2024.01.05 |
---|