You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 58aab0b
Browse filesBrowse the repository at this point in the historyBrowse files
# Encryption at rest concepts and configuration Guide
16
16
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.
18
18
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:
20
20
21
-
*__SQL Server__
21
+
*__SQL Server__ master instance
22
22
*__HDFS__ used by Storage pool and Spark.
23
23
24
24
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
30
30
31
31
The following capabilities are provided:
32
32
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
+
*__Systemmanaged 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.
35
35
36
36
## Key Definitions
37
37
@@ -42,7 +42,7 @@ A Controller hosted service responsible for managing keys and certificates for t
42
42
* Secure management and storage of keys and certificates used for encryption at rest.
43
43
* Hadoop KMS compatibility. It acts as the key management service for HDFS component on BDC.
44
44
* 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.
46
46
47
47
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.
48
48
@@ -52,25 +52,33 @@ The BDC KMS service will manage all keys and certificates for SQL Server and HDF
52
52
53
53
## Encryption at rest on SQL Server Big Data Clusters CU8
54
54
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.
56
64
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.
58
66
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.
61
69
62
70
### SQL Server instances
63
71
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.
66
74
* 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.
69
77
* Encryption monitoring happens through existing standard SQL Server DMVs for TDE.
70
78
* It is supported to backup and restore a TDE enabled database into the cluster.
71
79
* 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.
72
80
73
-
### HDFS Encryption Zones
81
+
### HDFS encryption zones
74
82
75
83
*[Active Directory integration](active-directory-prerequisites.md) is required to enable the encryption zones feature for HDFS.
76
84
* 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
81
89
82
90
## Configuration Guide
83
91
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.
85
93
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:
87
95
88
96
* BDC KMS component will be deployed in the controller and will generate a default set of keys and certificates.
89
97
* 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.
91
99
92
100
Requirements and default behaviors described in the previous section apply.
93
101
@@ -98,34 +106,34 @@ If __upgrading your cluster to CU8__, __read carefully the next section__.
98
106
> [!CAUTION]
99
107
> Before upgrading to SQL Server Big Data Clusters CU8 perform a complete backup of your data.
100
108
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:
102
110
103
111
*__SQL Server__
104
112
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.
106
114
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.
108
116
109
117
*__HDFS__
110
118
111
119
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.
113
121
114
-
### Enabling HDFS Encryption Zones after upgrade
122
+
### Enabling HDFS encryption zones after upgrade
115
123
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.
-[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.
122
130
123
131
## Next steps
124
132
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:
126
134
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)
129
137
130
138
To learn more about the [!INCLUDE[big-data-clusters-2019](../includes/ssbigdataclusters-ss-nover.md)], see the following overview:
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
+
## <aid="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.
Copy file name to clipboardExpand all lines: docs/big-data-cluster/encryption-at-rest-sql-server-tde.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
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
4
4
description: This article show how to use SQL Server TDE Encryption at Rest feature of BDC
5
5
author: DaniBunny
6
6
ms.author: dacoelho
@@ -11,17 +11,17 @@ ms.prod: sql
11
11
ms.technology: big-data-cluster
12
12
---
13
13
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
15
15
16
16
[!INCLUDE[SQL Server 2019](../includes/applies-to-version/sqlserver2019.md)]
17
17
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.
19
19
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).
21
21
22
22
__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).
25
25
26
26
27
27
## <aid="prereqs"></a> Prerequisites
@@ -78,6 +78,6 @@ In the following examples consider a database named __userdb__ as the target for
<sup>1</sup>The following releases are not available for BDC: CU7
71
+
<sup>1</sup> CU7 is not available for BDC.
72
72
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.
74
74
75
75
## How to install updates
76
76
@@ -88,9 +88,11 @@ This release includes several fixes and a couple of enhancements.
88
88
89
89
### Added capabilities
90
90
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.
92
92
> [!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)
94
96
-[Oracle Proxy User](tutorial-query-oracle.md) support to the Data Virtualization scenario.
0 commit comments