Skip to content

jdow/nubis-elk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nubis-elk

Howto build

  1. Run packer-build.sh

    $ ./bin/packer-build.sh
  2. Build stack with ami that you get from the packer build

    $ ./bin/build.sh nubis-elk
  3. Wait for build to complete and then update consul

    $ export PATH="~/nubis/nubis-builder/bin:$PATH"
    $ nubis-consul --stack-name nubis-elk --settings nubis/cloudformation/parameters.json get-and-update

Notes

  • Stack information

    $ aws cloudformation describe-stacks --stack-name nubis-elk
  • Get ec2 instance private IP

    $ aws ec2 describe-instances --filter "Name=tag:ServiceName,Values=nubis-elk" | jq ".Reservations|.[].Instances|.[].PrivateIpAddress" -r
  • Get stack build information

    STACK_NAME="nubis-elk"; watch -n 1 "echo 'Container Stack'; aws cloudformation describe-stacks --query 'Stacks[*].[StackName,StackStatus]' --output text --stack-name $STACK_NAME; echo \"\nNested Stacks\"; aws cloudformation describe-stack-resources --stack-name $STACK_NAME --query 'StackResources[*].[LogicalResourceId, ResourceStatus]' --output text"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published