A developer needs to write a shell script that runs on a local machine to automatically stop several Amazon EC2 instances every night. Which AWS tool is designed to support this type of command-line interaction and scripting?
- AAWS Management Console
- BAWS Software Development Kit (AWS SDK)
- AWS Command Line Interface (AWS CLI)Answer
- DAWS CloudFormation
Answer
AWS Command Line Interface (AWS CLI)
The AWS Command Line Interface (AWS CLI) is the correct choice because it is a unified tool that allows users to interact with and control AWS services via command-line commands and scripts, making it ideal for automating task execution from a local shell script.
Step-by-Step Solution
Key Concept
Command-line automation using the AWS CLI
Estimated Time:45s