Coder Social home page Coder Social logo

graylog2 / graylog2-images Goto Github PK

View Code? Open in Web Editor NEW
234.0 41.0 93.0 410 KB

Ready to run machine images

License: Apache License 2.0

Ruby 10.71% Shell 59.95% Groovy 29.34%
graylog docker dockerfile openstack vagrantfile packer ova aws aws-ec2 ami

graylog2-images's Introduction

graylog2-Images

This project allows you to create machine images with a full Graylog stack installed.

Graylog OVA appliance

Pre-Considerations

  • Please run this appliance always in a separated network that is isolated from the internet.

Dependencies

  • 64bit host system with Virtualbox/VMWare/XenServer hypervisor

Download

Detailed documentation can be found here.

Create machine images with Packer

This project creates machine images with a full Graylog stack installed.

Requirements

You need a recent packer version, get it here. To set your local properties copy the packerrc.sh.example to packerrc.sh and fill in the right values for your environment. Before you run packer source the packerrc.sh in your terminal.

$ cd packer
$ . packerrc.sh
$ packer build aws.json

This e.g. creates an Amazon AMI for you.

Usage

We install in all machine images our Omnibus package that comes with the graylog-ctl command. After spinning up the VM you have to login with the ubuntu user and execute at least

$ sudo graylog-ctl reconfigure

This will setup your Graylog installation and start all services. You can reach the web interface by pointing your browser to the IP of the appliance: http://<IP address>:9000

The default login is Username: admin Password: admin. You can change the admin password:

$ sudo graylog-ctl set-admin-password !SeCreTPasSwOrD?
$ sudo graylog-ctl reconfigure

Noticeable Options

AWS

Parameter Value
type Choose AWS storage type, EBS works fine for the beginning
ami_groups 'all' means publicly available
ami_regions Array of availability zones to copy the image after creation

Virtualbox

Parameter Value
disk_size Set the maximum disk size for the image
modifyvm --memory RAM size
modifyvm --cpus Number of CPUs
modifyvm --natpf1 Default port forwards

AMI Images

AWS EC2 Images can be found here

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.