-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[HOPSWORKS.AI-DOC] update aws getting started (#155)
- Loading branch information
Gautier Berthou
authored
Nov 18, 2020
1 parent
b499702
commit 6b9e587
Showing
15 changed files
with
169 additions
and
55 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,26 @@ | ||
|
||
If you select a S3 bucket then HopsFS will store all the files in the S3 bucket. Do not forget to set | ||
appropriate instance profile so that the cluster instances can access the selected bucket. | ||
|
||
<p align="center"> | ||
<figure> | ||
<a href="../../../assets/images/hopsworksai/aws/iam_role.png"> | ||
<img src="../../../assets/images/hopsworksai/aws/iam_role.png" alt="Configuring Instance Profile for Hopsworks cluster"> | ||
</a> | ||
<figcaption>Configuring Instance Profile for Hopsworks cluster</figcaption> | ||
</figure> | ||
</p> | ||
|
||
Following is an example of an instance profile needed by HopsFS to store the file system blocks in a S3 bucket. | ||
|
||
Replace *BUCKET_NAME* with appropriate S3 bucket name. | ||
```json | ||
{ | ||
"Version": "2012-10-17", | ||
"Statement": [ | ||
{ | ||
"Sid": "HopsFSS3Permissions", | ||
"Effect": "Allow", | ||
"Action": [ | ||
"S3:PutObject", | ||
"S3:ListBucket", | ||
"S3:GetBucketLocation", | ||
"S3:GetObject", | ||
"S3:DeleteObject", | ||
"S3:AbortMultipartUpload", | ||
"S3:ListBucketMultipartUploads" | ||
], | ||
"Resource": [ | ||
"arn:aws:s3:::bucket.name/*", | ||
"arn:aws:s3:::bucket.name" | ||
] | ||
} | ||
"Version": "2012-10-17", | ||
"Statement": [ | ||
{ | ||
"Sid": "HopsFSS3Permissions", | ||
"Effect": "Allow", | ||
"Action": [ | ||
"S3:PutObject", | ||
"S3:ListBucket", | ||
"S3:GetBucketLocation", | ||
"S3:GetObject", | ||
"S3:DeleteObject", | ||
"S3:AbortMultipartUpload", | ||
"S3:ListBucketMultipartUploads" | ||
], | ||
"Resource": [ | ||
"arn:aws:s3:::BUCKET_NAME/*", | ||
"arn:aws:s3:::BUCKET_NAME" | ||
] | ||
} | ||
} | ||
] | ||
} | ||
``` | ||
|
||
Replace *bucket.name* with appropriate S3 bucket name. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters