AWS CodeCommit is no longer available to new customers. Existing customers of AWS CodeCommit can continue to use the service as normal. Learn more

AWS CodeCommit FAQs

NA"},"metadata":{"tags":[{"id":"GLOBAL#product#codecommit","name":"AWS CodeCommit","namespaceId":"GLOBAL#product","description":"AWS CodeCommit","metadata":{}}]}},{"fields":{"topic":"How much does AWS CodeCommit cost?","id":"product-faqs#codecommit-faqs-billing-1","customSortOrder":"1","content":"

AWS CodeCommit costs $1 per active user per month. For every active user, your account receives an additional allowance of 10 GB-month of storage and 2,000 Git requests for that month. Unused allowance for storage and Git requests does not carry over to later months. If you need more storage or Git requests for your users, additional usage will be charged at $0.06 per GB-month and $0.001 per Git request. Users may store as many Git repositories as they would like. Your usage is calculated each month across all regions and automatically applied to your bill. Please see the pricing page for more details."},"metadata":{"tags":[{"id":"GLOBAL#product#codecommit","name":"AWS CodeCommit","namespaceId":"GLOBAL#product","description":"AWS CodeCommit","metadata":{}},{"id":"product-faqs#aws-codecommit-faqs#billing","name":"billing","namespaceId":"product-faqs#aws-codecommit-faqs","description":"

billing","metadata":{}}]}},{"fields":{"topic":"Which regions does AWS CodeCommit support?","id":"product-faqs#codecommit-faqs-regions-1","customSortOrder":"1","content":"

Please refer to Regional Products and Services for details of CodeCommit availability by region."},"metadata":{"tags":[{"id":"product-faqs#aws-codecommit-faqs#regions","name":"regions","namespaceId":"product-faqs#aws-codecommit-faqs","description":"

regions","metadata":{}},{"id":"GLOBAL#product#codecommit","name":"AWS CodeCommit","namespaceId":"GLOBAL#product","description":"AWS CodeCommit","metadata":{}}]}},{"fields":{"topic":"Can I use AWS Identity and Access Management (IAM) to manage access to AWS CodeCommit?","id":"product-faqs#codecommit-faqs-security-1","customSortOrder":"1","content":"

Yes. AWS CodeCommit supports resource-level permissions. For each AWS CodeCommit repository, you can specify which users can perform which actions. You can also specify AWS multi-factor authentication (MFA) for a CodeCommit action. This allows you to add an extra level of protection for destructive actions such as deleting repositories. In addition to the AWS CodeCommit APIs, you can also specify git pull and git push as actions to control access from Git clients. For example, you can create a read-only user for a repository by allowing that user access to git pull but not git push on the repository. For more information on using IAM with AWS CodeCommit, see Authentication and Access Control for AWS CodeCommit. For more information on authenticating API access using MFA, see Configuring MFA-Protected API Access."},"metadata":{"tags":[{"id":"product-faqs#aws-codecommit-faqs#security","name":"security","namespaceId":"product-faqs#aws-codecommit-faqs","description":"

security","metadata":{}},{"id":"GLOBAL#product#codecommit","name":"AWS CodeCommit","namespaceId":"GLOBAL#product","description":"AWS CodeCommit","metadata":{}}]}},{"fields":{"topic":"How do I get started with AWS CodeCommit?","id":"product-faqs#codecommit-faqs-using-1","customSortOrder":"1","content":"

You can sign in to the AWS Management Console, create a repository, and start working with the repository using Git. If you want an introduction to the service, see Getting Started, which includes a step-by-step tutorial."},"metadata":{"tags":[{"id":"GLOBAL#product#codecommit","name":"AWS CodeCommit","namespaceId":"GLOBAL#product","description":"AWS CodeCommit","metadata":{}},{"id":"product-faqs#aws-codecommit-faqs#using-aws-codecommit","name":"using-aws-codecommit","namespaceId":"product-faqs#aws-codecommit-faqs","description":"

using-aws-codecommit","metadata":{}}]}},{"fields":{"topic":"What is AWS CodeCommit?","id":"product-faqs#codecommit-faqs-general-1","customSortOrder":"1","content":"

AWS CodeCommit is a secure, highly scalable, managed source control service that makes it easier for teams to collaborate on code. AWS CodeCommit eliminates the need for you to operate your own source control system or worry about scaling its infrastructure. You can use AWS CodeCommit to store anything from code to binaries, and it works seamlessly with your existing Git tools."},"metadata":{"tags":[{"id":"GLOBAL#product#codecommit","name":"AWS CodeCommit","namespaceId":"GLOBAL#product","description":"AWS CodeCommit","metadata":{}},{"id":"product-faqs#aws-codecommit-faqs#general","name":"general","namespaceId":"product-faqs#aws-codecommit-faqs","description":"

general","metadata":{}}]}},{"fields":{"topic":"What is the definition of an active user in AWS CodeCommit?","id":"product-faqs#codecommit-faqs-billing-2","customSortOrder":"2","content":"

An active user is any unique AWS identity (IAM user/role, federated user, or root account) that accesses AWS CodeCommit repositories during the month, either through Git requests or by using the AWS Management Console. A server accessing CodeCommit using a unique AWS identity counts as an active user."},"metadata":{"tags":[{"id":"product-faqs#aws-codecommit-faqs#billing","name":"billing","namespaceId":"product-faqs#aws-codecommit-faqs","description":"

billing","metadata":{}},{"id":"GLOBAL#product#codecommit","name":"AWS CodeCommit","namespaceId":"GLOBAL#product","description":"AWS CodeCommit","metadata":{}}]}},{"fields":{"topic":"What communication protocols are supported by AWS CodeCommit?","id":"product-faqs#codecommit-faqs-security-2","customSortOrder":"2","content":"

You can use either the HTTPS or SSH protocols or both to communicate with AWS CodeCommit. To use HTTPS, first install the AWS CLI. The AWS CLI installs a Git credential helper that can be configured with AWS credentials. It automatically signs all HTTPS requests to AWS CodeCommit using the Signature Version 4 signing specification. To use SSH, users create their own public-private key pairs and add their public keys to their IAM users. The private key encrypts the communication with AWS CodeCommit. For step-by-step instructions on setting up HTTPS and SSH access, see the Setting up AWS CodeCommit page."},"metadata":{"tags":[{"id":"GLOBAL#product#codecommit","name":"AWS CodeCommit","namespaceId":"GLOBAL#product","description":"AWS CodeCommit","metadata":{}},{"id":"product-faqs#aws-codecommit-faqs#security","name":"security","namespaceId":"product-faqs#aws-codecommit-faqs","description":"

security","metadata":{}}]}},{"fields":{"topic":"How do I create a repository?","id":"product-faqs#codecommit-faqs-using-2","customSortOrder":"2","content":"

You can create a repository from the AWS Management Console or by using the AWS Command Line Interface (AWS CLI), the AWS SDKs, or the AWS CodeCommit APIs."},"metadata":{"tags":[{"id":"GLOBAL#product#codecommit","name":"AWS CodeCommit","namespaceId":"GLOBAL#product","description":"AWS CodeCommit","metadata":{}},{"id":"product-faqs#aws-codecommit-faqs#using-aws-codecommit","name":"using-aws-codecommit","namespaceId":"product-faqs#aws-codecommit-faqs","description":"

using-aws-codecommit","metadata":{}}]}},{"fields":{"topic":"What is Git?","id":"product-faqs#codecommit-faqs-general-2","customSortOrder":"2","content":"

Git is an open-source distributed version control system. To work with AWS CodeCommit repositories, you use the Git command line interface (CLI) or any of the available Git clients. To learn more about Git, see the Git documentation. To learn more about using AWS CodeCommit with Git, see Getting Started with AWS CodeCommit."},"metadata":{"tags":[{"id":"GLOBAL#product#codecommit","name":"AWS CodeCommit","namespaceId":"GLOBAL#product","description":"AWS CodeCommit","metadata":{}},{"id":"product-faqs#aws-codecommit-faqs#general","name":"general","namespaceId":"product-faqs#aws-codecommit-faqs","description":"

general","metadata":{}}]}},{"fields":{"topic":"What ports should I open in my firewall for access to AWS CodeCommit?","id":"product-faqs#codecommit-faqs-security-3","customSortOrder":"3","content":"

You will have to open outbound access to an AWS CodeCommit service endpoint on port 22 (SSH) or port 443 (HTTPS)."},"metadata":{"tags":[{"id":"GLOBAL#product#codecommit","name":"AWS CodeCommit","namespaceId":"GLOBAL#product","description":"AWS CodeCommit","metadata":{}},{"id":"product-faqs#aws-codecommit-faqs#security","name":"security","namespaceId":"product-faqs#aws-codecommit-faqs","description":"

security","metadata":{}}]}},{"fields":{"topic":"Which Git requests are considered towards the monthly allowance?","id":"product-faqs#codecommit-faqs-billing-3","customSortOrder":"3","content":"

A Git request includes any push or pull that transmits repository objects. The request does not count towards your Git request allowance if there is no object transfer due to local and remote branches being up-to-date."},"metadata":{"tags":[{"id":"product-faqs#aws-codecommit-faqs#billing","name":"billing","namespaceId":"product-faqs#aws-codecommit-faqs","description":"

billing","metadata":{}},{"id":"GLOBAL#product#codecommit","name":"AWS CodeCommit","namespaceId":"GLOBAL#product","description":"AWS CodeCommit","metadata":{}}]}},{"fields":{"topic":"How do I update files in my repository?","id":"product-faqs#codecommit-faqs-using-3","customSortOrder":"3","content":"

You can edit your files directly from the CodeCommit console or you can use Git to work with the repository. For example, Git commands, you can use the git clone command to make a local copy of the AWS CodeCommit repository. Make changes to the local files and use the git commit command when you’re ready to save the changes. Finally, use the git push command to upload the changes to the AWS CodeCommit repository. For step-by-step instructions, see Getting Started with AWS CodeCommit."},"metadata":{"tags":[{"id":"product-faqs#aws-codecommit-faqs#using-aws-codecommit","name":"using-aws-codecommit","namespaceId":"product-faqs#aws-codecommit-faqs","description":"

using-aws-codecommit","metadata":{}},{"id":"GLOBAL#product#codecommit","name":"AWS CodeCommit","namespaceId":"GLOBAL#product","description":"AWS CodeCommit","metadata":{}}]}},{"fields":{"topic":"Who should use AWS CodeCommit?","id":"product-faqs#codecommit-faqs-general-3","customSortOrder":"3","content":"

AWS CodeCommit is designed for software developers who need a secure, reliable, and scalable source control system to store and version their code. In addition, AWS CodeCommit can be used by anyone looking for an easy to use, fully managed data store that is version controlled. For example, IT administrators can use AWS CodeCommit to store their scripts and configurations. Web designers can use AWS CodeCommit to store HTML pages and images."},"metadata":{"tags":[{"id":"product-faqs#aws-codecommit-faqs#general","name":"general","namespaceId":"product-faqs#aws-codecommit-faqs","description":"

general","metadata":{}},{"id":"GLOBAL#product#codecommit","name":"AWS CodeCommit","namespaceId":"GLOBAL#product","description":"AWS CodeCommit","metadata":{}}]}},{"fields":{"topic":"How do I encrypt my repository in AWS CodeCommit?","id":"product-faqs#codecommit-faqs-security-4","customSortOrder":"4","content":"

Repositories are automatically encrypted at rest. No customer action is required. AWS CodeCommit uses AWS Key Management Service (KMS) to encrypt repositories. When you create your first repository, an AWS-managed CodeCommit key is created under your AWS account. For details, see Encryption for AWS CodeCommit Repositories."},"metadata":{"tags":[{"id":"GLOBAL#product#codecommit","name":"AWS CodeCommit","namespaceId":"GLOBAL#product","description":"AWS CodeCommit","metadata":{}},{"id":"product-faqs#aws-codecommit-faqs#security","name":"security","namespaceId":"product-faqs#aws-codecommit-faqs","description":"

security","metadata":{}}]}},{"fields":{"topic":"How do I import my existing repository to AWS CodeCommit?","id":"product-faqs#codecommit-faqs-using-4","customSortOrder":"4","content":"

You can use Git to import any existing Git repository to AWS CodeCommit. For other repositories, such as Subversion and Perforce, you can use a Git importer to first migrate it to a Git repository. For step by step instructions on importing Git repositories, see Migrate an Existing Repository to AWS CodeCommit. For step-by-step instructions on importing local or unversioned content, see the Git migration documentation."},"metadata":{"tags":[{"id":"GLOBAL#product#codecommit","name":"AWS CodeCommit","namespaceId":"GLOBAL#product","description":"AWS CodeCommit","metadata":{}},{"id":"product-faqs#aws-codecommit-faqs#using-aws-codecommit","name":"using-aws-codecommit","namespaceId":"product-faqs#aws-codecommit-faqs","description":"

using-aws-codecommit","metadata":{}}]}},{"fields":{"topic":"How is AWS CodeCommit different from other Git-based source control systems?","id":"product-faqs#codecommit-faqs-general-4","customSortOrder":"4","content":"

AWS CodeCommit offers a number of features not offered by other Git source control systems: \n