From the course: AWS AI Automation Foundations: Command Line Interface (CLI) with Amazon Q in AWS CloudShell

Unlock this course with a free trial

Join today to access over 24,800 courses taught by industry experts.

Docker build in CloudShell walkthrough

Docker build in CloudShell walkthrough

- [Instructor] Let's talk through how you could use Amazon CloudShell to build up an Echo Game and also demonstrate the key components of ECR. So, first up, we have the Setup Environment in the blue here. This is where you would set up the project directory. You'd also work with necessary files and you do commands like mkdir and cd. Next up in the Section 2 here, we would build the Docker images with the Echo Game. So, this is where docker build plays a role, so we would go ahead and build this Docker image locally so we can test it out, we can do things with it before we push it to ECR. So, in Step 3 here, we have testing, and in this case, we want to test the container functionality. And so what this means is that we would do docker test, we would verify the game functionality, make sure that everything works exactly the way we think it works, and then finally, and this is again, the advantage of using the CloudShell environment is, we could push directly into Amazon ECR using ecr…

Contents