[お詫びと訂正] Lambda Managed InstancesでGPUインスタンスは利用できませんでした(2025/12/9 時点)
はじめに
皆様こんにちは、あかいけです。
先日私はre:Growth 2025にてLambda Managed InstancesとLambda Durable Functionsの話で登壇させていただきました。
その中で 「Lambda Managed Instancesで遂にLambdaでもGPUが使えるぞ!わっしょい!」 というお話をしました。
が、よくよく調査したところ、2025年12月9日時点ではLambda Managed InstancesでGPUインスタンスは利用できない ことが判明しました。
というわけで、お詫びと訂正、並びに確認方法をブログにします。
ドキュメントで確認する
まずLambda Managed Instancesで利用できるインスタンスタイプは、Lambdaの料金ページにて確認ができます。
例としてバージニアリージョン、および東京リージョンで記載されているインスタンスタイプは以下の通りです。
- バージニアリージョン
- 全483種類、そのうちインスタンスタイプは61種類
バージニアリージョンで利用可能なインスタンスタイプ一覧
m8g
m8gd
m7a
m7g
m7gd
m7i
m6a
m6g
m6gd
m6i
m6id
m6idn
m6in
m5
m5a
m5ad
m5d
m5dn
m5n
m5zn
c8g
c8gd
c8gn
c7a
c7g
c7gd
c7gn
c7i
c6a
c6g
c6gd
c6gn
c6i
c6id
c6in
c5
c5a
c5ad
c5d
c5n
r8g
r8gd
r7a
r7g
r7gd
r7i
r7iz
r6a
r6g
r6gd
r6i
r6id
r6idn
r6in
r5
r5a
r5ad
r5b
r5d
r5dn
r5n
- 東京リージョン
- 全468種類、そのうちインスタンスタイプは59種類
東京リージョンで利用可能なインスタンスタイプ一覧
m8g
m8gd
m7a
m7g
m7gd
m7i
m6a
m6g
m6gd
m6i
m6id
m6idn
m6in
m5
m5a
m5ad
m5d
m5dn
m5n
m5zn
c8g
c8gd
c7a
c7g
c7gd
c7gn
c7i
c6a
c6g
c6gd
c6gn
c6i
c6id
c6in
c5
c5a
c5d
c5n
r8g
r8gd
r7a
r7g
r7gd
r7i
r7iz
r6a
r6g
r6gd
r6i
r6id
r6idn
r6in
r5
r5a
r5ad
r5b
r5d
r5dn
r5n
確かに上記では、以下公式ドキュメントに記載のGPUインスタンス(g系、p系など)は含まれていませんね…。
なお全てのリージョンは確認していませんが、バージニアリージョンが一番対応インスタンスタイプが多かったため、こちらにGPUインスタンスがなければ他のリージョンにもないと判断することとしました。
AWS CLIで確認してみる
諦めきれないので、念のためAWS CLIでも確認してみます。
確認対象はインスタンスタイプが一番多いバージニアリージョンとします。
まずはキャパシティープロバイダーで指定するリソースを環境変数に埋め込んでおいて、
SubnetId=subnet-XXXXXXXXXXXXXXXXX
SecurityGroupId=sg-XXXXXXXXXXXXXXXXX
CapacityProviderOperatorRoleArn=arn:aws:iam::XXXXXXXXXXXX:role/lambda-managed-instance-role
あとは以下のコマンドを実行します。
コマンドの内容は以下の通りです。
aws ec2 describe-instance-types- GPUインスタンスのアーキテクチャ(x86_64 or arm64)とインスタンスタイプ名(例: g6.xlarge)をフィルタリング
aws lambda create-capacity-provider- アーキテクチャとインスタンスタイプをもとにキャパシティープロバイダーを作成
aws ec2 describe-instance-types \
--region us-east-1 \
--query "InstanceTypes[?GpuInfo!=null].[InstanceType, ProcessorInfo.SupportedArchitectures[0]]" \
--output text | sort | while read instance_type arch; do
aws lambda create-capacity-provider \
--region us-east-1 \
--capacity-provider-name "test-${instance_type//./-}" \
--vpc-config SubnetIds=$SubnetId,SecurityGroupIds=$SecurityGroupId \
--permissions-config CapacityProviderOperatorRoleArn=$CapacityProviderOperatorRoleArn \
--instance-requirements "Architectures=$arch,AllowedInstanceTypes=$instance_type" \
--capacity-provider-scaling-config ScalingMode=Auto \
2>&1
sleep 1
done
結果としては以下の通りで、
「全てのGPUインスタンスでキャパシティープロバイダーが作成できない」 = 「該当のインスタンスタイプはLambda Managed Instancesで利用できない」 ことがわかります。
コマンド実行結果
An error occurred (InvalidParameterValueException) when calling the CreateCapacityProvider operation: The specified instance type(s) dl1.24xlarge aren't supported for x86_64 architecture. Choose supported instance types for this architecture.
An error occurred (InvalidParameterValueException) when calling the CreateCapacityProvider operation: The specified instance type(s) g4ad.16xlarge aren't supported for x86_64 architecture. Choose supported instance types for this architecture.
An error occurred (InvalidParameterValueException) when calling the CreateCapacityProvider operation: The specified instance type(s) g4ad.2xlarge aren't supported for x86_64 architecture. Choose supported instance types for this architecture.
An error occurred (InvalidParameterValueException) when calling the CreateCapacityProvider operation: The specified instance type(s) g4ad.4xlarge aren't supported for x86_64 architecture. Choose supported instance types for this architecture.
An error occurred (InvalidParameterValueException) when calling the CreateCapacityProvider operation: The specified instance type(s) g4ad.8xlarge aren't supported for x86_64 architecture. Choose supported instance types for this architecture.
An error occurred (InvalidParameterValueException) when calling the CreateCapacityProvider operation: The specified instance type(s) g4ad.xlarge aren't supported for x86_64 architecture. Choose supported instance types for this architecture.
An error occurred (InvalidParameterValueException) when calling the CreateCapacityProvider operation: The specified instance type(s) g4dn.12xlarge aren't supported for x86_64 architecture. Choose supported instance types for this architecture.
An error occurred (InvalidParameterValueException) when calling the CreateCapacityProvider operation: The specified instance type(s) g4dn.16xlarge aren't supported for x86_64 architecture. Choose supported instance types for this architecture.
An error occurred (InvalidParameterValueException) when calling the CreateCapacityProvider operation: The specified instance type(s) g4dn.2xlarge aren't supported for x86_64 architecture. Choose supported instance types for this architecture.
An error occurred (InvalidParameterValueException) when calling the CreateCapacityProvider operation: The specified instance type(s) g4dn.4xlarge aren't supported for x86_64 architecture. Choose supported instance types for this architecture.
An error occurred (InvalidParameterValueException) when calling the CreateCapacityProvider operation: The specified instance type(s) g4dn.8xlarge aren't supported for x86_64 architecture. Choose supported instance types for this architecture.
An error occurred (InvalidParameterValueException) when calling the CreateCapacityProvider operation: The specified instance type(s) g4dn.metal aren't supported for x86_64 architecture. Choose supported instance types for this architecture.
An error occurred (InvalidParameterValueException) when calling the CreateCapacityProvider operation: The specified instance type(s) g4dn.xlarge aren't supported for x86_64 architecture. Choose supported instance types for this architecture.
An error occurred (InvalidParameterValueException) when calling the CreateCapacityProvider operation: The specified instance type(s) g5.12xlarge aren't supported for x86_64 architecture. Choose supported instance types for this architecture.
An error occurred (InvalidParameterValueException) when calling the CreateCapacityProvider operation: The specified instance type(s) g5.16xlarge aren't supported for x86_64 architecture. Choose supported instance types for this architecture.
An error occurred (InvalidParameterValueException) when calling the CreateCapacityProvider operation: The specified instance type(s) g5.24xlarge aren't supported for x86_64 architecture. Choose supported instance types for this architecture.
An error occurred (InvalidParameterValueException) when calling the CreateCapacityProvider operation: The specified instance type(s) g5.2xlarge aren't supported for x86_64 architecture. Choose supported instance types for this architecture.
An error occurred (InvalidParameterValueException) when calling the CreateCapacityProvider operation: The specified instance type(s) g5.48xlarge aren't supported for x86_64 architecture. Choose supported instance types for this architecture.
An error occurred (InvalidParameterValueException) when calling the CreateCapacityProvider operation: The specified instance type(s) g5.4xlarge aren't supported for x86_64 architecture. Choose supported instance types for this architecture.
An error occurred (InvalidParameterValueException) when calling the CreateCapacityProvider operation: The specified instance type(s) g5.8xlarge aren't supported for x86_64 architecture. Choose supported instance types for this architecture.
An error occurred (InvalidParameterValueException) when calling the CreateCapacityProvider operation: The specified instance type(s) g5.xlarge aren't supported for x86_64 architecture. Choose supported instance types for this architecture.
An error occurred (InvalidParameterValueException) when calling the CreateCapacityProvider operation: The specified instance type(s) g5g.16xlarge aren't supported for arm64 architecture. Choose supported instance types for this architecture.
An error occurred (InvalidParameterValueException) when calling the CreateCapacityProvider operation: The specified instance type(s) g5g.2xlarge aren't supported for arm64 architecture. Choose supported instance types for this architecture.
An error occurred (InvalidParameterValueException) when calling the CreateCapacityProvider operation: The specified instance type(s) g5g.4xlarge aren't supported for arm64 architecture. Choose supported instance types for this architecture.
An error occurred (InvalidParameterValueException) when calling the CreateCapacityProvider operation: The specified instance type(s) g5g.8xlarge aren't supported for arm64 architecture. Choose supported instance types for this architecture.
An error occurred (InvalidParameterValueException) when calling the CreateCapacityProvider operation: The specified instance type(s) g5g.metal aren't supported for arm64 architecture. Choose supported instance types for this architecture.
An error occurred (InvalidParameterValueException) when calling the CreateCapacityProvider operation: The specified instance type(s) g5g.xlarge aren't supported for arm64 architecture. Choose supported instance types for this architecture.
An error occurred (InvalidParameterValueException) when calling the CreateCapacityProvider operation: The specified instance type(s) g6.12xlarge aren't supported for x86_64 architecture. Choose supported instance types for this architecture.
An error occurred (InvalidParameterValueException) when calling the CreateCapacityProvider operation: The specified instance type(s) g6.16xlarge aren't supported for x86_64 architecture. Choose supported instance types for this architecture.
An error occurred (InvalidParameterValueException) when calling the CreateCapacityProvider operation: The specified instance type(s) g6.24xlarge aren't supported for x86_64 architecture. Choose supported instance types for this architecture.
An error occurred (InvalidParameterValueException) when calling the CreateCapacityProvider operation: The specified instance type(s) g6.2xlarge aren't supported for x86_64 architecture. Choose supported instance types for this architecture.
An error occurred (InvalidParameterValueException) when calling the CreateCapacityProvider operation: The specified instance type(s) g6.48xlarge aren't supported for x86_64 architecture. Choose supported instance types for this architecture.
An error occurred (InvalidParameterValueException) when calling the CreateCapacityProvider operation: The specified instance type(s) g6.4xlarge aren't supported for x86_64 architecture. Choose supported instance types for this architecture.
An error occurred (InvalidParameterValueException) when calling the CreateCapacityProvider operation: The specified instance type(s) g6.8xlarge aren't supported for x86_64 architecture. Choose supported instance types for this architecture.
An error occurred (InvalidParameterValueException) when calling the CreateCapacityProvider operation: The specified instance type(s) g6.xlarge aren't supported for x86_64 architecture. Choose supported instance types for this architecture.
An error occurred (InvalidParameterValueException) when calling the CreateCapacityProvider operation: The specified instance type(s) g6e.12xlarge aren't supported for x86_64 architecture. Choose supported instance types for this architecture.
An error occurred (InvalidParameterValueException) when calling the CreateCapacityProvider operation: The specified instance type(s) g6e.16xlarge aren't supported for x86_64 architecture. Choose supported instance types for this architecture.
An error occurred (InvalidParameterValueException) when calling the CreateCapacityProvider operation: The specified instance type(s) g6e.24xlarge aren't supported for x86_64 architecture. Choose supported instance types for this architecture.
An error occurred (InvalidParameterValueException) when calling the CreateCapacityProvider operation: The specified instance type(s) g6e.2xlarge aren't supported for x86_64 architecture. Choose supported instance types for this architecture.
An error occurred (InvalidParameterValueException) when calling the CreateCapacityProvider operation: The specified instance type(s) g6e.48xlarge aren't supported for x86_64 architecture. Choose supported instance types for this architecture.
An error occurred (InvalidParameterValueException) when calling the CreateCapacityProvider operation: The specified instance type(s) g6e.4xlarge aren't supported for x86_64 architecture. Choose supported instance types for this architecture.
An error occurred (InvalidParameterValueException) when calling the CreateCapacityProvider operation: The specified instance type(s) g6e.8xlarge aren't supported for x86_64 architecture. Choose supported instance types for this architecture.
An error occurred (InvalidParameterValueException) when calling the CreateCapacityProvider operation: The specified instance type(s) g6e.xlarge aren't supported for x86_64 architecture. Choose supported instance types for this architecture.
An error occurred (InvalidParameterValueException) when calling the CreateCapacityProvider operation: The specified instance type(s) g6f.2xlarge aren't supported for x86_64 architecture. Choose supported instance types for this architecture.
An error occurred (InvalidParameterValueException) when calling the CreateCapacityProvider operation: The specified instance type(s) g6f.4xlarge aren't supported for x86_64 architecture. Choose supported instance types for this architecture.
An error occurred (InvalidParameterValueException) when calling the CreateCapacityProvider operation: The specified instance type(s) g6f.large aren't supported for x86_64 architecture. Choose supported instance types for this architecture.
An error occurred (InvalidParameterValueException) when calling the CreateCapacityProvider operation: The specified instance type(s) g6f.xlarge aren't supported for x86_64 architecture. Choose supported instance types for this architecture.
An error occurred (InvalidParameterValueException) when calling the CreateCapacityProvider operation: The specified instance type(s) gr6.4xlarge aren't supported for x86_64 architecture. Choose supported instance types for this architecture.
An error occurred (InvalidParameterValueException) when calling the CreateCapacityProvider operation: The specified instance type(s) gr6.8xlarge aren't supported for x86_64 architecture. Choose supported instance types for this architecture.
An error occurred (InvalidParameterValueException) when calling the CreateCapacityProvider operation: The specified instance type(s) gr6f.4xlarge aren't supported for x86_64 architecture. Choose supported instance types for this architecture.
An error occurred (InvalidParameterValueException) when calling the CreateCapacityProvider operation: The specified instance type(s) p3.16xlarge aren't supported for x86_64 architecture. Choose supported instance types for this architecture.
An error occurred (InvalidParameterValueException) when calling the CreateCapacityProvider operation: The specified instance type(s) p3.2xlarge aren't supported for x86_64 architecture. Choose supported instance types for this architecture.
An error occurred (InvalidParameterValueException) when calling the CreateCapacityProvider operation: The specified instance type(s) p3.8xlarge aren't supported for x86_64 architecture. Choose supported instance types for this architecture.
An error occurred (InvalidParameterValueException) when calling the CreateCapacityProvider operation: The specified instance type(s) p3dn.24xlarge aren't supported for x86_64 architecture. Choose supported instance types for this architecture.
An error occurred (InvalidParameterValueException) when calling the CreateCapacityProvider operation: The specified instance type(s) p4d.24xlarge aren't supported for x86_64 architecture. Choose supported instance types for this architecture.
An error occurred (InvalidParameterValueException) when calling the CreateCapacityProvider operation: The specified instance type(s) p4de.24xlarge aren't supported for x86_64 architecture. Choose supported instance types for this architecture.
An error occurred (InvalidParameterValueException) when calling the CreateCapacityProvider operation: The specified instance type(s) p5.48xlarge aren't supported for x86_64 architecture. Choose supported instance types for this architecture.
An error occurred (InvalidParameterValueException) when calling the CreateCapacityProvider operation: The specified instance type(s) p5.4xlarge aren't supported for x86_64 architecture. Choose supported instance types for this architecture.
An error occurred (InvalidParameterValueException) when calling the CreateCapacityProvider operation: The specified instance type(s) p5en.48xlarge aren't supported for x86_64 architecture. Choose supported instance types for this architecture.
An error occurred (InvalidParameterValueException) when calling the CreateCapacityProvider operation: The specified instance type(s) p6-b200.48xlarge aren't supported for x86_64 architecture. Choose supported instance types for this architecture.
念のためGPUインスタンスに限定するフィルタリングを外して実行すると、
aws ec2 describe-instance-types \
--region us-east-1 \
--query "InstanceTypes[].[InstanceType, ProcessorInfo.SupportedArchitectures[0]]" \
--output text | sort | while read instance_type arch; do
aws lambda create-capacity-provider \
--region us-east-1 \
--capacity-provider-name "test-${instance_type//./-}" \
--vpc-config SubnetIds=$SubnetId,SecurityGroupIds=$SecurityGroupId \
--permissions-config CapacityProviderOperatorRoleArn=$CapacityProviderOperatorRoleArn \
--instance-requirements "Architectures=$arch,AllowedInstanceTypes=$instance_type" \
--capacity-provider-scaling-config ScalingMode=Auto \
2>&1
sleep 1
done
ちゃんと作成できるキャパシティープロバイダーもあるため、AWS CLIのコマンド自体に誤りはないことがわかります。
An error occurred (InvalidParameterValueException) when calling the CreateCapacityProvider operation: The operator role arn:aws:iam::XXXXXXXXXXXX:role/lambda-managed-instance-role doesn't have permission to perform ec2:RunInstances on the capacity provider. Grant the operator role ec2:RunInstances permission and try again.
An error occurred (InvalidParameterValueException) when calling the CreateCapacityProvider operation: The operator role arn:aws:iam::XXXXXXXXXXXX:role/lambda-managed-instance-role doesn't have permission to perform ec2:RunInstances on the capacity provider. Grant the operator role ec2:RunInstances permission and try again.
{
"CapacityProvider": {
"CapacityProviderArn": "arn:aws:lambda:us-east-1:XXXXXXXXXXXX:capacity-provider:test-c5-2xlarge",
"State": "Pending",
"VpcConfig": {
"SubnetIds": [
"subnet-XXXXXXXXXXXXXXXXX"
],
"SecurityGroupIds": [
"sg-XXXXXXXXXXXXXXXXX"
]
},
"PermissionsConfig": {
"CapacityProviderOperatorRoleArn": "arn:aws:iam::XXXXXXXXXXXX:role/lambda-managed-instance-role"
},
"InstanceRequirements": {
"Architectures": [
"x86_64"
],
"AllowedInstanceTypes": [
"c5.2xlarge"
]
},
"CapacityProviderScalingConfig": {
"ScalingMode": "Auto"
},
"LastModified": "2025-12-12T07:46:02.155592026Z"
}
}
さらに念のためマネジメントコンソールから確認すると、コマンドと同じエラーが出ることを確認できます。
以上の結果から、Lambda Managed Instancesでは現時点でGPUインスタンスが利用できないことがわかります。
The specified instance type(s) g6.xlarge aren't supported for x86_64 architecture. Choose supported instance types for this architecture.

さいごに
以上、2025年12月9日時点ではLambda Managed InstancesでGPUインスタンスは利用できないというお話でした。
登壇で堂々と誤った情報をお伝えしてしまい、申し訳ございませんでした…。
てっきりGPUインスタンスが使えると思い込んでいたのですが、
登壇後に料金ページやAWS CLIで確認したところ、m系・c系・r系の汎用インスタンスのみ対応していることがわかりました。
とはいえ、Lambda Managed Instancesは発表されたばかりの機能なので、今後GPUインスタンスにも対応する可能性は十分あると思います。
対応されたらまたブログを書きます!
この記事が勘違いさせてしまった方の参考になれば幸いです。









