Follow the guides to install requirements for Terraform, Ansible, and AWS:
-
Install Terraform for your environment: https://learn.hashicorp.com/tutorials/terraform/install-cli?in=terraform/aws-get-started#install-terraform
-
Once Terraform is setup, install AWSCLI for your environment: https://docs.aws.amazon.com/cli/latest/userguide/install-cliv2.html
-
Install Ansible for your environment: https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html#installing-ansible-on-specific-operating-systems
For Mac:
- Open Terminal and install Brew:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
- Install Ansible using Brew:
brew install ansible
-
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
-
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.
-
Get the Installers
wget https://raw.githubusercontent.com/mylesagnew/velocideploy/refs/heads/main/install.sh
-
Give execute permissions to the Velociraptor script:
chmod 755 install.sh
-
Execute the script:
./install.sh
- 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)
-
Take note of IP's aws_private_ip= "" aws_public_ip= "" <- This address you will use for DNS A record ie raptor.mylesagnew.com
- Get 100% Working in AWS
- Azure Build
- GCP
- Homelab K8/Docker Build