Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Automatically select the closest AWS region and significantly reduce latency 🔥

License

NotificationsYou must be signed in to change notification settings

mtojek/aws-closest-region

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Automatically select the closest AWS region and significantly reduce latency 🔥

Build Status

Status:Done

Find theclosest AWS region to your customers andreduce the latency while accessing the service endpoint. The application can be used in both -local development environment andremote production hosts.

aws-closest-region can automatically discover new launched regions!

Live

Screenshot Desktop

Features

  • support100% AWS regions in all non-gov partitions (incl. China)
  • support100% AWS services (also brand new ones)
  • latency measured using the HTTP protocol (/ping service endpoint) instead of the ICMP messages
  • quick integration with shell scripts (AWS_DEFAULT_REGION=`aws-closest-region`)
  • automatically detect next launched endpoints (use AWS SDK models)
  • verbose mode to show all latencies

Getting started

$ go get github.com/mtojek/aws-closest-region$ aws-closest-regioneu-central-1

You can select also a particular service:

$ go get github.com/mtojek/aws-closest-region$ aws-closest-region s3INFO Service "s3" is available in 15 regions in "aws" partition. INFO Service "s3" is available in 2 regions in "aws-cn" partition. INFO Partition "us-gov" will be skipped.          INFO Service is accessible via following endpoints: INFO   ap-south-1: https://s3.ap-south-1.amazonaws.com INFO   eu-central-1: https://s3.eu-central-1.amazonaws.com INFO   us-east-2: https://s3.us-east-2.amazonaws.com ...

Or run in verbose mode:

$ go get github.com/mtojek/aws-closest-region$ aws-closest-region --verbose s3eu-central-1

Verbose mode

Screenshot Desktop

About

Automatically select the closest AWS region and significantly reduce latency 🔥

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors2

  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp