forked from data-science-on-aws/data-science-on-aws
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
223 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
annotations_trainval2017.zip |
Binary file added
BIN
+14.9 MB
12_security/studio-vpc-firewall/cfn_templates/coursera_nvidia_aws_notebooks.tar.gz
Binary file not shown.
112 changes: 112 additions & 0 deletions
112
12_security/studio-vpc-firewall/cfn_templates/lab-gpu.policy
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,112 @@ | ||
{ | ||
"Version": "2012-10-17", | ||
"Statement": [ | ||
{ | ||
"Sid": "SageMakerFullAccess", | ||
"Effect": "Allow", | ||
"Action": [ | ||
"sagemaker:*" | ||
], | ||
"Resource": "*", | ||
"Condition": { | ||
"ForAllValues:StringLike": { | ||
"sagemaker:InstanceTypes": [ | ||
"ml.t3.medium", | ||
"ml.m5.large", | ||
"ml.m5.xlarge", | ||
"ml.m5.2xlarge", | ||
"ml.m5.4xlarge", | ||
"ml.c5.large", | ||
"ml.c5.xlarge", | ||
"ml.c5.2xlarge", | ||
"ml.c5.9xlarge", | ||
"ml.g4dn.xlarge", | ||
"ml.p3.2xlarge" | ||
] | ||
} | ||
} | ||
}, | ||
{ | ||
"Sid": "S3", | ||
"Effect": "Allow", | ||
"Action": [ | ||
"s3:*" | ||
], | ||
"Resource": "*" | ||
}, | ||
{ | ||
"Sid": "ServiceCatalog", | ||
"Effect": "Allow", | ||
"Action": [ | ||
"servicecatalog:*" | ||
], | ||
"Resource": "*" | ||
}, | ||
{ | ||
"Sid": "IAM", | ||
"Effect": "Allow", | ||
"Action": [ | ||
"iam:GetRole", | ||
"iam:GetRolePolicy" | ||
], | ||
"Resource": "*" | ||
}, | ||
{ | ||
"Sid": "Glue", | ||
"Effect": "Allow", | ||
"Action": [ | ||
"glue:*" | ||
], | ||
"Resource": "*" | ||
}, | ||
{ | ||
"Sid": "Athena", | ||
"Effect": "Allow", | ||
"Action": [ | ||
"athena:*" | ||
], | ||
"Resource": "*" | ||
}, | ||
{ | ||
"Sid": "CloudWatch", | ||
"Effect": "Allow", | ||
"Action": [ | ||
"logs:*", | ||
"cloudwatch:*" | ||
], | ||
"Resource": "*" | ||
}, | ||
{ | ||
"Sid": "ECR", | ||
"Effect": "Allow", | ||
"Action": [ | ||
"ecr:*" | ||
], | ||
"Resource": "*" | ||
}, | ||
{ | ||
"Sid": "EKS", | ||
"Effect": "Deny", | ||
"Action": [ | ||
"eks:*" | ||
], | ||
"Resource": "*" | ||
}, | ||
{ | ||
"Sid": "ECS", | ||
"Effect": "Deny", | ||
"Action": [ | ||
"ecs:*" | ||
], | ||
"Resource": "*" | ||
}, | ||
{ | ||
"Sid": "EC2", | ||
"Effect": "Deny", | ||
"Action": [ | ||
"ec2:*" | ||
], | ||
"Resource": "*" | ||
} | ||
] | ||
} |
110 changes: 110 additions & 0 deletions
110
12_security/studio-vpc-firewall/cfn_templates/lab.policy
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,110 @@ | ||
{ | ||
"Version": "2012-10-17", | ||
"Statement": [ | ||
{ | ||
"Sid": "SageMakerFullAccess", | ||
"Effect": "Allow", | ||
"Action": [ | ||
"sagemaker:*" | ||
], | ||
"Resource": "*", | ||
"Condition": { | ||
"ForAllValues:StringLike": { | ||
"sagemaker:InstanceTypes": [ | ||
"ml.t3.medium", | ||
"ml.m5.large", | ||
"ml.m5.xlarge", | ||
"ml.m5.2xlarge", | ||
"ml.m5.4xlarge", | ||
"ml.c5.large", | ||
"ml.c5.xlarge", | ||
"ml.c5.2xlarge", | ||
"ml.c5.9xlarge" | ||
] | ||
} | ||
} | ||
}, | ||
{ | ||
"Sid": "S3", | ||
"Effect": "Allow", | ||
"Action": [ | ||
"s3:*" | ||
], | ||
"Resource": "*" | ||
}, | ||
{ | ||
"Sid": "ServiceCatalog", | ||
"Effect": "Allow", | ||
"Action": [ | ||
"servicecatalog:*" | ||
], | ||
"Resource": "*" | ||
}, | ||
{ | ||
"Sid": "IAM", | ||
"Effect": "Allow", | ||
"Action": [ | ||
"iam:GetRole", | ||
"iam:GetRolePolicy" | ||
], | ||
"Resource": "*" | ||
}, | ||
{ | ||
"Sid": "Glue", | ||
"Effect": "Allow", | ||
"Action": [ | ||
"glue:*" | ||
], | ||
"Resource": "*" | ||
}, | ||
{ | ||
"Sid": "Athena", | ||
"Effect": "Allow", | ||
"Action": [ | ||
"athena:*" | ||
], | ||
"Resource": "*" | ||
}, | ||
{ | ||
"Sid": "CloudWatch", | ||
"Effect": "Allow", | ||
"Action": [ | ||
"logs:*", | ||
"cloudwatch:*" | ||
], | ||
"Resource": "*" | ||
}, | ||
{ | ||
"Sid": "ECR", | ||
"Effect": "Allow", | ||
"Action": [ | ||
"ecr:*" | ||
], | ||
"Resource": "*" | ||
}, | ||
{ | ||
"Sid": "EKS", | ||
"Effect": "Deny", | ||
"Action": [ | ||
"eks:*" | ||
], | ||
"Resource": "*" | ||
}, | ||
{ | ||
"Sid": "ECS", | ||
"Effect": "Deny", | ||
"Action": [ | ||
"ecs:*" | ||
], | ||
"Resource": "*" | ||
}, | ||
{ | ||
"Sid": "EC2", | ||
"Effect": "Deny", | ||
"Action": [ | ||
"ec2:*" | ||
], | ||
"Resource": "*" | ||
} | ||
] | ||
} |
Binary file not shown.