Coder Social home page Coder Social logo

f5-cwl-telegraf's Introduction

license standard-readme compliant coverage report pipeline status

F5-CWL-Telegraf (WIP)

This HowTo is an attempt to replay AWS CloudWatch Logs, via Telegraf, to Beacon which also provisions a 3-nic BIG-IP configuration to AWS hosting WordPress that is fronted by EAP+CFN.

This is built upon the following previous work:

NOTE: terraform-aws-bigip at time of writing has not been merged to F5DevCentral.

There is also some other stuff along the way...

Prerequisites

To support this deployment pattern the following components are required:

Installation

This section will over both the provisioning of the previously mentioned architecture using Terraform along with references to

AWS

The deployment environment used for development is covered in detail F5 AWAF Demo, this is a AWS Deployment example of AutoScaling AWAF. For simplicity, steps replicate this deployment are as follows;

a) First, clone the repo:

git clone https://github.com/merps/fw-cwl-telegraf.git

b) Second, create a tfvars file in the following format to deploy the environment;

Inputs

Name Description Type Default Required
cidr CIDR Range for VPC String NA Yes
region AWS Deployment Region String NA Yes
azs AWS Availability Zones List NA Yes
secops-profile SecurityOperations AWS Profile String default Yes
customer Customer/Client Short name used for AWS Tag/Naming String customer No
environment Environment short-name name used for AWS Tag/Naming String demo No
project Project short-name name used for AWS Tag/Naming String project No
ec2_key_name EC2 KeyPair for Instance Creation String NA Yes

c) Third, intialise and plan the terraform deployment as follows:

cd f5-cwl-tele/src/infra/
terraform init
terraform plan --vars-file ../variables.tfvars

this will produce and display the deployment plan using the previously created variables.tfvars file.

d) Then finally to deploy the successful plan;

terraform apply --vars-file ../variables.tfvars

NOTE: This architecture deploys two c4.2xlage PAYG BIG-IP Marketplace instances, it is recommended to perform a terraform destroy to not incur excessive usage costs outside of free tier.

This deployment also covers the provisioning of the additional F5 prerequeset components so required for deployment example covered in the F5 AWAF Demo

EAP+CFN

EAP+CFN is TBC - currently deployed manually with outputs from terraform.

Usage

TBC

TODO

  • EAP+CFN api metrics out via telegraf -> beacon
  • Codify EAP+CFN with either TF/Anisble
  • secure big-ip using metadata
  • Usage Instructions(?)

Contributing

See the contributing file!

PRs accepted.

License

Apache

f5-cwl-telegraf's People

Contributors

merps avatar

Watchers

 avatar  avatar

Forkers

honghuac

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.