You can also check our Choosing an AWS Region article describing the factors to consider to define the AWS region to use. So it’s worth thinking about moving your instances to a region with lower prices. Some regions are much expensive than others. You can also test different values to understand how parameters affect the EC2 pricing. And also provide a monthly cost estimation. The tool will automatically show the best instance for these 2 parameters. Then enter the minimum vCPUs and Memory you need. Then go to AWS Calculator, and create a cost estimation for Amazon EC2. But this could be optimized according to the use case.Ī good approach is to start defining the quantity of vCPUs and RAM that your application needs. Many companies use “T” or “M” families for all their applications. They have specific characteristics that allow them to read or write large amounts of data on local storage. “I”, “D”, and “H” families are storage-optimized.They use hardware accelerators to perform functions (like floating point calculations or graphics processing) faster. “P” and “G” families are the GPU optimized.Their Memory-to-vCPU ratio is between 7.6 and 30. In contrast with “C” families, they need higher amounts of memory. “R”, “X”, and “Z” families are memory-optimized.For example, a c5.large instance has 4GiB RAM for 2 vCPU. And they are used for applications that need high CPU usage. For example, an m5.large has 8 GiB of memory for 2 vCPUs. They are for intended general purposes applications. Otherwise, you can choose any of these other families below according to your use case: Use other instance familiesįamilies “T” and “A” are usually the most economical. Standard applications (like Web Servers, or FTP server) can run on ARM normally. When you choose the AMI for a new EC2, you will find the Operating Systems Available.Īlso, your application should be able to run on this ARM-based processor. For example, Amazon Linux 2, Red Hat Linux, or Suse Linux. Note that you will have to use an operating system compiled for ARM. So it’s worth considering switching to these instance family. This family of instances is even less expensive than “A” families. They have lower power consumption, and also lower costs than traditional x86 processors. These are used for smartphones, laptops, and tablet computers. The “A” family of instances is based on ARM processors. But using them depends on your application requirements. So using switching to a “T” family instances (for example t3a.small or t3a.medium) will have cost advantages. Otherwise, they will reduce their performance to their baseline performance (for non-unlimited mode), or incur additional costs (for unlimited mode). And the cost is very low in comparison with other instances.īut keep in mind that these processors can’t have a high CPU usage for long periods. This family of instances is ideal for a website with low traffic. For example, when your CPU usage is normally low, but with high CPU spikes for short periods of time. The “T” family is one of the most used in AWS and the first you should consider. Also that Strategies to reduce Amazon EBS Costs article describes similar approaches for EBS.įirst, let’s talk about EC2 instance families. And you should use the strategies that work best for you. Note that each strategy has to be analyzed in terms of the requirements of your services. We will mention here some strategies you should consider to reduce the monthly costs of your Amazon EC2 instances. So choosing the most cost-effective instance might not be simple. And your instances could be deployed in several ways to achieve similar results. But there are many different options to choose from. This article is part of our How to reduce AWS Costs series.Īmazon EC2 is a core product of Amazon Web Services. In this article, we will give describe some strategies to reduce Amazon EC2 costs.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |