You have a set of EC2 Instances running behind an ELB.
These EC2 Instances are launched via an Autoscaling Group.
There is a requirement to ensure that the logs from the server are stored in a durable storage layer.
This is so that log data can be analyzed by staff in the future.
Which of the following steps can be implemented to ensure this requirement is fulfilled.
Choose 2 answers from the options given below.
Click on the arrows to vote for the correct answer
A. B. C. D.To fulfill the requirement of storing logs from EC2 instances running behind an ELB in a durable storage layer, the following steps can be implemented:
This option suggests creating a scheduled task on each web server to rotate and transmit the logs to an Amazon S3 bucket. Amazon S3 is an object storage service that offers high durability, availability, and scalability for storing and retrieving any amount of data from anywhere. With this option, the logs will be stored in a durable storage layer that can be easily accessed and analyzed by staff in the future.
This option suggests using AWS Data Pipeline to move log data from the Amazon S3 bucket to Amazon Redshift for processing and running reports. Amazon Redshift is a fully managed data warehouse service that provides fast querying and analysis of data using SQL and Business Intelligence tools. With this option, staff can easily access and analyze the log data stored in Amazon Redshift, making it a suitable solution for analyzing and reporting on large volumes of log data.
Option C suggests creating a scheduled task to transmit logs to Amazon Glacier. Amazon Glacier is a low-cost storage service that provides long-term backup and archive storage for data. While this option provides durability, it is not a suitable solution for easily accessing and analyzing the log data stored in Amazon Glacier.
Option D suggests using AWS Data Pipeline to move log data to Amazon SQS for processing and running reports. Amazon SQS is a message queue service that enables decoupling and scaling of microservices, distributed systems, and serverless applications. While this option provides scalability and reliability, it is not a suitable solution for storing and accessing log data.
In conclusion, the best options to ensure that the logs from EC2 instances running behind an ELB are stored in a durable storage layer are Option A and Option B. Option A provides a simple and cost-effective solution for storing logs, while Option B provides a scalable and powerful solution for analyzing and reporting on large volumes of log data.