How to clone AWS CodeCommit repository from EC2 instance

August 13, 2016 2 Min

CodeCommit is a git service in AWS, you can own the private repository just a small fee, if you are personal or small group will be not charged any fee in some way.

Well, I will deploy my application from CodeCommit to EC2, below is my way. First I created a repository in CodeCommit.

Before create a new EC2 instance, add a new IAM role.