Skip to content

Commit

Permalink
Merge pull request #592 from axsauze/fix_notebook_headers
Browse files Browse the repository at this point in the history
Fix Jupyter Notebook Headers
  • Loading branch information
ukclivecox committed May 27, 2019
2 parents 249725d + 1c62ff0 commit c935e18
Show file tree
Hide file tree
Showing 8 changed files with 4,851 additions and 253 deletions.
3,308 changes: 3,308 additions & 0 deletions examples/models/aws_eks_deep_mnist/README.md

Large diffs are not rendered by default.

34 changes: 18 additions & 16 deletions examples/models/aws_eks_deep_mnist/aws_eks_deep_mnist.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"# Tensorflow MNIST Model\n",
"# AWS Elastic Kubernetes Service (EKS) Deep MNIST\n",
"In this example we will deploy a tensorflow MNIST model in Amazon Web Services' Elastic Kubernetes Service (EKS).\n",
"\n",
"This tutorial will break down in the following sections:\n",
Expand All @@ -25,20 +25,22 @@
"\n",
"#### Let's get started! 🚀🔥\n",
"\n",
"# Dependencies:\n",
"## Dependencies:\n",
"\n",
"* Docker\n",
"* Helm\n",
"* Kubectl\n",
"* EKS CLI\n",
"* AWS Cli\n"
"* Helm v2.13.1+\n",
"* A Kubernetes cluster running v1.13 or above (minkube / docker-for-windows work well if enough RAM)\n",
"* kubectl v1.14+\n",
"* EKS CLI v0.1.32\n",
"* AWS Cli v1.16.163\n",
"* Python 3.6+\n",
"* Python DEV requirements\n"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# 1) Train a tensorflow model to predict mnist locally\n",
"## 1) Train a tensorflow model to predict mnist locally\n",
"We will load the mnist images, together with their labels, and then train a tensorflow model to predict the right labels"
]
},
Expand Down Expand Up @@ -101,7 +103,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"# 2) Containerise the tensorflow model with our docker utility"
"## 2) Containerise the tensorflow model with our docker utility"
]
},
{
Expand Down Expand Up @@ -187,7 +189,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"# 3) Send some data to the docker model to test it\n",
"## 3) Send some data to the docker model to test it\n",
"We first run the docker image we just created as a container called \"mnist_predictor\""
]
},
Expand Down Expand Up @@ -317,7 +319,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"# 4) Install and configure AWS tools to interact with AWS"
"## 4) Install and configure AWS tools to interact with AWS"
]
},
{
Expand Down Expand Up @@ -445,7 +447,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"# 5) Use the AWS tools to create and setup EKS cluster with Seldon\n",
"## 5) Use the AWS tools to create and setup EKS cluster with Seldon\n",
"In this example we will create a cluster with 2 nodes, with a minimum of 1 and a max of 3. You can tweak this accordingly.\n",
"\n",
"If you want to check the status of the deployment you can go to AWS CloudFormation or to the EKS dashboard.\n",
Expand Down Expand Up @@ -538,7 +540,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"# Install Seldon Core"
"## Install Seldon Core"
]
},
{
Expand Down Expand Up @@ -858,7 +860,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"# Push docker image\n",
"## Push docker image\n",
"In order for the EKS seldon deployment to access the image we just built, we need to push it to the Elastic Container Registry (ECR).\n",
"\n",
"If you have any issues please follow the official AWS documentation: https://docs.aws.amazon.com/AmazonECR/latest/userguide/docker-basics.html"
Expand Down Expand Up @@ -1034,7 +1036,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"# Running the Model\n",
"## Running the Model\n",
"We will now run the model.\n",
"\n",
"Let's first have a look at the file we'll be using to trigger the model:"
Expand Down Expand Up @@ -1197,7 +1199,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"# Test the model\n",
"## Test the model\n",
"Now we can test the model, let's first find out what is the URL that we'll have to use:"
]
},
Expand Down
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

0 comments on commit c935e18

Please sign in to comment.