A company's system administration team needs to implement two specific tasks on AWS:
1. Define the architecture and resource settings of a new Virtual Private Cloud (VPC) using version-controlled, reusable templates.
2. Automate a nightly task that scripts the upload of local backup logs from an on-premises administrative server to an Amazon S3 bucket.
Which of the following AWS deployment and operating methods are best suited for these respective tasks? (Select TWO.)
- AWS CloudFormation to define and deploy the Virtual Private Cloud (VPC) infrastructure using templatesAnswer
- AWS Command Line Interface (AWS CLI) to run scripts that upload files from the on-premises serverAnswer
- CAWS Elastic Beanstalk to define the Virtual Private Cloud (VPC) infrastructure via templates
- DAWS CloudTrail to automate the scripting and execution of the nightly file uploads
- EAmazon EBS to directly store and sync the on-premises backup logs over the internet
Answer
AWS CloudFormation is used to define and deploy infrastructure as code, while the AWS CLI is used to write scripts to automate tasks such as file uploads.
AWS CloudFormation is the service designed to model and provision AWS infrastructure deployments using templates. The AWS CLI allows administrators to control services from a command-line shell and automate tasks using custom scripts, making it ideal for automating file transfers from on-premises environments.
Step-by-Step Solution
Key Concept
Deployment and operating methods in AWS, including AWS CloudFormation and AWS CLI