Search for previous posts

Blog History


How to export AWS CodeCommit to S3

Pretty simple: 

  • Install and configure Git
  • Clone the CodeCommit repo to a local repo on an instance that has an IAM role that allows AWS CC access:
    • git clone /local_repo
  • Install and configure (or use attached role) AWS CLI
  • Copy local repo to S3:
    • aws s3 cp ./local_repo  "s3://<bucket>" --recursive

No comments:

Post a Comment