Giter VIP home page Giter VIP logo

aws-terraform-rms's Introduction

aws-terraform-rms

This module deploys the required infrastructure for an RMS managed Alert Logic deployment. This includes
Alert Logic Threat Manager appliances in each AZ of the VPC, and required IAM roles to allow for Alert
Logic scanning inventory scanning and log ingestion.

NOTE: You must supply a provider configured to use the us-west-2 region into this module in order
to create several of the resources. The dependancies for these resources only exist in us-west-2.

Basic Usage

module "rms_main" {
  source = "[email protected]:rackspace-infrastructure-automation/aws-terraform-rms//?ref=v0.12.2"

  alert_logic_customer_id = "123456789"
  name                    = "Test-RMS"
  subnets                 = module.vpc.private_subnets

  providers = {
    aws.rms_oregon = aws.oregon
  }
}

Full working references are available at examples

Terraform 0.12 upgrade

There should be no changes required to move from previous versions of this module to version 0.12.0 or higher.

Other TF Modules Used

Using aws-terraform-cloudwatch_alarm to create the following CloudWatch Alarms:

  • status_check_failed_system_alarm_ticket
  • status_check_failed_instance_alarm_ticket
  • status_check_failed_instance_alarm_reboot
  • status_check_failed_system_alarm_recover

Providers

Name Version
aws >= 2.7.0
aws.rms_oregon >= 2.7.0
local n/a
null n/a

Inputs

Name Description Type Default Required
alert_logic_customer_id The Alert Logic Customer ID, provided by RMS. A numeric string between 3 and 12 characters in length. Omit if this is not the first RMS deployment under this account. string "" no
alert_logic_data_center Alert Logic Data Center where logs will be shipped. string "US" no
az_count Number of Availability Zones. For environments where only Log ingestion is required, please select 0 number 2 no
build_state Allowed values 'Deploy' or 'Test'. Select 'Deploy' unless the stack is being built for testing in an account without access to the Alert Logic AMIs. string "Deploy" no
cloudtrail_bucket The desired cloudtrail log bucket to monitor. In most cases, the correct bucket will be determined via the canonical user id display name, but if a nonstand value is used, or a custom bucket name is needed, the full bucket name can be provided here. string "" no
environment Application environment for which this infrastructure is being created. e.g. Development/Production. string "Production" no
instance_type The instance type to use for the Alert Logic appliances. Defaults to c5.large string "c5.large" no
key_pair Name of an existing EC2 KeyPair to enable SSH access to the instances. string "" no
name The name prefix to use for the resources created in this module. string n/a yes
notification_topic List of SNS Topic ARNs to use for customer notifications from CloudWatch alarms. (OPTIONAL) list(string) [] no
rackspace_managed Boolean parameter controlling if instance will be fully managed by Rackspace support teams, created CloudWatch alarms that generate tickets, and utilize Rackspace managed SSM documents. bool true no
subnets Private Subnet IDs for deployment. This is for the ALTM appliances. list(string) n/a yes
tags Custom tags to apply to all resources. map(string) {} no
volume_size Select EBS Volume Size in GB. number 50 no

Outputs

Name Description
agent_sg The security group id to assign to client instances
appliance_ip The private IP addresses of the Alert Logic appliances.
appliance_sg The security group id applied to the Alert Logic appliances.
cross_account_role_arn Logging IAM Role ARN
deployment_details All details required to proceed with Alert Logic setup
logging_role_arn Logging IAM Role ARN
managed_instance_policy_arn RMS Managed instance policy ARN
sqs_queue_name Name of the Alert Logic SQS queue

aws-terraform-rms's People

Contributors

bohn002 avatar cwgem avatar gdelvalle avatar jonathan-madison avatar michaelmoussa avatar mjcmtb avatar stevengorrell avatar twistedgrim 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.