PR-CYBR-INFRASTRUCTURE-AGENT

PR-CYBR-INFRASTRUCTURE-AGENT

Overview

The PR-CYBR-INFRASTRUCTURE-AGENT focuses on automating, managing, and maintaining the underlying infrastructure that supports the PR-CYBR ecosystem. It ensures high availability, scalability, and reliability of cloud and on-premises resources while adhering to security best practices.

Key Features

Getting Started

Prerequisites

Local Setup

To set up the PR-CYBR-INFRASTRUCTURE-AGENT locally on your machine:

  1. Clone the Repository
git clone https://github.com/PR-CYBR/PR-CYBR-INFRASTRUCTURE-AGENT.git
cd PR-CYBR-INFRASTRUCTURE-AGENT
  1. Run Local Setup Script
./scripts/local_setup.sh

This script will install necessary dependencies and set up the local environment.

  1. Provision the Agent
./scripts/provision_agent.sh

This script initializes Terraform and Ansible configurations for local development.

Cloud Deployment

To deploy the agent to a cloud environment:

  1. Configure Repository Secrets
  1. Deploy Using GitHub Actions
  1. Manual Deployment
./scripts/deploy_agent.sh

Integration

The PR-CYBR-INFRASTRUCTURE-AGENT integrates with other PR-CYBR agents to provide a robust and scalable infrastructure foundation. It collaborates with:

Usage

terraform init
ansible-galaxy install -r requirements.yml
terraform plan
terraform apply
terraform validate
ansible-playbook --check playbooks/deploy.yml
terraform workspace select production
terraform apply
ansible-playbook playbooks/deploy.yml -i inventory/production

License

This project is licensed under the MIT License. See the LICENSE file for details.


For more information, refer to the Terraform Documentation, Ansible Documentation, or contact the PR-CYBR team.