• Stars
    star
    156
  • Rank 239,589 (Top 5 %)
  • Language
    Go
  • License
    MIT License
  • Created about 8 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Console tool to check the latency to each Amazon EC2 region

awsping

Console tool to check the latency to each AWS region

Go Report Card codecov Go Reference MIT license GitHub release (latest by date)

ToC

Usage

Test via TCP

➥ ./awsping
Europe (Frankfurt)                    51.86 ms
Europe (Ireland)                      62.86 ms
US-East (Virginia)                   126.39 ms
US-East (Ohio)                       154.81 ms
Asia Pacific (Mumbai)                181.09 ms
US-West (California)                 194.27 ms
US-West (Oregon)                     211.87 ms
South America (São Paulo)            246.20 ms
Asia Pacific (Tokyo)                 309.27 ms
Asia Pacific (Seoul)                 322.76 ms
Asia Pacific (Sydney)                346.37 ms
Asia Pacific (Singapore)             407.91 ms

Test via HTTP

➥ ./awsping -http
Europe (Frankfurt)                   222.56 ms
Europe (Ireland)                     226.76 ms
US-East (Virginia)                   349.17 ms
US-West (California)                 488.12 ms
US-East (Ohio)                       513.69 ms
Asia Pacific (Mumbai)                528.51 ms
US-West (Oregon)                     532.05 ms
South America (São Paulo)            599.36 ms
Asia Pacific (Seoul)                 715.92 ms
Asia Pacific (Sydney)                721.47 ms
Asia Pacific (Tokyo)                 745.24 ms
Asia Pacific (Singapore)             847.36 ms

Test via HTTPS

➥ ./awsping -https
Europe (Stockholm)                   216.67 ms
Europe (Frankfurt)                   263.20 ms
Europe (Paris)                       284.32 ms
Europe (Milan)                       305.63 ms
Europe (Ireland)                     327.34 ms
Europe (London)                      332.17 ms
Middle East (Bahrain)                590.74 ms
US-East (N. Virginia)                595.13 ms
Canada (Central)                     628.44 ms
US-East (Ohio)                       635.32 ms
Asia Pacific (Mumbai)                755.56 ms
Asia Pacific (Hong Kong)             843.90 ms
US-West (N. California)              870.65 ms
Asia Pacific (Singapore)             899.50 ms
Africa (Cape Town)                   912.06 ms
US-West (Oregon)                     919.34 ms
South America (São Paulo)            985.93 ms
Asia Pacific (Tokyo)                1122.67 ms
Asia Pacific (Seoul)                1138.76 ms
Asia Pacific (Osaka)                1167.40 ms
Asia Pacific (Sydney)               1328.90 ms

Test several times

➥ ./awsping -repeats 3
Europe (Frankfurt)                    50.13 ms
Europe (Ireland)                      62.67 ms
US-East (Virginia)                   126.88 ms
US-East (Ohio)                       155.37 ms
US-West (California)                 195.75 ms
US-West (Oregon)                     206.19 ms
Asia Pacific (Mumbai)                222.34 ms
South America (São Paulo)            254.28 ms
Asia Pacific (Tokyo)                 308.52 ms
Asia Pacific (Seoul)                 325.93 ms
Asia Pacific (Sydney)                349.62 ms
Asia Pacific (Singapore)             378.53 ms

Verbose mode

➥ ./awsping -repeats 3 -verbose 1
      Code            Region                                      Latency
    0 eu-central-1    Europe (Frankfurt)                         47.39 ms
    1 eu-west-1       Europe (Ireland)                           62.28 ms
    2 us-east-1       US-East (Virginia)                        128.45 ms
    3 us-east-2       US-East (Ohio)                            155.53 ms
    4 us-west-1       US-West (California)                      194.37 ms
    5 us-west-2       US-West (Oregon)                          208.91 ms
    6 ap-south-1      Asia Pacific (Mumbai)                     226.59 ms
    7 sa-east-1       South America (São Paulo)                 254.67 ms
    8 ap-northeast-1  Asia Pacific (Tokyo)                      301.97 ms
    9 ap-northeast-2  Asia Pacific (Seoul)                      323.10 ms
   10 ap-southeast-2  Asia Pacific (Sydney)                     341.26 ms
   11 ap-southeast-1  Asia Pacific (Singapore)                  397.47 ms
➥ ./awsping -repeats 3 -verbose 2
      Code            Region                             Try #1          Try #2          Try #3     Avg Latency
    0 eu-central-1    Europe (Frankfurt)               45.18 ms        45.46 ms        45.68 ms        45.44 ms
    1 eu-west-1       Europe (Ireland)                 61.89 ms        62.99 ms        62.98 ms        62.62 ms
    2 us-east-1       US-East (Virginia)              125.15 ms       126.75 ms       126.49 ms       126.13 ms
    3 us-east-2       US-East (Ohio)                  154.05 ms       154.28 ms       153.53 ms       153.96 ms
    4 us-west-1       US-West (California)            196.20 ms       195.05 ms       193.76 ms       195.00 ms
    5 us-west-2       US-West (Oregon)                204.04 ms       203.97 ms       203.84 ms       203.95 ms
    6 ap-south-1      Asia Pacific (Mumbai)           175.27 ms       300.68 ms       172.18 ms       216.05 ms
    7 sa-east-1       South America (São Paulo)       243.48 ms       247.12 ms       248.32 ms       246.31 ms
    8 ap-northeast-1  Asia Pacific (Tokyo)            324.78 ms       312.70 ms       319.02 ms       318.83 ms
    9 ap-northeast-2  Asia Pacific (Seoul)            328.96 ms       327.65 ms       326.17 ms       327.59 ms
   10 ap-southeast-2  Asia Pacific (Sydney)           388.17 ms       347.74 ms       393.58 ms       376.50 ms
   11 ap-southeast-1  Asia Pacific (Singapore)        409.53 ms       403.61 ms       405.84 ms       406.33 ms

Get Help

➜ ./awsping -h
Usage of ./awsping:
  -http
    	Use http transport (default is tcp)
  -https
    	Use https transport (default is tcp)
  -list-regions
    	Show list of regions
  -repeats int
    	Number of repeats (default 1)
  -service string
    	AWS Service: ec2, sdb, sns, sqs, ... (default "dynamodb")
  -v	Show version
  -verbose int
    	Verbosity level

Get binary file

$ wget https://github.com/ekalinin/awsping/releases/download/0.5.2/awsping.linux.amd64.tgz
$ tar xzvf awsping.linux.amd64.tgz
$ chmod +x awsping
$ ./awsping -v
0.5.2

Build from sources

➥ make build

Use with Docker

Build a Docker image

$ docker build -t awsping .

Run the Docker image

$ docker run --rm awsping

Arguments can be used as mentioned in the Usage section.

i.e.:

$ docker run --rm awsping -repeats 3 -verbose 2

More Repositories

1

github-markdown-toc

Easy TOC creation for GitHub README.md
Shell
3,104
star
2

nodeenv

Virtual environment for Node.js & integrator with virtualenv
Python
1,634
star
3

sitemap.js

Sitemap-generating framework for node.js
TypeScript
1,577
star
4

Dockerfile.vim

Vim syntax file & snippets for Docker's Dockerfile
Vim Script
692
star
5

github-markdown-toc.go

Easy TOC creation for GitHub README.md (in go)
Go
486
star
6

envirius

Universal Virtual Environments Manager
Shell
330
star
7

typogr.js

Typography utils for javascript
JavaScript
296
star
8

nodeguide.ru

nodeguide.ru
CSS
176
star
9

pip-bash-completion

bash autocompletion for pip
Shell
77
star
10

robots.js

Parser for robots.txt for node.js
JavaScript
65
star
11

operating-systems-three-easy-pieces-pdf

Tool for single pdf creation from http://ostep.org
Python
34
star
12

rust-bookmarks

Bookmarks about rust programming language
14
star
13

erlang-libs

Listing of useful erlang libraries
JavaScript
8
star
14

btxer

Simple bitcoin transactions tracker
Go
8
star
15

docker-uptime

A Dockerfile that installs the latest mongodb, nodejs and uptime
Shell
7
star
16

docker-munin-nginx

A Dockerfile that installs munin, nginx, and sshd
Shell
5
star
17

docker-sentry-postgres

A Dockerfile that installs sentry, postgres, and sshd
Python
5
star
18

virtualenv-bash-completion

bash completion for virtualenv
3
star
19

veco

Shell wrapper for the most popular version control systems
Shell
3
star
20

algo.rs

Rust
2
star
21

erlang-iptables

Simple Erlang wrapper to iptables
Erlang
2
star
22

pbvm

Protocol Buffers Version Manager
Go
2
star
23

flask-noextref

Provides support for hiding external URL for Flask based applications.
Python
2
star
24

eppi

Erlang based Python Package Index
Erlang
2
star
25

envirius.rs

envirius in Rust
Rust
2
star
26

ekalinin

Personal repo
1
star
27

enviriusx

Universal Virtual Environments Manager
Go
1
star
28

envirius.hs

Universal Virtual Environments Manager in Haskell
Haskell
1
star
29

sis

Simple Image Server
Go
1
star
30

lyseru

Python
1
star
31

cluedo-junior-logs

Logs for cluedo junior game
HTML
1
star
32

marktime.py

Python stopwatch module for humans.
Python
1
star
33

debianworld.ru

Makefile
1
star