0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

lambdaのメモリに対する割当コア数の対応表

Posted at

結論

メモリ CPU
128 2
256 2
512 2
1024 2
2048 2
3072 3
4096 3
5120 3
6144 4
7168 5
8192 5
9216 6
10240 6

調査方法

条件

調査日:2024年1月3日
アーキテクチャ:x86_64
ランタイム:Python 3.13
コード

import multiprocessing

def lambda_handler(event, context):

    # TODO implement
    return {
        'statusCode': 200,
        'body': multiprocessing.cpu_count()
    }

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?