Create User Account

Create User

IAM2
I was on the process of migration, so I created the same user with the identicall name and password
Also, I unchecked the configuration of obligation to reset the password

Create Group

IAM3
Create group for the user
Click on ‘그룹 생성’
IAM4
Created the group with the name MLPrediction
And the policy name is going to be Administrator Access
Click on ‘사용자 그룹 생성’
IAM5
New group named MLPrediction created

Add MyUser user to the MLPrediction Group

IAM6
Click on 그룹에 사용자 추가 > 다음
IAM7
Click on 사용자 생성
IAM8
Confirm the Console Password for the user
Click on .csv 파일 다운로드 for future login in case you’ve forgotten your password
Click on 사용자 목록으로 돌아가기 to see the overview

Overview of the process

IAM9
User successfully created
IAM10
By clicking on ‘사용자 그룹’, we can identify the MLPrediction group successfully generated
IAM11
Observe the MLPrediction group, we can easily identify the user MyUser
IAM12
Identify permissions(권한) for the group MLPrediction
Can see the Administrator access attached to the MLPrediction group
IAM13
Identify permissions(권한) for the user MyUser
But when seeing the 연결 방식, it is stated ‘그룹 MLPrediction’, meaning the permission was not assigned directly, but inherited from the group MLPrediction

Create Access Keys

To access AWS Services, in VS Code exe, I will create access keys for the user MyUser
IAM14
Click on Access Key 만들기
IAM15
Using access keys in a Visual Studio executable to log in and access AWS Lambda and S3 within your workflow – I would likely be working with local code
The option that mentions “로컬 코드” (local code) and provides for accessing the AWS account using application code in a local development environment is the one that seems most aligned with my needs
This choice allows me to integrate AWS services directly into your Visual Studio application, providing the necessary credentials to access AWS Lambda and S3 resources as part of your local development and testing process
Choose the option ‘로컬코드’ > Click on ‘다음’
IAM16
Skipped the process> 엑세스 키 만들기
IAM17
Stored the Access key by clicking on ‘.csv 파일 다운로드’ > 완료

Renew IAM credentials in my visual studio exe code

IAM18
IAM19
IAM20

Create New role for the Lambda function csv_sloshingprediction1

I want to create a role that grants the lambda function to access the S3 bucket which has the csv file I want to make inference on, and basically to process the parameters in csv_sloshingprediction1
I aim to establish a role that authorizes the Lambda function csv_sloshingprediction1 to access the S3 bucket containing the CSV file needed for inference
This role will enable the function to process the parameters required for sloshing prediction within csv_sloshingprediction1
Click on the IAM roles sections
S3_19
Click on AWS 서비스 for the category choose the entity that you trust most
Because this option is designed to grant permissions to an AWS service, like Lambda, to interact with other AWS services
Chose AWS Lambda for 사용 사례, because I am setting up a role for an AWS Lambda function
Click on 다음
S3_20
Search for awslambda in the search bar > Select the permission AWSLambdaBasicExecutionRole
S3_21
Search for S3 again > Select the permission AmazonS3FullAccess > Click on 다음
S3_22
Named the role S3ReadEventRole
S3_23
Can see that policies AmazonS3FullAccess and AWSLambdaBasicExecutionRole was added to the role
Click on 역할 생성
S3_24
Can see the ReadEventRole was newly generated