O'Reilly logo

Effective Amazon Machine Learning by Alexis Perrier

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Granting permissions

We need to edit the policy of the aml.packt bucket. To do so, we have to perform the following steps:

  1. Click on your bucket.
  2. Select the Permissions tab.
  1. In the dropdown, select Bucket Policy as shown in the following screenshot. This will open an editor:
  1. Paste in the following JSON file. Make sure to replace {YOUR_BUCKET_NAME} with the name of your bucket and save:
        {          "Version": "2012-10-17",          "Statement": [            {              "Sid": "AmazonML_s3:ListBucket",              "Effect": "Allow",              "Principal": {                "Service": "machinelearning.amazonaws.com"              },              "Action": "s3:ListBucket",              "Resource": "arn:aws:s3:::{YOUR_BUCKET_NAME}",              "Condition": { "StringLike": ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required