Per-Second Billing Clarification

0

Hi All,

I'm trying to estimate hosting costs for a high intensity, frequent, short burst application.

I would like to know is if the per-second billing is calculated per-second with a minimum monthly or daily charge of 60 seconds, or calculated per-second with a minimum interval of 60 seconds.
I.e. if the application uses all the system resources for 30 seconds every minute, will the charge be for the 30 seconds or for the 60 second period?

Thanks in advance,
Stephen

질문됨 5년 전615회 조회
2개 답변
0

Hi,
Hopefully, I am following your question correctly. With ElasticBeanstalk you will be paying for the underlying EC2 and storage resources. For EC2 CPU utilization, it does not matter if you are running at capacity versus idle, you will still be paying the per second billing charges. There is no monthly minimum or daily charge. For example, if you have an EC2 instance running for 2 seconds at capacity, and the rest of the time the EC2 instance is idle for 1 hour, and the other EC2 instance, you have running at full capacity for 1 hour, you will still be charged the same amount.

Perhaps, you were thinking about running your application in AWS Lambda? Then you only have to pay for the CPU that you use. However, at some point there will be an inflection point where it will be cheaper with running with an EC2 instance if your application is running more often than being idle.
Hope that helps,
-randy

답변함 5년 전
0

Hi Randy,

Thanks for the information, I think I might be getting confused with the wording on https://aws.amazon.com/ec2/pricing/on-demand/ : "With On-Demand instances, you pay for compute capacity by per hour or per second depending on which instances you run."

i have just received this response from AWS Support, which supports per second billing of instances:
"
I have confirmed that EC2 usage is billed on one second increments, with a minimum of 60 seconds. I also found that it takes cost of unused minutes and seconds in an hour off of the bill, so you can focus on improving your applications instead of maximizing usage to the hour.
"
Using the cost calculator ( https://calculator.s3.amazonaws.com/index.html ) a 50% utilization of an EC2 instance costs half that of a 100% utilization, this doesn't track with your example unless billing was calculated per hour.

I guess the easiest way is going to be to launch it and see.

Cheers,
Stephen

Edited by: StephenWNZ on Sep 22, 2019 2:38 PM

답변함 5년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠