Skip to content

Instantly share code, notes, and snippets.

@filipeandre
Created March 26, 2025 16:20
Show Gist options
  • Save filipeandre/9e5736eec0f59700a20678f9d9148a03 to your computer and use it in GitHub Desktop.
Save filipeandre/9e5736eec0f59700a20678f9d9148a03 to your computer and use it in GitHub Desktop.
Inside ECS, this allow to verify the latency to the AIM endpoint
while true; do
curl -o /dev/null -s -w "%{http_code}, %{time_total}s\n" \
http://169.254.170.2$AWS_CONTAINER_CREDENTIALS_RELATIVE_URI
sleep 5
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment