Interview Prep/Ansible/Architecture Decisions and Tool Comparisons

When would you use AWS Systems Manager instead of, or together with, Ansible?

IntermediateProductionArchitecture Decisions and Tool Comparisons
Answer

SSM is attractive when instances have no inbound SSH, or when the AWS-native team owns patching.

  • Patch Manager / Maintenance Windows: managed OS patching with compliance reports.
  • Run Command / State Manager: run commands or desired-state documents across tagged instances.
  • Ansible inside SSM: the AWS-ApplyAnsiblePlaybooks document runs playbooks from S3 or GitHub on the instance itself.
  • Ansible over SSM: the amazon.aws.aws_ssm connection plugin lets normal playbooks reach instances without SSH.

Our usual split: SSM for access and AWS-native patch compliance, Ansible for application config and orchestration. Avoid having both tools manage the same files, or they will fight over them.

All Ansible questions Roadmap: Ansible

More on Architecture Decisions and Tool Comparisons