OnCallReadyStart learning

AWS IV: Operations Automation: glossary

86 terms, in plain words, with where each one is taught.

ACM (AWS Certificate Manager) (AWS Certificate Manager, aws acm, request-certificate)
The AWS service that issues free public certificates for AWS endpoints, renews them automatically, and stores imported ones. Lesson 37.29
advanced query (Config) (select-resource-config, SELECT resourceId)
SQL over the configuration Config recorded, in one account or across an aggregator. Lesson 37.24
aggregator (Config) (configuration aggregator, put-configuration-aggregator)
A Config resource that collects configuration and compliance from many accounts and Regions into one account. Lesson 37.24
alternating users rotation (single user rotation, multi-user rotation)
The rotation strategy that switches between two database users, so the previous credentials keep working until the next rotation; single-user rotation changes one user's password in place. Lesson 37.29
Amazon Detective (Detective)
The AWS service that builds graphs from CloudTrail, Flow Logs and GuardDuty to investigate a finding. Lesson 37.33
Amazon Inspector (Inspector, inspector2, package vulnerability)
The AWS vulnerability scanner for EC2 packages (through SSM), container images in ECR and Lambda functions, with the fixed version for each finding. Lesson 37.33
Amazon Macie (Macie)
The AWS service that finds sensitive data, such as personal data and credentials, in S3 buckets. Lesson 37.33
Automation runbook (runbook (Systems Manager), start-automation-execution, AWS-RestartEC2Instance)
A Systems Manager Automation document: steps such as aws:executeAwsApi, aws:runCommand, aws:assertAwsResourceProperty and aws:approve, run by the service with a role. Lesson 37.12
AutomationAssumeRole (The defined assume role is unable to be assumed.)
The IAM role an Automation runbook acts as. It must trust ssm.amazonaws.com and should have only the permissions the steps need. Lesson 37.12
AWS API Call via CloudTrail (CloudTrail events in EventBridge)
The detail-type of the events EventBridge receives for write API calls recorded by CloudTrail, with the full record in detail - how a rule reacts to what someone did. Lesson 37.19
AWS Config (Config, aws configservice)
The AWS service that records how resources are configured over time and evaluates them against rules. Lesson 37.24
aws:approve (send-automation-signal, AWS-StopEC2InstanceWithApproval)
A runbook step that waits until enough approvers approve (or one rejects) before the runbook continues. Lesson 37.12
capabilities (CloudFormation) (CAPABILITY_IAM, CAPABILITY_NAMED_IAM, CAPABILITY_AUTO_EXPAND)
The acknowledgement create-stack needs for templates that make IAM resources (CAPABILITY_IAM, CAPABILITY_NAMED_IAM when they are named) or use macros (CAPABILITY_AUTO_EXPAND). Lesson 37.1
change set (change sets, create-change-set, execute-change-set)
The plan of a CloudFormation update: per resource Add, Modify or Remove and whether it will be replaced. Nothing changes until it is executed. Lesson 37.4
CloudFormation (AWS CloudFormation, aws cloudformation)
The AWS service that builds and changes resources from a template (YAML or JSON) as one unit, a stack, and rolls back when a step fails. There is no state file: the stack is the state, kept by AWS. Lesson 37.1
cloudformation deploy (aws cloudformation deploy, --no-fail-on-empty-changeset, --no-execute-changeset)
The CLI command that creates or updates a stack through a change set and waits - what most pipelines call. Lesson 37.10
CloudFormation template (template (CloudFormation), Resources section, template body)
The file that describes a stack: Parameters (inputs), Mappings (lookup tables), Conditions, Resources (required) and Outputs. Lesson 37.1
compliance (Config) (COMPLIANT, NON_COMPLIANT, NOT_APPLICABLE)
The result of a Config rule per resource - COMPLIANT, NON_COMPLIANT or NOT_APPLICABLE, with an annotation saying why - and per rule (the worst of its resources). Lesson 37.24
Compute Optimizer (AWS Compute Optimizer, Overprovisioned, Underprovisioned)
The AWS service that recommends instance types and sizes from CloudWatch history, after you opt in. Lesson 37.33
Config rule (managed rule (Config), put-config-rule, SourceIdentifier)
A check AWS Config runs against recorded resources - an AWS managed rule by identifier, or a custom one - triggered by changes or periodically. Lesson 37.24
configuration item (configuration items, get-resource-config-history, ResourceDiscovered)
One recorded snapshot of a resource's configuration, written every time it changes; together they are the resource's history. Lesson 37.24
configuration recorder (put-configuration-recorder, start-configuration-recorder, includeGlobalResourceTypes)
The per-Region Config setting that decides what is recorded (all supported types, global IAM types) and whether recording is on. Lesson 37.24
conformance pack (conformance packs, put-conformance-pack)
A set of Config rules (and remediations) deployed together from one template, often to every account of an organization. Lesson 37.24
cutoff (maintenance window) (--cutoff, window cutoff)
The hours before a maintenance window ends in which no new tasks start, so a run does not spill past the window. Lesson 37.15
dead-letter queue (EventBridge) (DLQ, event archive, event replay)
An SQS queue that keeps the events a target could not receive after retries; archives keep events so they can be replayed later. Lesson 37.19
DeletionPolicy (UpdateReplacePolicy, DeletionPolicy: Retain, DeletionPolicy: Snapshot)
A resource attribute that decides what happens to the physical resource when it is removed from the stack (DeletionPolicy) or replaced (UpdateReplacePolicy): Delete, Retain or Snapshot. Lesson 37.4
delivery channel (put-delivery-channel, InsufficientDeliveryPolicyException)
Where Config delivers its history and snapshots: an S3 bucket whose policy lets config.amazonaws.com write, and optionally an SNS topic. Lesson 37.24
DNS validation (validation CNAME, acm-validations.aws, certificate-validated)
Proving control of a domain to ACM with a CNAME record; leaving the record in place lets ACM renew the certificate automatically. Lesson 37.29
drift (CloudFormation) (stack drift, detect-stack-drift, IN_SYNC)
The difference between a stack's template and its live resources, found on demand with detect-stack-drift: MODIFIED, DELETED, IN_SYNC or NOT_CHECKED per resource. Lesson 37.7
dynamic reference ({{resolve:secretsmanager, {{resolve:ssm)
A placeholder in a CloudFormation template that is replaced at deploy time with a Secrets Manager or Parameter Store value, never stored in the template. Lesson 37.29
event bus (default event bus, custom event bus, put-events)
Where events arrive in EventBridge: the default bus gets AWS service events; custom buses take your own and other accounts' events. Lesson 37.19
event pattern (event patterns, test-event-pattern, anything-but)
The JSON a rule matches events with: the same shape as the event, every leaf an array of allowed values or matchers (prefix, suffix, wildcard, anything-but, numeric, exists). Lesson 37.19
EventBridge (Amazon EventBridge, aws events)
The AWS event router: rules on an event bus match events by pattern (or run on a schedule) and deliver them to up to five targets. Lesson 37.19
EventBridge rule (put-rule, put-targets, event rule)
A pattern (or a schedule) plus up to five targets on an event bus. Lesson 37.19
EventBridge Scheduler (aws scheduler, create-schedule, schedule group)
The scheduling service: cron, rate and one-time at() schedules with a time zone each, retries, and targets called with a role that trusts scheduler.amazonaws.com. Lesson 37.19
export (CloudFormation) (exports, Outputs Export, list-exports)
An Output with a name other stacks in the same account and Region can read with !ImportValue. An imported export cannot be changed or deleted. Lesson 37.10
FailedInvocations (AWS/Events, MatchedEvents)
The EventBridge metric that counts deliveries a target refused - usually a missing permission. Nothing else reports them. Lesson 37.19
GuardDuty (Amazon GuardDuty, aws guardduty, detector)
The AWS threat detection service: it reads CloudTrail, VPC Flow Logs and DNS logs by itself and reports suspicious behaviour as findings. Lesson 37.33
GuardDuty finding (finding type, severity (GuardDuty), archive-findings)
One report of suspicious activity, typed ThreatPurpose:Resource/Family.Mechanism!Artifact, with a severity number (High 7-8.9, Critical 9+), the resource, the action and a count. Lesson 37.33
IAM Access Analyzer (Access Analyzer, aws accessanalyzer, zone of trust)
The IAM feature that reports resource policies granting access outside your account or organization, and lints policies before they ship. Lesson 37.33
InputTransformer (InputPathsMap, InputTemplate, input transformer)
A target setting that picks fields from an event (InputPathsMap) and builds the target's input from them (InputTemplate), such as a readable page or runbook parameters. Lesson 37.19
InstalledPendingReboot (pending reboot)
A patch that is installed on disk but not in use until the instance restarts (systemd, the kernel); it counts as non-compliant. Lesson 37.15
intrinsic function (intrinsic functions, !Ref, !GetAtt)
The template functions that wire values together: !Ref (a parameter or a physical ID), !GetAtt (an attribute), !Sub (a string with references), !FindInMap, !If, !ImportValue. Lesson 37.1
Inventory (Systems Manager) (AWS-GatherSoftwareInventory, list-inventory-entries, get-inventory)
What is installed on each managed instance - packages and versions - collected by the AWS-GatherSoftwareInventory association and queryable across the fleet. Lesson 37.15
logical ID (LogicalResourceId, logical resource ID)
The name of a resource inside a CloudFormation template, such as AppLogs; other resources refer to it with Ref and GetAtt. Lesson 37.1
maintenance window (maintenance windows, create-maintenance-window, register-task-with-maintenance-window)
A Systems Manager schedule for disruptive work: a cron or rate, a duration, a cutoff, targets and tasks such as patch installs. Lesson 37.15
managed instance (managed instances, describe-instance-information, PingStatus)
A machine whose SSM Agent has registered with Systems Manager: it needs the agent, an instance profile with AmazonSSMManagedInstanceCore, and a path to the SSM endpoints. Lesson 37.12
managed renewal (RenewalEligibility, ACM Certificate Approaching Expiration)
ACM renewing an in-use certificate before it expires, by checking the same validation records again. Lesson 37.29
operation preferences (MaxConcurrentCount, FailureToleranceCount, --operation-preferences)
How a StackSet operation walks its targets: how many at once and how many failures before it stops - the blast radius of a bad template. Lesson 37.10
OpsCenter (OpsItem, OpsItems, create-ops-item)
The Systems Manager work-item queue: OpsItems raised by alarms, Config, Security Hub or by hand, with the related resources and the runbooks that fix them. Lesson 37.12
Parameter Store (SSM Parameter Store, put-parameter, get-parameter)
Systems Manager's store for configuration values in a hierarchy (/shop/prod/db/host), free in the standard tier. Lesson 37.12
password policy (IAM) (account password policy, update-account-password-policy, IAM_PASSWORD_POLICY)
The account-wide rules for IAM users' console passwords: length, character classes, reuse, maximum age. An account without one accepts any password AWS allows. Lesson 37.24
patch baseline (patch baselines, create-patch-baseline, AWS-UbuntuDefaultPatchBaseline)
The rule that says which patches are approved for an operating system: approval rules by priority or severity, plus approved and rejected patches. Lesson 37.15
patch group (PatchGroup, Patch Group, register-patch-baseline-for-patch-group)
The tag (PatchGroup or Patch Group) that links instances to a patch baseline; instances without one use the operating system's default baseline. Lesson 37.15
Patch Manager (AWS-RunPatchBaseline, patch compliance)
The Systems Manager feature that scans instances for missing patches and installs them against a patch baseline. Lesson 37.15
physical ID (PhysicalResourceId, physical resource ID)
What CloudFormation actually created for a logical ID: the bucket name, the instance ID, the log group name. Lesson 37.1
pseudo parameter (pseudo parameters, AWS::StackName, AWS::Region)
A value CloudFormation provides in every template, such as AWS::StackName, AWS::Region and AWS::AccountId. Lesson 37.1
rate control (--max-concurrency, --max-errors, --target-parameter-name)
Running a command or runbook against targets a few at a time (max-concurrency) and stopping after too many failures (max-errors). Lesson 37.12
recovery window (--recovery-window-in-days, restore-secret, --force-delete-without-recovery)
The 7 to 30 days a deleted secret waits before it is gone; restore-secret brings it back until then. Lesson 37.29
remediation (Config) (remediation configuration, put-remediation-configurations, start-remediation-execution)
An SSM Automation runbook attached to a Config rule that fixes non-compliant resources, automatically or when someone starts it. Lesson 37.24
replacement (CloudFormation) (Replacement True, RequiresRecreation, Replacement Conditional)
An update that creates a new resource and deletes the old one, because a property such as a name cannot change in place. A new physical ID - and for data stores, the data stays with the old one. Lesson 37.4
revoke older sessions (AWSRevokeOlderSessions, aws:TokenIssueTime, Revoke active sessions)
A Deny-everything policy on a role with DateLessThan aws:TokenIssueTime: every temporary credential issued before that time stops working, new ones still work. Lesson 37.33
rollback (CloudFormation) (ROLLBACK_COMPLETE, UPDATE_ROLLBACK_COMPLETE, automatic rollback)
What CloudFormation does when a step fails: it undoes the operation. A failed create ends in ROLLBACK_COMPLETE (delete and recreate); a failed update in UPDATE_ROLLBACK_COMPLETE (healthy). Lesson 37.7
S3 Event Notifications (bucket notifications, put-bucket-notification-configuration)
The bucket-level way to react to object events, sending them to SNS, SQS or Lambda; EventBridge can receive the same events and filter them with patterns. Lesson 37.19
Scan and Install (Operation=Scan, Operation=Install, RebootIfNeeded)
The two operations of AWS-RunPatchBaseline: Scan reports what is missing, Install installs it and, with RebootIfNeeded, reboots when a package needs it. Lesson 37.15
ScheduleTimezone (--schedule-timezone, schedule time zone)
The IANA time zone a maintenance window's cron is read in. Without it the cron is UTC, and the window moves against local time with daylight saving. Lesson 37.15
secret rotation (rotate-secret, rotation function, createSecret)
Changing a secret on a schedule with a Lambda function in four steps - create the new value, set it in the database, test it, move AWSCURRENT - so a failure never moves the current value. Lesson 37.29
Secrets Manager (AWS Secrets Manager, aws secretsmanager, get-secret-value)
The AWS service for credentials: secrets with versions, staging labels, resource policies, replication and scheduled rotation. Lesson 37.29
SecureString (--with-decryption)
A Parameter Store parameter encrypted with KMS; reading it in plain text needs --with-decryption and kms:Decrypt on the key. Lesson 37.29
Security Hub (AWS Security Hub, aws securityhub, security control)
The AWS service that checks configuration against standards (FSBP, CIS) using Config, and collects every security service's findings in one format (ASFF) with a workflow status. Lesson 37.33
service-managed StackSet (self-managed StackSet, SERVICE_MANAGED, AWSCloudFormationStackSetExecutionRole)
A StackSet that uses AWS Organizations to create its roles and target OUs (service-managed), as opposed to one that needs the administration and execution roles created by hand (self-managed). Lesson 37.10
SSM document (Command document, Automation document, create-document)
The definition Systems Manager runs: a Command document runs on instances through the agent; an Automation document (a runbook) runs in the service and calls AWS APIs. Lesson 37.12
stack (CloudFormation) (CloudFormation stack, stacks (CloudFormation), create-stack)
The set of resources one template created, managed together: created in dependency order, updated together, rolled back together. Lesson 37.1
stack events (describe-stack-events, stack event)
The log of every step of every resource in a stack, newest first. The first *_FAILED event that is not a cancellation is the cause of a failure. Lesson 37.1
stack instance (stack instances, create-stack-instances, CURRENT)
One account-and-Region target of a StackSet, backed by an ordinary stack. Its status says whether it matches the StackSet (CURRENT), its last operation failed (OUTDATED), or it cannot be managed (INOPERABLE). Lesson 37.10
stack policy (set-stack-policy, Update:Replace, Update:Delete)
A JSON document on a stack that allows or denies update actions (Update:Modify, Update:Replace, Update:Delete) on its resources. It only applies to stack updates. Lesson 37.4
StackSet (StackSets, stack set, create-stack-set)
One CloudFormation template deployed as stack instances to many accounts and Regions, managed as one unit. Lesson 37.10
staging label (staging labels, AWSCURRENT, AWSPREVIOUS)
A label on a secret version: AWSCURRENT is what get-secret-value returns, AWSPREVIOUS the one before, AWSPENDING the new one during a rotation. Lesson 37.29
State Manager (association, associations, create-association)
The Systems Manager feature that keeps a configuration true: an association applies a document to targets when they appear and again on a schedule, and reports compliance. Lesson 37.15
Systems Manager (AWS Systems Manager, SSM)
The AWS operations toolbox for managed instances and the account: Run Command, Automation runbooks, Patch Manager, State Manager, maintenance windows, Inventory, OpsCenter, Parameter Store. Lesson 37.12
Template format error (validate-template, Unresolved resource dependencies)
The error CloudFormation gives before creating anything when a template does not parse or a Ref points at nothing. validate-template finds it; it does not prove the stack will create. Lesson 37.1
termination protection (update-termination-protection, enable-termination-protection)
A stack setting that makes delete-stack fail until it is turned off. Lesson 37.4
Trusted Advisor (AWS Trusted Advisor, aws support, describe-trusted-advisor-checks)
AWS checks for cost, security, fault tolerance, performance and service limits; through the API it needs a Business support plan or higher, and only us-east-1. Lesson 37.33
universal target (aws-sdk target, arn:aws:scheduler:::aws-sdk)
An EventBridge Scheduler target that calls an AWS API directly, such as arn:aws:scheduler:::aws-sdk:ec2:stopInstances, with the schedule's Input as the request. Lesson 37.19
UPDATE_ROLLBACK_FAILED (continue-update-rollback, --resources-to-skip)
The state of a stack whose rollback could not finish, usually because a resource was changed or deleted outside CloudFormation. It refuses updates until continue-update-rollback succeeds. Lesson 37.7
workflow status (NEW, NOTIFIED, RESOLVED)
Where a Security Hub finding stands in your process: NEW, NOTIFIED, RESOLVED, or SUPPRESSED for an accepted risk (with a note). Lesson 37.33