AWS CodeCommit
- AWS CodeCommit is a version control service hosted by Amazon Web Services that you can use to privately store and manage assets (such as documents, source code, and binary files) in the cloud.
- CodeCommit is a secure, highly scalable, managed source control service that hosts private Git repositories.
How does CodeCommit work
Setting Up
- With HTTPS connections and Git credentials, you generate a static user name and password in IAM. You then use these credentials with Git and any third-party tool that supports Git user name and password authentication.
- You can use the SSH protocol instead of HTTPS to connect to your CodeCommit repository.
- With SSH connections, you create public and private key files on your local machine that Git and CodeCommit use for SSH authentication.
- You associate the public key with your IAM user.
- You store the private key on your local machine.
- If you are connecting to CodeCommit and AWS using federated access, an identity provider, or temporary credentials, or if you do not want to configure IAM users or Git credentials for IAM users, you can set up connections to CodeCommit repositories in one of two ways:
- Install and use git-remote-codecommit (recommended).
- Install and use the credential helper included in the AWS CLI.
AWS CodeArtifact
- CodeArtifact is a fully managed artifact repository service that makes it easy for organizations to securely store and share software packages used for application development.
- You can use CodeArtifact with popular build tools and package managers such as NuGet, Maven, Gradle, npm, yarn, pip, and twine.
- CodeArtifact stores software packages in repositories.
- Repositories are polyglot—a single repository can contain packages of any supported type.
- Every CodeArtifact repository is a member of a single CodeArtifact domain.
- To add packages to a repository, configure a package manager such as
npm
ormaven
to use the repository endpoint (URL). You can then use the package manager to publish packages to repository. - You can also import open-source packages into a repository by configuring it with an external connection to a public repository such as npmjs, NuGet Gallery, Maven Central, or PyPI.
- You can make packages in one repository available to another repository in the same domain. To do this, configure one repository as an upstream of the other.
- All package versions available to the upstream repository are also available to the downstream repository.
- CodeArtifact is integrated with Amazon EventBridge, a service that automates and responds to events, including changes in a