Publishing the image on AWS cloud

We can now simply register our container on the cloud. We need to be logged in to the AWS console to do this. Please refer to Chapter 10, Implementing a Cloud Industrial IoT Solution with AWS, for more information on how to configure the AWS CLI interface. From the command line, run the following command:

$ cd container$ ./build_and_publish.sh rul-estimator

This will upload the file on the AWS Container Registry (the ECR). This process will look as follows:

The process of uploading the image on the AWS ECR

Now, let's open the Amazon ECR console at https://console.aws.amazon.com/ecs/ to see the new image ...

Get Hands-On Industrial Internet of Things now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.