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:
Now, let's open the Amazon ECR console at https://console.aws.amazon.com/ecs/ to see the new image ...