Jump to: navigation, search

Difference between revisions of "Trusted-Location-Control"

(Geo and Asset tagging Solution)
Line 20: Line 20:
 
== Geo and Asset Tagging Solution ==
 
== Geo and Asset Tagging Solution ==
  
Provision geo tags to Compute Hosts using ‘Remote Attestation solution’
+
# Provision geo tags to Compute Hosts using ‘Remote Attestation solution’  
Create a tag or tags 
 
Create a selection ID by selecting one or more tags
 
Provision a selection ID to the asset (ex: Compute Host).  The Provisioning process will include generation of Asset Certificate and writing the SHA1 of the certificate to TPM’s NVRAM
 
Reboot the host to complete the provisioning process, which will extend the hash to PCR 22 register of TPM. 
 
For more details follow the instructions in Remote Attestation Solution product guide.
 
 
 
  
 
# Add Geo-Location/Asset-tag VM Policies as VM Image Properties
 
# Add Geo-Location/Asset-tag VM Policies as VM Image Properties

Revision as of 22:39, 26 August 2014

Hardware assisted Geo and Asset Tagging

While the cloud enables workloads and data to reside anywhere, users may be constrained to run their workloads and save their data in certain geographies due to regulatory requirements. This solution will extend to include trusting the location and boundary of the hardware resources, extending the current functionality of trusting the integrality of the compute platform to be free of malware and rootkits. Extensions from this solution enable associating geo and asset tags with hardware at provision time. Intel Trusted Execution Environment (TXT) and other measured launch environments (MLEs) facilitate measurement of provision time information into the Trusted Platform Module (TPM). Remote attestation services can then be used to ascertain that provision time meta-data have not been tampered. Geo and Asset tagging builds on the Trusted Compute Pools feature, covered in TrustedComputingPools

This blueprint details how geo and asset tagging can be incorporated and taken advantage of in OpenStack clouds to provide location and boundary control of workloads/OpenStack images. With Geo/Asset Tags, you can enforce policies to control placement, migration or bursting of workloads to trusted systems in specific geographical locations or boundaries, provide visibility and compliance of your workload policies to ensure tenants that of its compliance to Trust and location policies.

Principles of Operation

Principles-of-operation.jpg


What is Geo/Asset Tag?

What-is-tag.jpg

Proposed Changes

HW-Geo-tag overview.gif

Geo and Asset Tagging Solution

  1. Provision geo tags to Compute Hosts using ‘Remote Attestation solution’
  1. Add Geo-Location/Asset-tag VM Policies as VM Image Properties
    1. On Horizon dashboard Image creation/edit page(s), User to select a tag key from the pre-configured tag key list [Country, State/Province, City, Region, Classification]
    2. Associate the keys with the appropriate values
    3. On image creation or editing, Horizon updates the glance database to store the list of tag key/value pairs as image properties.
  2. Add Asset/Location Filter to Scheduler
    1. Create a new filter scheduler for geo-tag and trust attestation. It does the following
    2. For the selected image, retrieves the list of tag key/value pairs from the glance database.
    3. For each host, retrieves the trust and geo-tag details (Attestation service API: /mtwilson/v1/AttestationService/resources/saml/assertions/host)
    4. Maps the image trust and geo-tag requirements with the server geo-tag and filters appropriately.
    5. NOTE: This filter does not assign a weight to the hosts
  3. UI/Portal Extensions for Trust/Location info/attestation
    1. Adding Trust and geo location information to the horizon dashboard
    2. Added trust and geo-tag indicators(icons) to images, instances and hypervisor pages


Nova Aggregates and Availability Zones

The partitioning, resource reservation, and fault tolerance benefits that Nova aggregates and availability zones bring have a lot in common with geo tags. However, the main difference is that trusted tags are provision time values, and attached to the hardware resource. Re-purposing a machine is more easy via the command line with aggregates and availability zones, does not require machine reboot, but to modify trusted geo-tags more deliberate action is required, a machine reboot. The trusted geo-tag by virtue of being associated with a hardware root of trust is more valuable with respect to meeting regulatory requirements.

Further, the Attestation service could be independent of the cloud provider to increase credibility and better meet regulatory requirements. In addition, geo-tags can be verified with about 90% accuracy using software techniques using the Internet Protocol (IP) address of the device being attested.


This blueprint details how geo-tags can be incorporated and taken advantage of in OpenStack clouds.


Nova Compute Node Provisioning

During compute nodes provisioning for trust, geo-tags may also be assigned. These can be simple strings, such as, "3 rd Floor, Expo Center, Hong Kong", or complex, such as XML data providing sub-items such as GPS co-ordinates, postal address, and more, or json strings.

Dashboard

  1. Image properties field readily supports specifying geo and other asset tag constraints.
  2. Displaying VM and Image geo/asset tag affiliations. The Horizon UI for instance and Image lists could be extended to display in addition to current information, trusted and geo tags. For example, it would be logical to add a little trusted seal if a compute node is trusted, and by extension a VM running on the same compute node. A country flag would be a good geo indicator.
  3. Object listings Could also contain geo indicators.

Nova Scheduler Filter

Asset /Geo Tag filters should be specified. They will be very similar to todays Aggregate and Availability filters with the distinction that the data they retrieve from the Attestation service may need to be parsed. For instance, geo-tag data may be retrieved as a json string or as XML. In the case of XML,

Attestation Service

Existing Attestion services need to be upgraded to understand geo tags, support an API to retrieve them for registered hardware resources. The geo tags retrieved for hardware resource could be cached at the attestation service or even at the nova scheduler to speed scheduling decisions as long as the cached value is no older than some specifiable time window.

The simplest geo tag is a string, while more complex variants are XML and json strings. A match policy (country match, state and country match, or city, state, and country match) and a formatter to parse a given representation is required to facilitate match.