-
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.
[instance_profile_permissions] Reorganize instance profile section an…
…d add permissions for CloudWatch (#197)
- Loading branch information
Showing
4 changed files
with
67 additions
and
41 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -0,0 +1,47 @@ | ||
|
||
Replace *BUCKET_NAME* with appropriate S3 bucket name. | ||
```json | ||
{ | ||
"Version": "2012-10-17", | ||
"Statement": [ | ||
{ | ||
"Sid": "hopsworksaiInstanceProfile", | ||
"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" | ||
] | ||
}, | ||
{ | ||
"Effect": "Allow", | ||
"Action": [ | ||
"cloudwatch:PutMetricData", | ||
"ec2:DescribeVolumes", | ||
"ec2:DescribeTags", | ||
"logs:PutLogEvents", | ||
"logs:DescribeLogStreams", | ||
"logs:DescribeLogGroups", | ||
"logs:CreateLogStream", | ||
"logs:CreateLogGroup" | ||
], | ||
"Resource": "*" | ||
}, | ||
{ | ||
"Effect": "Allow", | ||
"Action": [ | ||
"ssm:GetParameter" | ||
], | ||
"Resource": "arn:aws:ssm:*:*:parameter/AmazonCloudWatch-*" | ||
} | ||
] | ||
} | ||
``` |
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 was deleted.
Oops, something went wrong.