This project aims to povide an automated approach to some of the maintencnace and compliance checks in AWS environments, as set out in the Cloud Environment Maintenance Schedule.
In order for the automated dashboards to be displayed, the following items need to be present in your environment:
-
Steampipe needs to be installed:
- Installation instructions can be found here.
-
The Steampipe AWS Plugin needs to be installed.
-
The Steampipe Kubernetes Plugin needs to be installed.
-
AWS Credentials need to be set. Instructions can be find here.
- Export your AWS Profile containing the required permissions (full Read-Only Access is required)
- E.g.
export AWS_PROFILE=my-profile
-
Set the
kube-contextto one with sufficient read permissions across the cluster. Thekubeconfigfile can automatically be updated for an AWS EKS cluster as per instructions here. Full Read-Only permissions are required across the EKS cluster.kubectl config get-contextskubectl config set context <pre-configured existing context>
cd /monthly-tasks/dashboards
steampipe dashboard
Once the steampipe dashboard command has been issued, Steampipe automatically opens a window in your browser for for http://localhost:9194/
cd scripts
./aws-ami-age-check.sh