Skip to content

Fixed: Markdown on ECR permissions to use #123

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 4, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions advanced_functionality/r_bring_your_own/r_bring_your_own.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
"source": [
"### Permissions\n",
"\n",
"Running this notebook requires permissions in addition to the normal `SageMakerFullAccess` permissions. This is because we'll be creating a new repository in Amazon ECR. The easiest way to add these permissions is simply to add the managed policy `AmazonEC2ContainerRegistryPowerUser` to the role that you used to start your notebook instance. There's no need to start your notebook instance when you do this, the new permissions will be available immediately.\n",
"Running this notebook requires permissions in addition to the normal `SageMakerFullAccess` permissions. This is because we'll be creating a new repository in Amazon ECR. The easiest way to add these permissions is simply to add the managed policy `AmazonEC2ContainerRegistryFullAccess` to the role that you used to start your notebook instance. There's no need to restart your notebook instance when you do this, the new permissions will be available immediately.\n",
"\n",
"---\n",
"## Code\n",
Expand Down Expand Up @@ -227,9 +227,9 @@
"\n",
"\n",
"#' Ping to show server is there\n",
"#' @post /ping\n",
"#' @get /ping\n",
"function() {\n",
" list(status='200', code='200')}\n",
" return('')}\n",
"\n",
"\n",
"#' Parse input and return the prediction from the model\n",
Expand Down Expand Up @@ -268,7 +268,7 @@
"```Dockerfile\n",
"FROM ubuntu:16.04\n",
"\n",
"MAINTAINER David Arpin <arpin@amazon.com>\n",
"MAINTAINER Amazon SageMaker Examples <amazon-sagemaker-examples@amazon.com>\n",
"\n",
"RUN apt-get -y update && apt-get install -y --no-install-recommends \\\n",
" wget \\\n",
Expand Down Expand Up @@ -597,7 +597,7 @@
"source": [
"iris = pd.read_csv('iris.csv')\n",
"\n",
"runtime = boto3.Session().client('sagemaker-runtime')\n",
"runtime = boto3.Session().client('runtime.sagemaker')\n",
"\n",
"payload = iris.drop(['Sepal.Length'], axis=1).to_csv(index=False)\n",
"response = runtime.invoke_endpoint(EndpointName=r_endpoint,\n",
Expand Down