This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[SERVICE] | |
flush 1 | |
log_Level info | |
daemon off | |
parsers_File parsers.conf | |
http_server on | |
http_listen 0.0.0.0 | |
http_port 2020 | |
storage.metrics on | |
[INPUT] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[SERVICE] | |
flush 1 | |
log_Level info | |
daemon off | |
parsers_File parsers.conf | |
http_server on | |
http_listen 0.0.0.0 | |
http_port 2020 | |
storage.metrics on |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
services: | |
web1: | |
image: nginx:latest | |
ports: | |
- "8888:80" | |
depends_on: | |
- fluent-bit | |
command: [nginx-debug, '-g', 'daemon off;'] | |
logging: | |
driver: fluentd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
odfe-node1: | |
image: amazon/opendistro-for-elasticsearch:1.13.2 | |
container_name: odfe-node1 | |
environment: | |
- discovery.type=single-node | |
- opendistro_security.disabled=true | |
- bootstrap.memory_lock=true # along with the memlock settings below, disables swapping | |
- "ES_JAVA_OPTS=-Xms512m -Xmx512m" # minimum and maximum Java heap size, recommend setting both to 50% of system RAM |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
odfe-node1: | |
image: amazon/opendistro-for-elasticsearch:1.13.2 | |
container_name: odfe-node1 | |
environment: | |
- discovery.type=single-node | |
- bootstrap.memory_lock=true # along with the memlock settings below, disables swapping | |
- "ES_JAVA_OPTS=-Xms512m -Xmx512m" # minimum and maximum Java heap size, recommend setting both to 50% of system RAM | |
ulimits: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#-*- coding: utf-8 -*- | |
#!/usr/bin/env python | |
import argparse | |
import json | |
import sys | |
def parse_args(): | |
parser = argparse.ArgumentParser(description="Vagrant inventory script") | |
group = parser.add_mutually_exclusive_group(required=True) | |
group.add_argument('--list', action='store_true') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#-*-coding:utf-8-*- | |
from diagrams import Cluster, Diagram, Edge | |
from diagrams.aws.network import VPC | |
from diagrams.aws.network import ELB | |
from diagrams.aws.network import Route53 | |
from diagrams.aws.network import CF | |
from diagrams.aws.compute import EC2 | |
from diagrams.aws.general import User, Users | |
from diagrams.aws.management import Cloudwatch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
jupyter: | |
image: jupyter/tensorflow-notebook | |
container_name: jupyter | |
user: root | |
environment: | |
- GRANT_SUDO=yes | |
- JUPYTER_ENABLE_LAB=yes | |
volumes: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# diagram.py | |
from diagrams import Diagram | |
from diagrams.aws.compute import EC2 | |
from diagrams.aws.database import RDS | |
from diagrams.aws.network import ELB | |
with Diagram("Web Service", show=False): | |
ELB("lb") >> EC2("web") >> RDS("userdb") |
NewerOlder