{"id":13819918,"url":"https://github.com/ekalinin/awsping","last_synced_at":"2025-06-28T06:40:10.161Z","repository":{"id":46223779,"uuid":"67888668","full_name":"ekalinin/awsping","owner":"ekalinin","description":"Console tool to check the latency to each Amazon EC2 region","archived":false,"fork":false,"pushed_at":"2024-03-03T06:13:56.000Z","size":74,"stargazers_count":168,"open_issues_count":4,"forks_count":31,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-12-27T05:05:58.034Z","etag":null,"topics":["aws","golang","latency","ping"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ekalinin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-09-10T18:52:17.000Z","updated_at":"2024-10-13T14:31:55.000Z","dependencies_parsed_at":"2024-06-18T21:30:22.678Z","dependency_job_id":"1a5c5e17-0d84-430b-befd-c376139361e8","html_url":"https://github.com/ekalinin/awsping","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ekalinin%2Fawsping","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ekalinin%2Fawsping/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ekalinin%2Fawsping/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ekalinin%2Fawsping/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ekalinin","download_url":"https://codeload.github.com/ekalinin/awsping/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":232721437,"owners_count":18566398,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws","golang","latency","ping"],"created_at":"2024-08-04T08:00:54.904Z","updated_at":"2025-01-06T12:29:47.108Z","avatar_url":"https://github.com/ekalinin.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# awsping\nConsole tool to check the latency to each AWS region\n\n[![Go Report Card](https://goreportcard.com/badge/github.com/ekalinin/awsping)](https://goreportcard.com/report/github.com/ekalinin/awsping)\n[![codecov](https://codecov.io/gh/ekalinin/awsping/branch/master/graph/badge.svg)](https://codecov.io/gh/ekalinin/awsping)\n[![Go Reference](https://pkg.go.dev/badge/github.com/ekalinin/awsping.svg)](https://pkg.go.dev/github.com/ekalinin/awsping)\n[![MIT license](https://img.shields.io/badge/license-MIT-brightgreen.svg)](https://opensource.org/licenses/MIT)\n![GitHub release (latest by date)](https://img.shields.io/github/v/release/ekalinin/awsping)\n\n# ToC\n\n* [Usage](#usage)\n  * [Test via TCP](#test-via-tcp)\n  * [Test via HTTP](#test-via-http)\n  * [Test via HTTPS](#test-via-https)\n  * [Test several times](#test-several-times)\n  * [Verbose mode](#verbose-mode)\n  * [Get Help](#get-help)\n* [Get binary file](#get-binary-file)\n* [Build from sources](#build-from-sources)\n* [Use with Docker](#use-with-docker)\n  * [Build a Docker image](#build-a-docker-image)\n  * [Run the Docker image](#run-the-docker-image)\n\n# Usage\n\n## Test via TCP\n\n```bash\n➥ ./awsping\nEurope (Frankfurt)                    51.86 ms\nEurope (Ireland)                      62.86 ms\nUS-East (Virginia)                   126.39 ms\nUS-East (Ohio)                       154.81 ms\nAsia Pacific (Mumbai)                181.09 ms\nUS-West (California)                 194.27 ms\nUS-West (Oregon)                     211.87 ms\nSouth America (São Paulo)            246.20 ms\nAsia Pacific (Tokyo)                 309.27 ms\nAsia Pacific (Seoul)                 322.76 ms\nAsia Pacific (Sydney)                346.37 ms\nAsia Pacific (Singapore)             407.91 ms\n```\n\n## Test via HTTP\n\n```bash\n➥ ./awsping -http\nEurope (Frankfurt)                   222.56 ms\nEurope (Ireland)                     226.76 ms\nUS-East (Virginia)                   349.17 ms\nUS-West (California)                 488.12 ms\nUS-East (Ohio)                       513.69 ms\nAsia Pacific (Mumbai)                528.51 ms\nUS-West (Oregon)                     532.05 ms\nSouth America (São Paulo)            599.36 ms\nAsia Pacific (Seoul)                 715.92 ms\nAsia Pacific (Sydney)                721.47 ms\nAsia Pacific (Tokyo)                 745.24 ms\nAsia Pacific (Singapore)             847.36 ms\n```\n\n## Test via HTTPS\n\n```bash\n➥ ./awsping -https\nEurope (Stockholm)                   216.67 ms\nEurope (Frankfurt)                   263.20 ms\nEurope (Paris)                       284.32 ms\nEurope (Milan)                       305.63 ms\nEurope (Ireland)                     327.34 ms\nEurope (London)                      332.17 ms\nMiddle East (Bahrain)                590.74 ms\nUS-East (N. Virginia)                595.13 ms\nCanada (Central)                     628.44 ms\nUS-East (Ohio)                       635.32 ms\nAsia Pacific (Mumbai)                755.56 ms\nAsia Pacific (Hong Kong)             843.90 ms\nUS-West (N. California)              870.65 ms\nAsia Pacific (Singapore)             899.50 ms\nAfrica (Cape Town)                   912.06 ms\nUS-West (Oregon)                     919.34 ms\nSouth America (São Paulo)            985.93 ms\nAsia Pacific (Tokyo)                1122.67 ms\nAsia Pacific (Seoul)                1138.76 ms\nAsia Pacific (Osaka)                1167.40 ms\nAsia Pacific (Sydney)               1328.90 ms\n```\n\n## Test several times\n\n```bash\n➥ ./awsping -repeats 3\nEurope (Frankfurt)                    50.13 ms\nEurope (Ireland)                      62.67 ms\nUS-East (Virginia)                   126.88 ms\nUS-East (Ohio)                       155.37 ms\nUS-West (California)                 195.75 ms\nUS-West (Oregon)                     206.19 ms\nAsia Pacific (Mumbai)                222.34 ms\nSouth America (São Paulo)            254.28 ms\nAsia Pacific (Tokyo)                 308.52 ms\nAsia Pacific (Seoul)                 325.93 ms\nAsia Pacific (Sydney)                349.62 ms\nAsia Pacific (Singapore)             378.53 ms\n```\n\n## Verbose mode\n\n```bash\n➥ ./awsping -repeats 3 -verbose 1\n      Code            Region                                      Latency\n    0 eu-central-1    Europe (Frankfurt)                         47.39 ms\n    1 eu-west-1       Europe (Ireland)                           62.28 ms\n    2 us-east-1       US-East (Virginia)                        128.45 ms\n    3 us-east-2       US-East (Ohio)                            155.53 ms\n    4 us-west-1       US-West (California)                      194.37 ms\n    5 us-west-2       US-West (Oregon)                          208.91 ms\n    6 ap-south-1      Asia Pacific (Mumbai)                     226.59 ms\n    7 sa-east-1       South America (São Paulo)                 254.67 ms\n    8 ap-northeast-1  Asia Pacific (Tokyo)                      301.97 ms\n    9 ap-northeast-2  Asia Pacific (Seoul)                      323.10 ms\n   10 ap-southeast-2  Asia Pacific (Sydney)                     341.26 ms\n   11 ap-southeast-1  Asia Pacific (Singapore)                  397.47 ms\n```\n\n```bash\n➥ ./awsping -repeats 3 -verbose 2\n      Code            Region                             Try #1          Try #2          Try #3     Avg Latency\n    0 eu-central-1    Europe (Frankfurt)               45.18 ms        45.46 ms        45.68 ms        45.44 ms\n    1 eu-west-1       Europe (Ireland)                 61.89 ms        62.99 ms        62.98 ms        62.62 ms\n    2 us-east-1       US-East (Virginia)              125.15 ms       126.75 ms       126.49 ms       126.13 ms\n    3 us-east-2       US-East (Ohio)                  154.05 ms       154.28 ms       153.53 ms       153.96 ms\n    4 us-west-1       US-West (California)            196.20 ms       195.05 ms       193.76 ms       195.00 ms\n    5 us-west-2       US-West (Oregon)                204.04 ms       203.97 ms       203.84 ms       203.95 ms\n    6 ap-south-1      Asia Pacific (Mumbai)           175.27 ms       300.68 ms       172.18 ms       216.05 ms\n    7 sa-east-1       South America (São Paulo)       243.48 ms       247.12 ms       248.32 ms       246.31 ms\n    8 ap-northeast-1  Asia Pacific (Tokyo)            324.78 ms       312.70 ms       319.02 ms       318.83 ms\n    9 ap-northeast-2  Asia Pacific (Seoul)            328.96 ms       327.65 ms       326.17 ms       327.59 ms\n   10 ap-southeast-2  Asia Pacific (Sydney)           388.17 ms       347.74 ms       393.58 ms       376.50 ms\n   11 ap-southeast-1  Asia Pacific (Singapore)        409.53 ms       403.61 ms       405.84 ms       406.33 ms\n```\n\n## Get Help\n\n```bash\n➜ ./awsping -h\nUsage of ./awsping:\n  -http\n    \tUse http transport (default is tcp)\n  -https\n    \tUse https transport (default is tcp)\n  -list-regions\n    \tShow list of regions\n  -repeats int\n    \tNumber of repeats (default 1)\n  -service string\n    \tAWS Service: ec2, sdb, sns, sqs, ... (default \"dynamodb\")\n  -v\tShow version\n  -verbose int\n    \tVerbosity level\n```\n\n# Get binary file\n\n```bash\n$ wget https://github.com/ekalinin/awsping/releases/download/0.5.2/awsping.linux.amd64.tgz\n$ tar xzvf awsping.linux.amd64.tgz\n$ chmod +x awsping\n$ ./awsping -v\n0.5.2\n```\n\n# Build from sources\n\n```bash\n➥ make build\n```\n\n# Use with Docker\n## Build a Docker image\n\n```\n$ docker build -t awsping .\n```\n\n## Run the Docker image\n```\n$ docker run --rm awsping\n```\n\nArguments can be used as mentioned in the _Usage_ section.\n\ni.e.:\n```\n$ docker run --rm awsping -repeats 3 -verbose 2\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fekalinin%2Fawsping","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fekalinin%2Fawsping","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fekalinin%2Fawsping/lists"}