Processing cost of a Python script

0

I'm running some python scripts that take many hours... How will I be charged for this? Thanks

質問済み 1年前440ビュー
2回答
0

Where do you run Python?
If you are running on EC2, you will incur EC2 startup time and data communication charges.
In the case of Lambda, the fee is based on the time the script is executed.

https://aws.amazon.com/ec2/pricing/?nc1=h_ls
https://aws.amazon.com/lambda/pricing/?nc1=h_ls

profile picture
エキスパート
回答済み 1年前
0

In addition to @Riku

EC2 Instances: If you are running your Python script on Amazon EC2 instances, you will be charged for the usage of those instances. The cost will depend on the instance type, the duration for which the instances are running, and any additional resources you use, such as storage or data transfer. EC2 pricing is based on an hourly rate for the instance type you choose.

AWS Lambda: If you use AWS Lambda to run your Python script, you are billed based on the number of requests made to your function and the duration of the function's execution. AWS Lambda pricing is based on the number of invocations, the total duration (calculated in milliseconds), and the amount of memory allocated to your function.

AWS Batch: If you are using AWS Batch to run your Python script, you will be billed for the compute resources used by your batch jobs. The cost is calculated based on the number and type of instances used, the duration of the instances, and any additional resources consumed.

AWS Glue: If you are using AWS Glue to run your Python script for data processing or ETL (extract, transform, load) tasks, you will be billed based on the number of Data Processing Units (DPUs) consumed during the job execution. AWS Glue pricing is based on the number of DPUs used per hour.

profile picture
エキスパート
回答済み 1年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ