In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
Today, I will talk to you about how to correctly configure the instance scale in optimizing the cost of using AWS. Many people may not know much about it. In order to make you understand better, the editor has summarized the following contents for you. I hope you can get something from this article.
Configure the instance size correctly.
In the process of using AWS, how to configure the instance size / size correctly? First of all, when using computing resources, the instance size and scale should match the business; secondly, combined with different business scenarios, choose the appropriate use of instances, so as to maximize the use cost of AWS.
-part 2: correctly configure the size of the instance-
-- some simple principles of calculation and selection--
When selecting an instance, the basic principle is to only meet the business capacity requirements, and there is no need for excessive configuration, resulting in a waste of cost, because the instance configuration can be adjusted at any time and can be adjusted when the configuration is not enough.
How can you correctly configure the size of the instance and use Amazon CloudWatch or some similar monitoring indicators to observe the business utilization and determine the downsizing?
In addition, if the demand is too small, consider the container. AWS has services corresponding to the container.
There is also the serverless computing architecture promoted by AWS, AWS Lambda, which does not need to purchase instances, but directly uploads the corresponding scripts in Lambda to complete the corresponding functions, charging only a few requests, duration and other fees, saving a lot of instance fees. For example, you can upload a script to perform the corresponding action when the user uploads to the S3 file successfully, and so on. There is a lot of content in this section. Students who are interested can focus on the content of AWS Lambda service.
-- typical usage of computing examples--
For computing resource selection, AWS divides instances into computing / memory / general / storage / burst performance and other types according to the load type. Different instance series correspond to different optimization, as well as the proportion of memory corresponding to CPU virtual cores, and so on. Users can choose according to their actual computing needs.
The following are typical uses of some computing examples:
For some stable demand, you can use RI (reserved instances), such as DB, account server, etc., so that you can enjoy a discount of up to 75%.
For some variable but predictable requirements, such as some front-end WEB servers in the business, according to the number of servers required by the load situation, AUTO SCALING services can be used to enable more instances to support the business load when the load is high, and automatically reduce the number of instances when the load is loaded to achieve the goal of both meeting the business load and saving costs.
In addition, for some internal environments such as DEV/TEST, cost savings can be turned off at any time when not in use, because the cost will be calculated when it is turned on, and it can be turned on when needed.
For some special temporary requirements, you can use Spot instances, which can save up to 90% of the cost, which is discussed in detail later.
At the end of this article, I would like to provide an example of cost savings by adjusting the instance type after monitoring the waste of computing resources through CloudWatch to help you understand the topic of this article and correctly configure the size / scale of the instance:
The resource is configured using m4.4xlargeper $1.72 per hour.
After the service is launched, through monitoring indicators such as cloudwatch, it is found that the load of the service is very low.
Adjust to m4.large instance according to the load, and the price is $0.215 / hour.
Observe the performance again, and complete the adjustment if there is no exception.
Final cost savings of 87%
After reading the above, do you have any further understanding of how to properly configure instance size in optimizing AWS usage costs? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.