Skip to content

Instantly share code, notes, and snippets.

@lox
Last active December 1, 2017 01:09
Show Gist options
  • Select an option

  • Save lox/924231cee15e99baf79afd57f5eb64f6 to your computer and use it in GitHub Desktop.

Select an option

Save lox/924231cee15e99baf79afd57f5eb64f6 to your computer and use it in GitHub Desktop.
Troubleshooting AWS Stack

Troubleshooting your Elastic CI Stack

https://github.com/buildkite/elastic-ci-stack-for-aws

If you are having issues with your elastic stack and none of the suggested troubleshooting steps help, post to the #aws-stack channel on https://chat.buildkite.com/ and we'll assist.

Some details that will help us (feel free to directly message @lox or post in your company private channel if they contain private information).

# List your stack parameters
aws cloudformation describe-stacks --stack-name MY_STACK_NAME \
  --query 'Stacks[].Parameters[].[ParameterKey,ParameterValue]' --output table

Provide us with logs from Cloudwatch Logs:

/buildkite/elastic-stack-init/{instance-id}
/buildkite/docker-daemon/{instance-id}

If the logs for the instance affected aren't available and the instance is still up and you can SSH into it, the above logs map to the following paths on the filesystem:

/var/log/elastic-stack.log
/var/log/docker

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment