From the course: Applying Cost Optimization Tools to Your AWS Workloads

Unlock the full course today

Join today to access over 24,800 courses taught by industry experts.

Right-sizing EC2 instances

Right-sizing EC2 instances

- [Instructor] This part of the class is looking at giving more detail as to the resources, which cost us a lot of money if they're set up improperly. So we have to define our workload, and then we have to define the instances that match up with our workload. And there are hundreds of choices. Amazon has a ratio in their architecture, based on the CPU power that you select and the associated RAM. It's typically a one to four ratio to ensure that the CPU power has enough RAM to do the number crunching in RAM. The EBS volumes that you select might be too fast, might be too slow, whether it's a g2, a g3, SSD drive, or whether you just need a hard disk drive or a certain amount of performance. All of these areas can be changed without losing any data. So I can resize an EC2 instance. I just shut it down, resize it, restart it back up. I can resize my EBS volumes with no loss of data anytime, hence the word elastic. Elastic EC2 instances can be changed without loss of data, and our demand…

Contents