Skip to content

Instantly share code, notes, and snippets.

@crayzeigh
Last active November 9, 2022 18:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save crayzeigh/1fec9106a106e99552b0ac15cdbfd842 to your computer and use it in GitHub Desktop.
Save crayzeigh/1fec9106a106e99552b0ac15cdbfd842 to your computer and use it in GitHub Desktop.
Instructions for playing Ping Golf at the Equinix booth for Kubecon Detroit 2022

Equinix Ping Golf Instructions

The goal of Ping Golf is to bring up a server in an Equinix Metal metro and see how close it is to our servers announcing the anycast IP. The closest person (with the lowest latency to the server) wins!

Just for participating you'll be entered for a random drawing to win a Lego Datacenter, but if you're the lowest score at the end of the day, you automatically win one!

Instructions for play

  1. Create a new Equinix Metal account at https://console.equinix.com/sign-up
  2. Use the code kubecondetroit to get $500 in credit
  3. Add your personal SSH key so you can connect after your servers are built by clicking on your icon in the top right, opening My Profile, SSH Keys and finally Add SSH Key
  4. Create a new on-demand server using a recent Ubuntu OS (e.g. 22.04) and under Optional Settings > Userdata include the following YAML, replacing $YourName with how you want your name to show up on the scoreboard:
#cloud-config

runcmd:
  - curl -X POST -A '$YourName' pinggolf.fun
  1. Once the server has completed deployment, check the scoreboard to see how you did!
  2. Based on your results, see if you can achieve a lower latency by spinning up a server in a different metro and remember to delete any systems you don't need to avoid running through your credit!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment