August 2019
Intermediate to advanced
242 pages
5h 45m
English
Now that we've done the hard work of preparing all our templates and scripts, we can get on with actually making the Docker images and pushing them to ECR ahead of a full cluster deployment.
First, we export the AWS credentials we generated earlier in this chapter:
export AWS_DEFAULT_REGION=ap-southeast-2export AWS_ACCESS_KEY_ID="<your key here>"export AWS_SECRET_ACCESS_KEY="<your secret here>"
Then we get the container repository login. This is necessary to allow us to push the created Docker image to ECR, which in turn will be pulled down by our Kubernetes nodes at model training or inference time. Note that this step assumes you have AWS CLI installed:
aws ecr get-login --no-include-email
The output ...
Read now
Unlock full access