A company is running an SAP S/4HANA system on AWS. During a planned maintenance window, the operations team needs to apply an SAP kernel patch that requires stopping all SAP instances. Which AWS service can be used to orchestrate the stop/start sequence of multiple EC2 instances and ensure proper dependencies are maintained?
Systems Manager Automation can orchestrate stop/start with dependencies and error handling.
Why this answer
Option D is correct because AWS Systems Manager Automation can run scripts and workflows (e.g., stop instances in order) with error handling. Option A is wrong because AWS CloudFormation is for infrastructure provisioning, not ad-hoc operations. Option B is wrong because Amazon EC2 RunCommand is for individual commands, not complex orchestration.
Option C is wrong because AWS Step Functions can orchestrate but is more suited for serverless workflows; it can call Lambda but not directly manage EC2 stop/start without custom code.