Giter VIP home page Giter VIP logo

perceive's Introduction

perceive

Setup doco to do.

But, at a high level:

Setup a build machine on your home network.

  • Install Jenkins, don't use docker as it makes it hard to use ansible
  • Install Ansible
  • Install packer
  • Install OpenLDAP

Setup a DNS server on your home network (I use a Rpi, don't need anything big):

  • Install BIND
  • Setup initial zone for perceive.internal

Setup AWS:

  • Login to AWS console.
  • Select VPC from services.
  • Create default VPC, under actions.
  • Go to subnets, remove all but the one /20 - 172.31.0.0/20
  • Create IAM group called "build", with one policy "AmazonEC2FullAccess"
  • Create a new IAM user called jenkins, in this group.
  • In VPCs, create new customer GW for your public IP.
  • New Virtual Private GW - default ASN
  • New VPN. Download PFSense config

Jenkins setup:

  • Install recommended plugins, plus:
    • Blue Ocean
    • Ansible
    • packer
    • CloudBees Amazon Web Services Credentials
    • Build Cause Run Condition
    • Run Condition
  • Configure creds for AWS and DNS server (SSH)
  • Configure new project in Blue Ocean pointed to your cloned Github repo

Install Winlogbeat on a Windows machine. In the config file, in the Kafka section: output.kafka: hosts: ["confluent.perceive.internal:9092"]

Setup a PFSense FW on your home network. This will provide th VPN to AWS. Use the exported VPN config to setup IPSec.

Then, you can (finally!), run a build. All this above is one time setup, though I tear down all the AWS and VPN after I'm finished playing.

perceive's People

Contributors

gyrospectre avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar

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.