Skip to main content

AWS

The AWS helm chart installs a catalog scraper

Setup

helm repo add flanksource https://flanksource.github.io/charts
helm repo update
helm install mission-control-aws flanksource/mission-control-aws

After running helm install you should get a success message:

NAME: mission-control-aws
LAST DEPLOYED: Thu Feb 14 19:00:32 2024
NAMESPACE: default
STATUS: deployed
REVISION: 1
TEST SUITE: None
NOTES:
AWS scraper added

When you go to the catalog now, you can now see all the AWS Resources

AWS Catalog

Prerequisites

  1. Connection to AWS must be authenticated via IAM Roles for Service Accounts or AWS Access and Secret Key. Click Here to see how to configure AWS

  2. The role should have permissions to fetch the AWS Resources

  3. Cost Reporting should also be setup if you want to associate costs to each resource. Check the guide here

Values

This document provides an overview of configurable values for deploying Mission Control Registry on AWS using Helm.

Configuration

The following table lists the configurable parameters and their default values:

ParameterDescriptionDefault
labelsAdditional labels to apply to resources.{}
scraper.nameName of the AWS scraper."aws"

Connection Details

ParameterDescriptionSchemaDefault
connectionDetails.connectionAWS connection details.string""
connectionDetails.accessKeyName of the access key.EnvVar""
connectionDetails.secretKeyName of the secret key.EnvVar""
connectionDetails.regionAWS region.string""
connectionDetails.endpointAWS endpoint.string""
connectionDetails.skipTLSVerifySkip TLS verification.boolfalse
connectionDetails.assumeRoleAssume AWS role.string""
info

If you have setup IAM Roles for Service Account, you do not have to do anything else. If you do not have that setup, you can use AWS Access and Secret Keys as well

Example:

values.yaml
connectionDetails:
accessKey:
valueFrom:
secretKeyRef:
name: aws-credentials
key: AWS_ACCESS_KEY
secretKey:
valueFrom:
secretKeyRef:
name: aws-credentials
key: AWS_SECRET_KEY

Cloudtrail

ParameterDescriptionDefault
cloudtrail.maxAgeMaximum age for CloudTrail.""
cloudtrail.excludeList of excluded items for CloudTrail.[]

Compliance

ParameterDescriptionDefault
complianceEnable or disable compliance.true

Cost Reporting

ParameterDescriptionDefault
costReporting.enabledEnable or disable cost reporting.false
costReporting.databaseCost reporting database.""
costReporting.regionCost reporting region.""
costReporting.s3BucketPathS3 bucket path for cost reporting.""
costReporting.tableTable for cost reporting.""

Inventory

ParameterDescriptionDefault
inventoryEnable or disable inventory.true

Patch Details

ParameterDescriptionDefault
patchDetailsEnable or disable patch details.true

Patch States

ParameterDescriptionDefault
patchStatesEnable or disable patch states.true

Trusted Advisor Check

ParameterDescriptionDefault
trustedAdvisorCheckEnable or disable Trusted Advisor check.false

AWS Regions

ParameterDescriptionDefault
regionsList of AWS regions to pull from.[]

Include Resources

ParameterDescriptionDefault
includeResourcesList of resources to include.[]

Exclude Resources

ParameterDescriptionDefault
excludeResourcesList of resources to exclude.[]