Trusted compute poolsAdministrators can designate a group of compute hosts as trusted using
trusted compute pools. The trusted hosts use hardware-based security
features, such as the Intel Trusted Execution Technology (TXT), to provide
an additional level of security. Combined with an external stand-alone,
web-based remote attestation server, cloud providers can ensure that the
compute node runs only software with verified measurements and can ensure
a secure cloud stack.Trusted compute pools provide the ability for cloud subscribers to
request services run only on verified compute nodes.The remote attestation server performs node verification like this:Compute nodes boot with Intel TXT technology enabled.The compute node BIOS, hypervisor, and operating system are
measured.When the attestation server challenges the compute node, the
measured data is sent to the attestation server.The attestation server verifies the measurements against a known
good database to determine node trustworthiness.A description of how to set up an attestation service is beyond the
scope of this document. For an open source project that you can use to
implement an attestation service, see the
Open Attestation project.Configuring Compute to use trusted compute poolsEnable scheduling support for trusted compute pools by adding
these lines to the DEFAULT section of the
/etc/nova/nova.conf file:[DEFAULT]
compute_scheduler_driver=nova.scheduler.filter_scheduler.FilterScheduler
scheduler_available_filters=nova.scheduler.filters.all_filters
scheduler_default_filters=AvailabilityZoneFilter,RamFilter,ComputeFilter,TrustedFilterSpecify the connection information for your attestation service by
adding these lines to the trusted_computing section
of the /etc/nova/nova.conf file:[trusted_computing]
attestation_server = 10.1.71.206
attestation_port = 8443
# If using OAT v2.0 after, use this port:
# attestation_port = 8181
attestation_server_ca_file = /etc/nova/ssl.10.1.71.206.crt
# If using OAT v1.5, use this api_url:
attestation_api_url = /AttestationService/resources
# If using OAT pre-v1.5, use this api_url:
# attestation_api_url = /OpenAttestationWebServices/V1.0
attestation_auth_blob = i-am-openstackIn this example:serverHost name or IP address of the host that runs the attestation
serviceportHTTPS port for the attestation serviceserver_ca_fileCertificate file used to verify the attestation server's
identityapi_urlThe attestation service's URL pathauth_blobAn authentication blob, required by the attestation service.Save the file, and restart the
nova-compute and
nova-scheduler services to
pick up the changes.To customize the trusted compute pools, use these configuration option
settings:Specifying trusted flavorsFlavors can be designated as trusted using the
nova flavor-key set command. In this example, the
m1.tiny flavor is being set as trusted:$nova flavor-key m1.tiny set trust:trusted_host=trustedYou can request that your instance is run on a trusted host by
specifying a trusted flavor when booting the instance:$nova boot --flavor m1.tiny --key_name myKeypairName --image myImageID newInstanceName