Menu
AWS CodeCommit
User Guide (API Version 2015-04-13)

Regions and Git Connection Endpoints for AWS CodeCommit

To reduce data latency to your repositories, AWS CodeCommit offers regional endpoints to make your requests to the service. In addition, AWS CodeCommit provides Git connection endpoints for both SSH and HTTPS protocol connections in every region where AWS CodeCommit is available. AWS CodeCommit repositories are specific to an AWS region.

The examples in the AWS CodeCommit User Guide all use the same Git base URL: git-codecommit.us-east-2.amazonaws.com. However, when using Git and configuring your connections, make sure that you choose the Git connection endpoint that matches the region that hosts your AWS CodeCommit repository. For example, if you want to make a connection to a repository in US East (N. Virginia), you would use the base URL of git-codecommit.us-east-1.amazonaws.com. This is also true for API calls. When making connections to an AWS CodeCommit repository with the AWS CLI or the AWS CodeCommit API, make sure that you use the correct regional endpoint for the repository.

Supported Regions for AWS CodeCommit

You can create and use AWS CodeCommit repositories in the following AWS regions:

  • US East (N. Virginia)

  • US East (Ohio)

  • US West (Oregon)

  • EU (Ireland)

  • Asia Pacific (Tokyo)

  • Asia Pacific (Singapore)

  • Asia Pacific (Sydney)

  • EU (Frankfurt)

For more information about regional endpoints for AWS CLI, service, and API calls to AWS CodeCommit, see AWS Regions and Endpoints.

Git Connection Endpoints

Use the following URLs when configuring your Git connections to AWS CodeCommit repositories:

Git Connection Endpoints for AWS CodeCommit

Region Name Region Endpoint Protocol
US East (Ohio) us-east-2 https://git-codecommit.us-east-2.amazonaws.com HTTPS
US East (Ohio) us-east-2 ssh://codecommit.us-east-2.amazonaws.com SSH
US East (N. Virginia) us-east-1 https://git-codecommit.us-east-1.amazonaws.com HTTPS
US East (N. Virginia) us-east-1 ssh://codecommit.us-east-1.amazonaws.com SSH
US West (Oregon) us-west-2 https://git-codecommit.us-west-2.amazonaws.com HTTPS
US West (Oregon) us-west-2 ssh://codecommit.us-west-2.amazonaws.com SSH
EU (Ireland) eu-west-1 https://git-codecommit.eu-west-1.amazonaws.com HTTPS
EU (Ireland) eu-west-1 ssh://codecommit.eu-west-1.amazonaws.com SSH
Asia Pacific (Tokyo) ap-northeast-1 https://git-codecommit.ap-northeast-1.amazonaws.com HTTPS
Asia Pacific (Tokyo) ap-northeast-1 ssh://codecommit.ap-northeast-1.amazonaws.com SSH
Asia Pacific (Singapore) ap-southeast-1 https://git-codecommit.ap-southeast-1.amazonaws.com HTTPS
Asia Pacific (Singapore) ap-southeast-1 ssh://codecommit.ap-southeast-1.amazonaws.com SSH
Asia Pacific (Sydney) ap-southeast-2 https://git-codecommit.ap-southeast-2.amazonaws.com HTTPS
Asia Pacific (Sydney) ap-southeast-2 ssh://codecommit.ap-southeast-2.amazonaws.com SSH
EU (Frankfurt) EU (Frankfurt) https://git-codecommit.eu-central-1.amazonaws.com HTTPS
EU (Frankfurt) EU (Frankfurt) ssh://codecommit.eu-central-1.amazonaws.com SSH