From the course: Deploying Your AWS Application to the Cloud with Docker

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Solution: Remote code repositories

Solution: Remote code repositories - Amazon Web Services (AWS) Tutorial

From the course: Deploying Your AWS Application to the Cloud with Docker

Start my 1-month free trial

Solution: Remote code repositories

(upbeat music) - [Instructor] As my solution to this challenge, I will download code from my GitHub account and show you how to repoint to an AWS CodeCommit repository. I'll execute my git clone command, download my project, and as you can see, it's a Java application that I have here. Now that we have this code, we may want to update it and, perhaps, customize it in some way. The problem is if a do a git push command it will send the code changes back to my GitHub account, and we want our changes to go to our new CodeCommit repository. Let's go to the AWS console and create a new repo. Here in the CodeCommit console, I'll click create. I'll call it javademoapp and create. We're going to copy the URL. I'm using SSH. So, I'll use this, which it just copies this value into the clipboard. Now, let's go back to the terminal. The command here that we want is git remote set-url for origin, and we paste the value, which…

Contents