Skip to content

Commit 58aab0b

Browse files
committed
Update per feedback.
2 parents d6fc089 + fbf386f commit 58aab0b

4 files changed

Lines changed: 114 additions & 41 deletions

‎docs/big-data-cluster/encryption-at-rest-concepts-and-configuration.md‎

Lines changed: 36 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ ms.technology: big-data-cluster
1414

1515
# Encryption at rest concepts and configuration Guide
1616

17-
Starting from SQL Server Big Data Clusters CU8, a comprehensive Encryption at Rest feature set is available to provide application level encryption to all data stored in the platform. This guide documents the concepts, architecture and configuration for the Encryption at Rest feature set for SQL Server Big Data Clusters.
17+
Starting from SQL Server Big Data Clusters CU8, a comprehensive encryption at rest feature set is available to provide application level encryption to all data stored in the platform. This guide documents the concepts, architecture and configuration for the encryption at rest feature set for SQL Server Big Data Clusters.
1818

19-
SQL Server Big data clusters stores data in the following two locations:
19+
SQL Server Big Data Clusters stores data in the following two locations:
2020

21-
* __SQL Server__
21+
* __SQL Server__ master instance
2222
* __HDFS__ used by Storage pool and Spark.
2323

2424
To be able to transparently encrypt data in SQL Server Big Data Clusters there are two possible approaches:
@@ -30,8 +30,8 @@ The Encryption at Rest feature set of SQL Server Big Data Clusters supports the
3030

3131
The following capabilities are provided:
3232

33-
* __System-managed encryption at rest__. This is available in CU8.
34-
* __User managed encryption at rest (BYOK)__, with both service managed and external key provider integrations. This will be available in a future release.
33+
* __System managed encryption at rest__. This is available in CU8.
34+
* __User managed encryption at rest (BYOK)__, with both service managed and external key provider integrations. Currently only service managed user created keys are supported.
3535

3636
## Key Definitions
3737

@@ -42,7 +42,7 @@ A Controller hosted service responsible for managing keys and certificates for t
4242
* Secure management and storage of keys and certificates used for encryption at rest.
4343
* Hadoop KMS compatibility. It acts as the key management service for HDFS component on BDC.
4444
* SQL Server TDE certificate management.
45-
* *Keys Versioning support*. This will be available in a future release.
45+
* *Keys Versioning support*. This isn't supported at this time.
4646

4747
We will reference this service as __BDC KMS__ throughout the rest of this document. Also the term __BDC__ is used to refer to the __SQL Server Big Data Clusters__ computing platform.
4848

@@ -52,25 +52,33 @@ The BDC KMS service will manage all keys and certificates for SQL Server and HDF
5252

5353
## Encryption at rest on SQL Server Big Data Clusters CU8
5454

55-
SQL Server Big Data Clusters CU8 is the initial release of the encryption at rest feature set. Please read this document carefully to completely assess your scenario.
55+
User provided keys and certificates to be managed by BDC KMS, commonly known as BYOK.
56+
57+
### External Providers
58+
59+
External key solutions compatible with BDC KMS for external delegation. This isn't supported at this time.
60+
61+
## Encryption at rest on SQL Server Big Data Clusters CU8
62+
63+
SQL Server Big Data Clusters CU8 is the initial release of the Encryption at rest feature set. Please read this document carefully to completely assess your scenario.
5664

57-
The feature set introduces the __BDC KMS controller service__ to provide __system-managed keys and certificates for data encryption at rest on both SQL Server and HDFS__. Those keys and certificates are service managed and this documentation will provide proper operational guidance on how to interact with the service.
65+
The feature set introduces the __BDC KMS controller service__ to provide system managed keys and certificates for data encryption at rest on both SQL Server and HDFS. Those keys and certificates are service managed and this documentation provides operational guidance on how to interact with the service.
5866

59-
* __SQL Server__ instances leverages the established [__Transparent Data Encryption (TDE)__](https://docs.microsoft.com/sql/relational-databases/security/encryption/transparent-data-encryption?view=sql-server-ver15) functionality.
60-
* __HDFS__ uses native Hadoop KMS within each pod to interact with BDC KMS on the controller. This enables HDFS Encryption Zones, which provide secure paths on HDFS.
67+
* __SQL Server__ instances leverage the established [Transparent Data Encryption (TDE)](../relational-databases/security/encryption/transparent-data-encryption.md) functionality.
68+
* __HDFS__ uses native Hadoop KMS within each pod to interact with BDC KMS on the controller. This enables HDFS encryption zones, which provide secure paths on HDFS.
6169

6270
### SQL Server instances
6371

64-
* A system generated certificate will be installed on SQL Server pods to be used with TDE encryption commands. The system-managed certificate naming standard is `TDECertificate` + `timestamp`. For example, `TDECertificate2020_09_15_22_46_27`.
65-
* Master instance BDC provisioned databases and user databases won’t be encrypted automatically. DBA’s may use the installed certificate to encrypt any database.
72+
* A system generated certificate will be installed on SQL Server pods to be used with TDE commands. The system-managed certificate naming standard is `TDECertificate` + `timestamp`. For example, `TDECertificate2020_09_15_22_46_27`.
73+
* Master instance BDC provisioned databases and user databases won’t be encrypted automatically. DBAs may use the installed certificate to encrypt any database.
6674
* Compute pool and storage pool will be automatically encrypted using the system generated certificate.
67-
* Data pool encryption, albeit technically possible using T-SQL’s `EXECUTE AT` commands, is discouraged and unsupported at this time. Using this techniques to encrypt data pool databases might not be effective and encryption may not be happening at the desired state. It will also create an incompatible upgrade path towards next releases.
68-
* There is no certificate rotation, this will come in future releases with the appropriate azdata command set. It is supported to decrypt and then encrypt with a new certificate if not on HA deployments.
75+
* Data pool encryption, albeit technically possible using T-SQL `EXECUTE AT` commands, is discouraged and unsupported at this time. Using this technique to encrypt data pool databases might not be effective and encryption may not be happening at the desired state. It also creates an incompatible upgrade path towards next releases.
76+
* There is no certificate rotation at this time. It is supported to decrypt and then encrypt with a new certificate using T-SQL commands if not on HA deployments.
6977
* Encryption monitoring happens through existing standard SQL Server DMVs for TDE.
7078
* It is supported to backup and restore a TDE enabled database into the cluster.
7179
* HA is supported. If a database on the primary instance of SQL Server is encrypted, then all secondary replica of the database will be encrypted as well.
7280

73-
### HDFS Encryption Zones
81+
### HDFS encryption zones
7482

7583
* [Active Directory integration](active-directory-prerequisites.md) is required to enable the encryption zones feature for HDFS.
7684
* A system generated key will be provisioned in Hadoop KMS. The key name is `securelakekey`. On CU8 the default key is 256 bit and we support 256 bit AES encryption.
@@ -81,13 +89,13 @@ The feature set introduces the __BDC KMS controller service__ to provide __syste
8189

8290
## Configuration Guide
8391

84-
SQL Server Big Data Clusters Encryption at Rest is a service managed feature and, depending on your deployment path, may require additional steps.
92+
SQL Server Big Data Clusters encryption at rest is a service managed feature and, depending on your deployment path, may require additional steps.
8593

86-
During __new deployments of SQL Server Big Data Clusters__, CU8 onwards, __Encryption at Rest will be enabled and configured by default__. That means:
94+
During __new deployments of SQL Server Big Data Clusters__, CU8 onwards, __encryption at rest will be enabled and configured by default__. That means:
8795

8896
* BDC KMS component will be deployed in the controller and will generate a default set of keys and certificates.
8997
* SQL Server will be deployed with TDE turned on and certificates will get installed by the controller.
90-
* Hadoop KMS (for HDFS) will be configured to interact with BDC KMS for encryption operations. HDFS Encryption Zones are configured and ready to use.
98+
* Hadoop KMS (for HDFS) will be configured to interact with BDC KMS for encryption operations. HDFS encryption zones are configured and ready to use.
9199

92100
Requirements and default behaviors described in the previous section apply.
93101

@@ -98,34 +106,34 @@ If __upgrading your cluster to CU8__, __read carefully the next section__.
98106
> [!CAUTION]
99107
> Before upgrading to SQL Server Big Data Clusters CU8 perform a complete backup of your data.
100108
101-
On existing clusters, the upgrade process __won't enforce encryption on user data__ and __won't configure HDFS Encryption Zones__. This is by design and the following needs to be considered per component:
109+
On existing clusters, the upgrade process won't enforce encryption on user data and won't configure HDFS encryption zones. This is by design and the following needs to be considered per component:
102110

103111
* __SQL Server__
104112

105-
1. __Master instance databases__. The upgrade process won’t affect any master instance databases and installed TDE certificates, but it is highly encouraged to backup your databases and your manually installed TDE certificates before the upgrade process. It is also advised to store those artifacts outside the SQL Server BDC cluster.
113+
1. __SQL Server master instance__. The upgrade process won’t affect any master instance databases and installed TDE certificates, but it is highly encouraged to backup your databases and your manually installed TDE certificates before the upgrade process. It is also advised to store those artifacts outside the SQL Server BDC cluster.
106114
1. __Compute and storage pool__. Those databases are system-managed, volatile and will be recreated and automatically encrypted on cluster upgrade.
107-
1. __Data pools__. The upgrade process won’t touch data pool tables.
115+
1. __Data pool__. Upgrade does not impact databases in the SQL Server instances part of data pool.
108116

109117
* __HDFS__
110118

111119
1. __HDFS__. The upgrade process won't touch HDFS files and folders outside encryption zones.
112-
1. __Encryption Zones won't be configured__. The Hadoop KMS component won't be configured to use BDC KMS. In order to configure and enable HDFS Encryption Zones feature after upgrade follow the next section.
120+
1. __Encryption Zones won't be configured__. The Hadoop KMS component won't be configured to use BDC KMS. In order to configure and enable HDFS encryption zones feature after upgrade follow the next section.
113121

114-
### Enabling HDFS Encryption Zones after upgrade
122+
### Enabling HDFS encryption zones after upgrade
115123

116-
Execute the following actions if you upgraded your cluster to CU8 (azdata upgrade) and want to enable HDFS Encryption Zones.
124+
Execute the following actions if you upgraded your cluster to CU8 (azdata upgrade) and want to enable HDFS encryption zones.
117125

118126
Requirements:
119127
- [Active Directory](active-directory-prerequisites.md) integrated cluster.
120128
- [Azure Data Studio](../azure-data-studio/download-azure-data-studio.md) installed and connected to the cluster.
121-
- From the [SQL Server BDC Operation Notebooks](cluster-manage-notebooks.md) execute the __```sop128-enable-encryption-zones```__ notebook to perform the configuration and validation of HDFS Encryption Zones support.
129+
- From the [SQL Server BDC Operation Notebooks](cluster-manage-notebooks.md) execute the __```sop128-enable-encryption-zones```__ notebook to perform the configuration and validation of HDFS encryption zones support.
122130

123131
## Next steps
124132

125-
To learn more about how to effectively use Encryption at Rest SQL Server Big Data Clusters see the following:
133+
To learn more about how to effectively use encryption at rest SQL Server Big Data Clusters see the following:
126134

127-
- [Encryption at Rest - SQL Server TDE](encryption-at-rest-sql-server-tde.md)
128-
- [Encryption at Rest - HDFS Encryption Zones](encryption-at-rest-hdfs-encryption-zones.md)
135+
- [Encryption at rest - SQL Server TDE](encryption-at-rest-sql-server-tde.md)
136+
- [Encryption at rest - HDFS encryption zones](encryption-at-rest-hdfs-encryption-zones.md)
129137

130138
To learn more about the [!INCLUDE[big-data-clusters-2019](../includes/ssbigdataclusters-ss-nover.md)], see the following overview:
131139

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
---
2+
title: SQL Server Big Data Clusters HDFS encryption zones usage guide
3+
titleSuffix: SQL Server big data clusters
4+
description: This article show how to use SQL Server HDFS encryption zones feature of BDC
5+
author: DaniBunny
6+
ms.author: dacoelho
7+
ms.reviewer: mihaelab
8+
ms.date: 10/19/2020
9+
ms.topic: tutorial
10+
ms.prod: sql
11+
ms.technology: big-data-cluster
12+
---
13+
14+
# SQL Server Big Data Clusters HDFS Encryption Zones usage guide
15+
16+
[!INCLUDE[SQL Server 2019](../includes/applies-to-version/sqlserver2019.md)]
17+
18+
This guide demonstrates how to use Encryption at Rest capabilities of SQL Server Big Data Clusters to encrypt HDFS folders using Encryption Zones.
19+
20+
Note that there is already a default encryption zone mounted at __```/securelake```__ ready to be used. It was created with a system generated 256-bit key named __securelakekey__. This key can be used to create additional encryption zones.
21+
22+
## <a id="prereqs"></a> Prerequisites
23+
24+
- [SQL Server Big Data Cluster CU8+](release-notes-big-data-cluster.md) with Active Directory Integration.
25+
- User with administrative privileges.
26+
27+
## Login into the name node.
28+
29+
1. Use [Active Directory connection instructions](active-directory-connect.md) to perform cluster login. Log into the namenode (nmnode-0-0) to issue key and encryption zones commands.
30+
31+
```console
32+
kubectl exec -it -c hadoop -n <cluster_namespace> nmnode-0-0 -- /bin/bash
33+
```
34+
35+
## Create an encryption zone using the provided system managed key
36+
37+
1. Create a HDFS folder
38+
39+
```console
40+
hdfs dfs -mkdir -p /user/zone/folder
41+
```
42+
43+
1. Issue the encryption zone create command to encrypt the folder using the __securelakekey__ key.
44+
45+
```console
46+
hdfs crypto -createZone -keyName securelakekey -path /user/zone/folder
47+
```
48+
49+
## Create a custom new key and encryption zone
50+
51+
1. Use the following pattern to create a 256-bit key.
52+
53+
```console
54+
kinit hdfs
55+
hadoop key create mydatalakekey -size 256
56+
```
57+
58+
1. Create and encrypt a new HDFS path using the user key.
59+
60+
```console
61+
hdfs dfs -mkdir -p /user/mydatalake
62+
hdfs crypto -createZone -keyName mydatalakekey -path /user/mydatalake
63+
```

‎docs/big-data-cluster/encryption-at-rest-sql-server-tde.md‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: SQL Server Big Data Clusters TDE Encryption at Rest usage guide
3-
titleSuffix: SQL Server big data clusters
2+
title: SQL Server Big Data Clusters transparent data encryption (TDE) at rest usage guide
3+
titleSuffix: SQL Server Big Data Clusters
44
description: This article show how to use SQL Server TDE Encryption at Rest feature of BDC
55
author: DaniBunny
66
ms.author: dacoelho
@@ -11,17 +11,17 @@ ms.prod: sql
1111
ms.technology: big-data-cluster
1212
---
1313

14-
# SQL Server Big Data Clusters TDE Encryption at Rest usage guide
14+
# SQL Server Big Data Clusters transparent data encryption (TDE) at rest usage guide
1515

1616
[!INCLUDE[SQL Server 2019](../includes/applies-to-version/sqlserver2019.md)]
1717

18-
This guide demonstrates how to use Encryption at Rest capabilities of SQL Server Big Data Clusters to encrypt databases.
18+
This guide demonstrates how to use encryption at rest capabilities of SQL Server Big Data Clusters to encrypt databases.
1919

20-
Experience is in general the same as SQL Server on Linux and [standard TDE documentation](../sql/relational-databases/security/encryption/transparent-data-encryption.md) applies except where noted. In order to monitor status of encryption on master, follow standard DMV query patterns on top of [```sys.dm_database_encryption_keys```](../sql/relational-databases/system-dynamic-management-views/sys-dm-database-encryption-keys-transact-sql.md) and [```sys.certificates```](../sql/relational-databases/system-catalog-views/sys-certificates-transact-sql.md).
20+
Experience is in general the same as SQL Server on Linux and [standard TDE documentation](../sql/relational-databases/security/encryption/transparent-data-encryption.md) applies except where noted. In order to monitor status of encryption on master, follow standard DMV query patterns on top of [`sys.dm_database_encryption_keys`](../sql/relational-databases/system-dynamic-management-views/sys-dm-database-encryption-keys-transact-sql.md) and [`sys.certificates`](../sql/relational-databases/system-catalog-views/sys-certificates-transact-sql.md).
2121

2222
__Unsupported features:__
23-
* Data Pool Encryption
24-
* HA SQL Server Database Encryption key encryptor rotation
23+
* Data pool encryption
24+
* Encryption key rotation for databases in a contained availability group in an [HA deployment](deployment-high-availability.md).
2525

2626

2727
## <a id="prereqs"></a> Prerequisites
@@ -78,6 +78,6 @@ In the following examples consider a database named __userdb__ as the target for
7878

7979
## Next steps
8080

81-
Learn about Encryption at Rest for HDFS:
81+
Learn about encryption at rest for HDFS:
8282
> [!div class="nextstepaction"]
8383
> [HDFS Encryption Zones](encryption-at-rest-hdfs-encryption-zones.md)

‎docs/big-data-cluster/release-notes-big-data-cluster.md‎

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ For a complete list, see [Which tools are required?](deploy-big-data-tools.md#wh
5757

5858
The following table lists the release history for [!INCLUDE[big-data-clusters-2019](../includes/ssbigdataclusters-ver15.md)].
5959

60-
| Release | BDC Version | `azdata` Version| Release date |
60+
| Release <sup>1</sup> | BDC Version | Azure Data CLI (`azdata`) version| Release date |
6161
|------------------|----------------|-----------------|--------------|
6262
| [CU8](#cu8) | 15.0.4073.23 | 20.2.2 | 2020-10-19 |
6363
| [CU6](#cu6) | 15.0.4053.23 | 20.0.1 | 2020-08-04 |
@@ -68,9 +68,9 @@ The following table lists the release history for [!INCLUDE[big-data-clusters-20
6868
| [CU1](#cu1) | 15.0.4003.23 | 15.0.4003 | 2020-01-07 |
6969
| [GDR1](#rtm) | 15.0.2070.34 | 15.0.2070 | 2019-11-04 |
7070

71-
<sup>1</sup>The following releases are not available for BDC: CU7
71+
<sup>1</sup> CU7 is not available for BDC.
7272

73-
<sup>2</sup>`azdata` version reflects the version of the tool at the time of the CU release. `azdata` can also release independently of the server release, therefore you might get newer versions when you install the latest packages. Newer versions are compatible with previously released CUs.
73+
<sup>2</sup>Azure Data CLI version reflects the version of the tool at the time of the CU release. `azdata` can also release independently of the server release, therefore you might get newer versions when you install the latest packages. Newer versions are compatible with previously released CUs.
7474

7575
## How to install updates
7676

@@ -88,9 +88,11 @@ This release includes several fixes and a couple of enhancements.
8888

8989
### Added capabilities
9090

91-
- [SQL Server Big Data Clusters Encryption at Rest](encryption-at-rest-concepts-and-configuration.md) using system managed keys and certificates.
91+
- [SQL Server Big Data Clusters encryption at rest](encryption-at-rest-concepts-and-configuration.md) using system managed keys and certificates.
9292
> [!CAUTION]
93-
> This is the initial release of SQL Server BDC Encryption at Rest experience and a throughout read of the linked documentation article is highly encouraged. There are additional steps required to enable the functionality on upgrade scenarios.
93+
> This is the initial release of SQL Server BDC encryption at rest. Review the following articles:
94+
> - [Security concepts for [!INCLUDE[big-data-clusters-2019](../includes/ssbigdataclusters-ss-nover.md)]](concept-security.md)
95+
> - [Encryption at rest concepts and configuration Guide](encryption-at-rest-concepts-and-configuration.md)
9496
- [Oracle Proxy User](tutorial-query-oracle.md) support to the Data Virtualization scenario.
9597

9698
## <a id="cu6"></a> CU6 (July 2020)

0 commit comments

Comments
 (0)