#ubuntu sudo apt-get update sudo apt-get install awscli ===== #ONTAP On cluster2 1. Create an SVM - give the svm a NAME - checkbox "Enable S3" - enter a name in the "S3 SERVER NAME" box - checkbox "Use HTTP" (Non-secure) - enter an IP ADDRESS and SUBNET MASK for the first node in the cluster - Click "Save" 2. In the Added storage VM scroll down and click Close. 3. In the Dashboard (to the left) - click Buckets - click Add - give the bucket a name - in the name bar select your SVM - in the "CAPACITY" box, enter 95 - click "Save" (You have created the bucket) 4. In the Dashboard (to the left) - click Storage VMs - In the Storage VMs page - click on your created SVM - click on "Settings" - scroll down until you see "S3" - click on the pencil - Under the "Users" tab - click on "+Add" - enter a username - click "Save" 5. In the Added user screen - Click Download to download the access key and secret key. - In windows filebrowser go to downloads and open your download key file. - Buffer the access key - In the ubuntu shell - type aws configure - paste the access key (right mouse button) and press enter - In windows filebrowser buffer the secret key. - In the ubuntu shell - paste the secret key - Press enter on the default region and output format. In the Added user screen - click "Close" 6. Click "Groups" - Click +Add - Give the group a name - In the Users bar, select your user - in the Policies bar, select FULL ACCESS - Click "Save" 7. In Linux List your bucket. - aws s3 ls --endpoint-url http:// - It should list your bucket 8. In the RDP desktop, open the S3 browser. In the Add New Account screen - enter a display name - set the Account type: to "S3 Compatible Storage" - In the "REST Endpoint": enter your ip-address. - In the "Access Key ID" field, paste your access key - In the "Secret Access Key" field, paste your secret key - click "Add new account" ==== #S3 Browser 9. In the S3 Browser. (Your bucket should be selected) - click Files and then Upload a file: - Select Desktop -> CourseFiles -> CopyToShare.bat - click "Open" 10. In the ubuntu shell - Type the following command: aws s3 ls --endpoint-url http:/// s3:// - This should list your uploaded file.