Skip to content

Commit dd5155d

Browse files
author
AWS
committed
Amazon Elastic Compute Cloud Update: Added support for using NitroTPM and UEFI Secure Boot on EC2 instances.
1 parent 49a4fae commit dd5155d

File tree

2 files changed

+84
-0
lines changed

2 files changed

+84
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon Elastic Compute Cloud",
4+
"contributor": "",
5+
"description": "Added support for using NitroTPM and UEFI Secure Boot on EC2 instances."
6+
}

services/ec2/src/main/resources/codegen-resources/service-2.json

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3706,6 +3706,16 @@
37063706
"output":{"shape":"GetInstanceTypesFromInstanceRequirementsResult"},
37073707
"documentation":"<p>Returns a list of instance types with the specified instance attributes. You can use the response to preview the instance types without launching instances. Note that the response does not consider capacity.</p> <p>When you specify multiple parameters, you get instance types that satisfy all of the specified parameters. If you specify multiple values for a parameter, you get instance types that satisfy any of the specified values.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-attribute-based-instance-type-selection.html#spotfleet-get-instance-types-from-instance-requirements\">Preview instance types with specified attributes</a>, <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-attribute-based-instance-type-selection.html\">Attribute-based instance type selection for EC2 Fleet</a>, <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-attribute-based-instance-type-selection.html\">Attribute-based instance type selection for Spot Fleet</a>, and <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-placement-score.html\">Spot placement score</a> in the <i>Amazon EC2 User Guide</i>, and <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-asg-instance-type-requirements.html\">Creating an Auto Scaling group using attribute-based instance type selection</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>"
37083708
},
3709+
"GetInstanceUefiData":{
3710+
"name":"GetInstanceUefiData",
3711+
"http":{
3712+
"method":"POST",
3713+
"requestUri":"/"
3714+
},
3715+
"input":{"shape":"GetInstanceUefiDataRequest"},
3716+
"output":{"shape":"GetInstanceUefiDataResult"},
3717+
"documentation":"<p>A binary representation of the UEFI variable store. Only non-volatile variables are stored. This is a base64 encoded and zlib compressed binary value that must be properly encoded.</p> <p>When you use <a href=\"https://docs.aws.amazon.com/cli/latest/reference/ec2/register-image.html\">register-image</a> to create an AMI, you can create an exact copy of your variable store by passing the UEFI data in the <code>UefiData</code> parameter. You can modify the UEFI data by using the <a href=\"https://github.com/awslabs/python-uefivars\">python-uefivars tool</a> on GitHub. You can use the tool to convert the UEFI data into a human-readable format (JSON), which you can inspect and modify, and then convert back into the binary format to use with register-image.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/uefi-secure-boot.html\">UEFI Secure Boot</a> in the <i>Amazon EC2 User Guide</i>.</p>"
3718+
},
37093719
"GetIpamAddressHistory":{
37103720
"name":"GetIpamAddressHistory",
37113721
"http":{
@@ -25952,6 +25962,35 @@
2595225962
}
2595325963
}
2595425964
},
25965+
"GetInstanceUefiDataRequest":{
25966+
"type":"structure",
25967+
"required":["InstanceId"],
25968+
"members":{
25969+
"InstanceId":{
25970+
"shape":"InstanceId",
25971+
"documentation":"<p>The ID of the instance from which to retrieve the UEFI data.</p>"
25972+
},
25973+
"DryRun":{
25974+
"shape":"Boolean",
25975+
"documentation":"<p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>"
25976+
}
25977+
}
25978+
},
25979+
"GetInstanceUefiDataResult":{
25980+
"type":"structure",
25981+
"members":{
25982+
"InstanceId":{
25983+
"shape":"InstanceId",
25984+
"documentation":"<p>The ID of the instance from which to retrieve the UEFI data.</p>",
25985+
"locationName":"instanceId"
25986+
},
25987+
"UefiData":{
25988+
"shape":"String",
25989+
"documentation":"<p>Base64 representation of the non-volatile UEFI variable store.</p>",
25990+
"locationName":"uefiData"
25991+
}
25992+
}
25993+
},
2595525994
"GetIpamAddressHistoryRequest":{
2595625995
"type":"structure",
2595725996
"required":[
@@ -27689,6 +27728,11 @@
2768927728
"documentation":"<p>The boot mode of the image. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html\">Boot modes</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>",
2769027729
"locationName":"bootMode"
2769127730
},
27731+
"TpmSupport":{
27732+
"shape":"TpmSupportValues",
27733+
"documentation":"<p>If the image is configured for NitroTPM support, the value is <code>v2.0</code>. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/nitrotpm.html\">NitroTPM</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>",
27734+
"locationName":"tpmSupport"
27735+
},
2769227736
"DeprecationTime":{
2769327737
"shape":"String",
2769427738
"documentation":"<p>The date and time to deprecate the AMI, in UTC, in the following format: <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z. If you specified a value for seconds, Amazon EC2 rounds the seconds to the nearest minute.</p>",
@@ -27745,6 +27789,16 @@
2774527789
"documentation":"<p>The boot mode.</p>",
2774627790
"locationName":"bootMode"
2774727791
},
27792+
"TpmSupport":{
27793+
"shape":"AttributeValue",
27794+
"documentation":"<p>If the image is configured for NitroTPM support, the value is <code>v2.0</code>.</p>",
27795+
"locationName":"tpmSupport"
27796+
},
27797+
"UefiData":{
27798+
"shape":"AttributeValue",
27799+
"documentation":"<p>Base64 representation of the non-volatile UEFI variable store. To retrieve the UEFI data, use the <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetInstanceUefiData\">GetInstanceUefiData</a> command. You can inspect and modify the UEFI data by using the <a href=\"https://github.com/awslabs/python-uefivars\">python-uefivars tool</a> on GitHub. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/uefi-secure-boot.html\">UEFI Secure Boot</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>",
27800+
"locationName":"uefiData"
27801+
},
2774827802
"LastLaunchedTime":{
2774927803
"shape":"AttributeValue",
2775027804
"documentation":"<p>The date and time, in <a href=\"http://www.iso.org/iso/iso8601\">ISO 8601 date-time format</a>, when the AMI was last used to launch an EC2 instance. When the AMI is used, there is a 24-hour delay before that usage is reported.</p> <note> <p> <code>lastLaunchedTime</code> data is available starting April 2017.</p> </note>",
@@ -27764,6 +27818,8 @@
2776427818
"blockDeviceMapping",
2776527819
"sriovNetSupport",
2776627820
"bootMode",
27821+
"tpmSupport",
27822+
"uefiData",
2776727823
"lastLaunchedTime"
2776827824
]
2776927825
},
@@ -28947,6 +29003,11 @@
2894729003
"documentation":"<p>The IPv6 address assigned to the instance.</p>",
2894829004
"locationName":"ipv6Address"
2894929005
},
29006+
"TpmSupport":{
29007+
"shape":"String",
29008+
"documentation":"<p>If the instance is configured for NitroTPM support, the value is <code>v2.0</code>. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/nitrotpm.html\">NitroTPM</a> in the <i>Amazon EC2 User Guide</i>.</p>",
29009+
"locationName":"tpmSupport"
29010+
},
2895029011
"MaintenanceOptions":{
2895129012
"shape":"InstanceMaintenanceOptions",
2895229013
"documentation":"<p>Provides information on the recovery and maintenance options of your instance.</p>",
@@ -40427,6 +40488,14 @@
4042740488
"BootMode":{
4042840489
"shape":"BootModeValues",
4042940490
"documentation":"<p>The boot mode of the AMI. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html\">Boot modes</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>"
40491+
},
40492+
"TpmSupport":{
40493+
"shape":"TpmSupportValues",
40494+
"documentation":"<p>Set to <code>v2.0</code> to enable Trusted Platform Module (TPM) support. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/nitrotpm.html\">NitroTPM</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>"
40495+
},
40496+
"UefiData":{
40497+
"shape":"StringType",
40498+
"documentation":"<p>Base64 representation of the non-volatile UEFI variable store. To retrieve the UEFI data, use the <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetInstanceUefiData\">GetInstanceUefiData</a> command. You can inspect and modify the UEFI data by using the <a href=\"https://github.com/awslabs/python-uefivars\">python-uefivars tool</a> on GitHub. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/uefi-secure-boot.html\">UEFI Secure Boot</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>"
4043040499
}
4043140500
},
4043240501
"documentation":"<p>Contains the parameters for RegisterImage.</p>"
@@ -46383,6 +46452,11 @@
4638346452
"locationName":"item"
4638446453
}
4638546454
},
46455+
"StringType":{
46456+
"type":"string",
46457+
"max":64000,
46458+
"min":0
46459+
},
4638646460
"Subnet":{
4638746461
"type":"structure",
4638846462
"members":{
@@ -47180,6 +47254,10 @@
4718047254
},
4718147255
"documentation":"<p>The minimum and maximum amount of total local storage, in GB.</p>"
4718247256
},
47257+
"TpmSupportValues":{
47258+
"type":"string",
47259+
"enum":["v2.0"]
47260+
},
4718347261
"TrafficDirection":{
4718447262
"type":"string",
4718547263
"enum":[

0 commit comments

Comments
 (0)