mylesagnew / velocideploy

Semi Automated Velociraptor Deployment
MIT License
0 stars 1 forks source link

Table of Contents

    Getting Started Velociraptor Roadmap

    Contributing

This deployment script is an enhanced version of @Seeps https://github.com/Seeps/VRAutomate/

Introduction

Prerequisites

Follow the guides to install requirements for Terraform, Ansible, and AWS:

  1. Install Terraform for your environment: https://learn.hashicorp.com/tutorials/terraform/install-cli?in=terraform/aws-get-started#install-terraform

  2. Once Terraform is setup, install AWSCLI for your environment: https://docs.aws.amazon.com/cli/latest/userguide/install-cliv2.html

  3. Install Ansible for your environment: https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html#installing-ansible-on-specific-operating-systems

    For Mac:

    1. Open Terminal and install Brew:
      /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
    2. Install Ansible using Brew:
      brew install ansible
  4. Sign into AWS and create an access key. You will need the key and secret handy: https://console.aws.amazon.com/iam/home?#/security_credentials

  5. Configure AWSCLI with your key and secret (ignore the other prompts):

    aws configure

    The configuration process stores your credentials in a file at ~/.aws/credentials on MacOS and Linux, or %UserProfile%\.aws\credentials on Windows.

Velociraptor

Installation

  1. Get the Installers

    wget https://raw.githubusercontent.com/mylesagnew/velocideploy/refs/heads/main/install.sh
  2. Give execute permissions to the Velociraptor script:

    
    chmod 755 install.sh
  3. Execute the script:

    ./install.sh

Usage

  1. Enter a Value: ie 'Raptor' (Without Quotes will deploy all the Infrastructure using this tag)

2.Do you want to perform these actions? Enter a Value: 'yes' (If you are happy with the itemised list from Terraform)

  1. Take note of IP's aws_private_ip= "" aws_public_ip= "" <- This address you will use for DNS A record ie raptor.mylesagnew.com

  2. Agent Deployment

Teardown

Roadmap

  1. Get 100% Working in AWS
  2. Azure Build
  3. GCP
  4. Homelab K8/Docker Build

Contributing