Setting Up CodeCommit for our application source
In this recipe, we will clone the application code along with helper files (BuildSpec.yml + Dockerfile + CF template) from GitHub and will mirror it to the CodeCommit repository.
Getting ready
We will be performing the following operations:
- Creating a repository
CC-ECSAPP
in CodeCommit - Cloning the GitHub URL, which has the application code along with the mirror option
- Then we will, push the same cloned application code into the CodeCommit repository
CC-ECSAPP
How to do it...
First, create a CodeCommit repository named CC-ECSAPP
as follows:
- Go to the AWS console and click on
CodeCommit
, lying in developers tools. - Click on
create new repository
and mention the repository name and description. Then, click onCreate repository
:
>

- Now, clone the URL https://github.com/awsstar/Sample-App-ECS-Pipeline.git with the mirror option, and then again, push the same into the CodeCommit repository
CC-ECSAPP
:
root@awsstar:~# git clone --mirror https://github...