Adding user on IAM
Adding User on IAM¶
- Login to IAM and click on aws (NCI cloud one web console).
- In the search box type IAM and click on the popup to reach the IAM dashboard.
- Click Users tab on the left side of the page.

- Click on Add users tab.

- Enter the User name under Set user details; Username must prefix with data-science-*
- Under Select AWS access type select Access key – programmatic access and click Next.

- Leave Set permissions section as it is.
- Under Set permissions boundary select Use a permissions boundary to control the maximum user permissions
- In the filter policies search box, type "science" and select PermissionBoundary_DataScience from the drop down then click on Next.

- Skip Section 3 and click Next

- Click on Create user

- New user is created; click on download .csv tab. This file contains the password, Access key ID, secret access key.

- After downloading the csv file, log into biowulf and run the following commands and enter the AWS Access key ID, AWS secret Access Key information from the downloaded csv file.
- Enter Default region name as us-east-1.
- Enter Default output format as json.
module load aws/current
aws configure
AWS Access Key ID [None]: <enter KeyID here>
AWS Secret Access Key [None]: <enter Access key here>
Default region name [None]: us-east-1
Default output format [None]: json
This will enable access to the s3 bucket. You can verify using the aws s3 ls command.
[gangalapudiv2/ngs_pipeline_testing]$ aws s3 ls s3://ccr-genomics-testdata/testdata/
2023-10-06 14:13:43 184546 Test1_R_T_R1.fastq.gz
2023-10-06 14:13:44 186371 Test1_R_T_R2.fastq.gz
2023-10-06 14:13:44 160880 Test2_R_T_R1.fastq.gz
2023-10-06 14:13:43 163153 Test2_R_T_R2.fastq.gz
2023-10-06 14:13:45 159281 Test3_R_T_R1.fastq.gz
2023-10-06 14:13:44 162359 Test3_R_T_R2.fastq.gz