QuestionQ92

VerifiedSDLC Automation

A company plans to migrate a legacy application to AWS and build a deployment pipeline using only AWS services. A DevOps engineer is moving all application code from a Git repository to AWS CodeCommit while retaining the repository history. The engineer has configured all CodeCommit permissions, installed the Git client and AWS CLI on a local computer, and is ready to migrate the repository.

Which actions should be taken?

Explanation

A history-preserving migration to AWS CodeCommit uses git clone --mirror to create a bare local copy containing the source repository’s Git history and references, followed by a push to the destination CodeCommit repository. After the migration, the repository contents can be validated and the CodeCommit repository shared with the team. The destination repository may be created through either the AWS Management Console or the AWS CLI.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!