GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - estahn/cloudping: Identifies geographically closest cloud provider region

BranchesTags
Open more actions menu

Latest commit

 

History

700 Commits
700 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
cmd
cmd
 
 
.gitignore
.gitignore
 
 
.goreleaser.yml
.goreleaser.yml
 
 
.releaserc
.releaserc
 
 
Dockerfile
Dockerfile
 
 
LICENSE
LICENSE
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
go.mod
go.mod
 
 
go.sum
go.sum
 
 
godownloader.sh
godownloader.sh
 
 
main.go
main.go
 
 

Repository files navigation

cloudping

CircleCI GoDoc Github All Releases

cloudping identifies the cloud provider regions geographically closest and returns them in order of lowest to highest latency.

Inspired by CloudPing.info.

Table of Contents

  • Usage
  • Installation
    • Binaries
    • Via Go
    • Homebrew on macOS
  • Why?
  • Similar projects
  • Contributing

Usage

$ cloudping -h
cloudping identifies the cloud provider regions geographically closest
and returns them in order of lowest to highest latency.

Usage:
  cloudping [flags]
  cloudping [command]

Available Commands:
  help        Help about any command
  version     Print the version number of cloudping

Flags:
  -h, --help              help for cloudping
      --limit int         Limits the number of regions returned
      --output string     Output format. One of: txt, json, yaml (default "txt")
      --provider string   Cloud provider (default "aws")
      --regions strings   Limits checks to specific regions
      --timeout int       Timeout for each region in milliseconds (default 500)

Use "cloudping [command] --help" for more information about a command.

The following example checks and returns only 2 regions:

$ cloudping --provider=aws --regions=ap-southeast-2,us-east-1
ap-southeast-2
us-east-1

Installation

Here are a few methods to install cloudping.

Binaries

$ curl -sSL https://raw.githubusercontent.com/estahn/cloudping/master/godownloader.sh | sh

Via Go

$ go get github.com/estahn/cloudping

Homebrew on macOS

If you are on macOS and using Homebrew package manager, you can install cloudping with Homebrew.

  1. Run the installation command:
    $ brew install estahn/tap/cloudping
  2. Test to ensure the version you installed is sufficiently up-to-date:
    $ cloudping version

Why?

The idea came from the need to download images from the geographically closest docker registry. We operate our Kubernetes cluster in Sydney/Australia but use CircleCI operating in the US. Because AWS ECR doesn't provide a common endpoint with geographically distributed backend we push our images to both locations. Within our Makefile we can use cloudping to identify if images should be pulled from the US or Sydney.

Similar projects

  • CloudPing.info
  • AWS Inter-Region Latency Monitoring
  • GCP ping

Contributing

Contributions are greatly appreciated. The maintainers actively manage the issues list, and try to highlight issues suitable for newcomers. The project follows the typical GitHub pull request model. See " How to Contribute to Open Source " for more details. Before starting any work, please either comment on an existing issue, or file a new one.

About

Identifies geographically closest cloud provider region

Topics

awscidockergolang

Resources

Readme
Apache-2.0 license
Activity

Stars

26 stars

Watchers

0 watching

Forks

3 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.