Your team is planning to host a set of EC2 Instances that will host Memcached which will be used as the Cache for several applications.
As the IT admin, you need to provision the EC2 Instances.
Which of the following Instance type would you provision for the underlying EC2 Instance?
Click on the arrows to vote for the correct answer
A. B. C. D.Answer - B.
This is given in the AWS Documentation.
Because of what the documentation clearly mentions, all other options are invalid.
For more information on Memory-optimized Instances, please refer to the below URL-
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/memory-optimized-instances.htmlFor hosting Memcached, the Instance type that would be best suited is the Memory Optimized Instance type.
Memcached is an in-memory key-value store that is used for caching data in applications. This means that the data is stored in memory rather than on disk. Therefore, Memory Optimized Instance types, which are optimized for memory-intensive workloads, would be the most appropriate choice.
Memory Optimized Instance types have high memory-to-CPU ratios and are designed to support memory-intensive workloads such as database caching, in-memory analytics, and high-performance computing.
Compute Optimized Instance types, on the other hand, are designed for CPU-intensive workloads such as high-performance web servers and batch processing.
Storage Optimized Instance types are designed for workloads that require high sequential read and write access to large datasets.
General Purpose Instance types are designed for a variety of workloads and provide a balance of CPU, memory, and network resources. However, for memory-intensive workloads such as Memcached, Memory Optimized Instance types would be the most appropriate choice.