Simple app written in golang that can be used to test network connectivity, useful when mocking up an infrastructure
We've packaged it in a few ways to make running it easy and quick to get going:
- Native binary (Windows, Linux, MacOS)
- Docker
- Amazon AMIs
- Anything else you make a PR for (hint)
- Terraform example
It is configured with environment variables for example:
CHECK_self=127.0.0.1:80
CHECK_google=google.com:80
CHECK_googletls=google.com:443
LISTEN_http=0.0.0.0:80
LISTEN_httpagain=0.0.0.0:8088
It serves http on any port you specify to listen on, which returns a simple text result of the checks. If any of the checks fail it will return a 500
so you could write some simple healthcheck thing to assert your whole.
If you use one of the AMIs then you specify this in the Instance User Data
Also if you use the AMI and add a with "Action": "cloudwatch:PutMetricData",
then you should see the results reported in AWS CloudWatch
(Pull Requests welcome)
- Windows AMI build - partial, work in feature/packer-ansible-windows
- Example Kubernetes config
- Example Terraform config
- Mac x64 binary
- Windows x64 binary
- Linux x64 binary
- Docker Image published to quay
- CI pipeline