23.1.7. 1040 Find Orphaned AWS Instances

23.1.7.1. Overview

  • Id: 1040

  • Time: 10 Minutes

  • Enabled: Yes

  • Difficulty: introductory

  • Tags: aws, cloud, compliance

  • Concepts: tagged workers

Video Link

23.1.7.2. Objective

Discover AWS instances created outside of Digital Rebar

Business ROI: Improved operational control and consistency of infrastructure

23.1.7.3. Prerequisites

Required Labs:

  • 1030

Addtional Checklist Items:

  • The AWS cloud broker installed

  • At least one AWS instance running in your AWS region that was not created by Digital Rebar

  • Access to your cloud provider console

23.1.7.3.1. Summary

23.1.7.3.1.1. Create an AWS reference cluster

  1. To provide a base-line, create a minimal cluster using the AWS resource broker (lab 1020)

  2. Allow it to create new AWS instances

23.1.7.3.1.2. Create AWS-CLI broker

  1. Create an AWS-CLI based Resource Broker with your AWS credentials and region

  2. Wait for the broker to enter Work Order mode

23.1.7.3.1.3. Run the Discovery Process

  1. From the AWSCLI Broker, select and apply the cloud-awscli-reconcile-instances blueprint

  2. Review the Alerts to see the INFO created by Digital Rebar discovering unregistered machines

  3. Review the Machines to see machines created by Digital Rebar based on your AWS-CLI broker configuration. Note that scans are region specific

  4. Review all AWS machines to confirm that the aws/inspect Param is populated with AWS discovery information