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
1. Replace `AWS-ACCESS-KEY` and `AWS-SECRET-ACCESS-KEY` with your AWS credentials.
80
+
1. Replace `AWS-ACCESS-KEY` and `AWS-SECRET-ACCESS-KEY` with your AWS credentials. Replace `AWS-REGION` with the region of your AWS buckets.
65
81
66
-
1. Replace `YOUR-AWS-BUILDPACK-BUCKET`, `YOUR-AWS-DROPLET-BUCKET`, `YOUR-AWS-PACKAGE-BUCKET`, and `YOUR-AWS-RESOURCE-BUCKET` with the names of your AWS buckets. Do not use periods (`.`) in your AWS bucket names. In the AWS console, you must assign your credentials an IAM policy that allows all S3 actions on all of these buckets.
82
+
1. Replace `YOUR-AWS-BUILDPACK-BUCKET`, `YOUR-AWS-DROPLET-BUCKET`, `YOUR-AWS-PACKAGE-BUCKET`, and `YOUR-AWS-RESOURCE-BUCKET` with the names of your AWS buckets. Do not use periods (`.`) in your AWS bucket names. In the AWS console, you must assign your credentials an IAM policy that allows all S3 actions on all of these buckets.
67
83
68
-
1. (Optional) Provide additional configuration through the `fog_connection` hash, which is passed through to the Fog gem.
84
+
1. (Optional) Provide additional configuration through the `connection_config` hash, which is passed through to the Storage CLI. For more information about configuration options, see the [S3-Specific Configuration][storage-cli-s3-options].
69
85
70
-
##<aid="fog-aws-sse"></a>Fog with AWS Server-Side Encryption
86
+
##<aid="storage-cli-aws-sse"></a>Storage CLI with AWS Server-Side Encryption
71
87
72
88
AWS S3 offers Server-Side Encryption at rest. For more information, see <ahref="http://docs.aws.amazon.com/AmazonS3/latest/dev/serv-side-encryption.html">Protecting Data Using Server-Side Encryption</a>.
73
89
74
90
<strong>AWS SSE-S3 blobstore encryption</strong>
75
91
76
92
1. Insert the following configuration into your manifest under `properties.cc`:
1. Replace `AWS_ACCESS_KEY` and `AWS_SECRET_ACCESS_KEY` with your AWS credentials.
108
-
109
-
1. Replace `YOUR-AWS-BUILDPACK-BUCKET`, `YOUR-AWS-DROPLET-BUCKET`, `YOUR-AWS-PACKAGE-BUCKET`, and `YOUR-AWS-RESOURCE-BUCKET` with the names of your AWS buckets. Do not use periods (`.`) in your AWS bucket names. In the AWS console, you must assign your credentials an IAM policy that allows all S3 actions on all of these buckets.
110
-
111
-
1. You can provide further configuration through the `fog_connection` hash, which is passed through to the Fog gem.
112
-
113
-
1. `fog_aws_storage_options` takes a hash with the key `encryption`. Operators can set its value to a type of encryption algorithm. In the configuration information above, `encryption` is set to `AES256` to enable AWS SSE-S3 encryption.
114
-
115
-
1. You can provide further configuration through the `fog_aws_storage_options` hash, which is passed through to the Fog gem.
1. Replace `AWS-ACCESS-KEY` and `AWS-SECRET-ACCESS-KEY` with your AWS credentials. Replace `AWS-REGION` with the region of your AWS buckets.
139
+
140
+
1. Replace `YOUR-AWS-BUILDPACK-BUCKET`, `YOUR-AWS-DROPLET-BUCKET`, `YOUR-AWS-PACKAGE-BUCKET`, and `YOUR-AWS-RESOURCE-BUCKET` with the names of your AWS buckets. Do not use periods (`.`) in your AWS bucket names. In the AWS console, you must assign your credentials an IAM policy that allows all S3 actions on all of these buckets.
141
+
142
+
1. Set the value of the `server_side_encryption` key to a type of encryption algorithm. In the configuration information above, `server_side_encryption` is set to `AES256` to enable AWS SSE-S3 encryption.
143
+
144
+
1. (Optional) Provide additional configuration through the `connection_config` hash, which is passed through to the Storage CLI. For more information about configuration options, see the [S3-Specific Configuration][storage-cli-s3-options].
116
145
117
146
<strong>AWS SSE-KMS blobstore encryption</strong>
118
147
119
148
1. Obtain your KMS Key ID. For information about managing KMS keys, see the <ahref='http://docs.aws.amazon.com/kms/latest/developerguide/getting-started.html'>AWS Key Management Service Getting Started guide.</a>
120
149
121
150
1. Insert the following configuration into your manifest under `properties.cc`:
1. Replace `AWS-ACCESS-KEY` and `AWS-SECRET-ACCESS-KEY` with your AWS credentials.
154
-
155
-
1. Replace `YOUR-AWS-BUILDPACK-BUCKET`, `YOUR-AWS-DROPLET-BUCKET`, `YOUR-AWS-PACKAGE-BUCKET`, and `YOUR-AWS-RESOURCE-BUCKET` with the names of your AWS buckets. Do not use periods (`.`) in your AWS bucket names. In the AWS console, you must assign your credentials an IAM policy that allows all S3 actions on all of these buckets.
156
-
157
-
1. You can provide further configuration through the `fog_connection` hash, which is passed through to the Fog gem.
158
-
159
-
1. Replace `YOUR-AWS-KMS-KEY-ID` with your KMS Key ID.
160
-
161
-
1. `fog_aws_storage_options` takes a hash with the key `encryption`. Operators can set its value to a type of encryption algorithm. In the configuration information above, `encryption` is set to `aws:kms` to enable AWS SSE-KMS encryption.
162
-
163
-
1. You can provide further configuration through the `fog_aws_storage_options` hash, which is passed through to the Fog gem.
164
-
165
-
##<aid="fog-aws-iam"></a> Fog with AWS IAM Instance Profiles
166
-
167
-
To configure Fog blobstores to use <ahref="http://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use_switch-role-ec2.html">AWS IAM Instance Profiles</a>, do the following:
1. Replace `AWS-ACCESS-KEY` and `AWS-SECRET-ACCESS-KEY` with your AWS credentials. Replace `AWS-REGION` with the region of your AWS buckets.
201
+
202
+
1. Replace `YOUR-AWS-BUILDPACK-BUCKET`, `YOUR-AWS-DROPLET-BUCKET`, `YOUR-AWS-PACKAGE-BUCKET`, and `YOUR-AWS-RESOURCE-BUCKET` with the names of your AWS buckets. Do not use periods (`.`) in your AWS bucket names. In the AWS console, you must assign your credentials an IAM policy that allows all S3 actions on all of these buckets.
203
+
204
+
1. Set the `server_side_encryption` key to the value `aws:kms`. Replace `YOUR-AWS-KMS-KEY-ID` with your KMS Key ID.
205
+
206
+
1. (Optional) Provide additional configuration through the `connection_config` hash, which is passed through to the Storage CLI. For more information about configuration options, see the [S3-Specific Configuration][storage-cli-s3-options].
207
+
208
+
##<aid="storage-cli-aws-iam"></a> Storage CLI with AWS IAM Instance Profiles
209
+
210
+
To configure the Storage CLI to use <ahref="http://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use_switch-role-ec2.html">AWS IAM Instance Profiles</a>, do the following:
168
211
169
212
1. Configure an additional <code>cloud-controller</code> IAM role with the following policy to give access to the S3 buckets you plan to use:
170
213
@@ -227,29 +270,44 @@ To configure Fog blobstores to use <a href="http://docs.aws.amazon.com/IAM/lates
Replace `YOUR-AWS-BUILDPACK-BUCKET`, `YOUR-AWS-DROPLET-BUCKET`, `YOUR-AWS-PACKAGE-BUCKET`, and `YOUR-AWS-RESOURCE-BUCKET` with the names of your AWS buckets. Do not use periods (`.`) in your AWS bucket names.
306
+
1. Replace `AWS-REGION` with the region of your AWS buckets.
251
307
252
-
1. (Optional) Provide other configuration with the `fog_connection` hash, which is passed through to the Fog gem.
308
+
1. Replace `YOUR-AWS-BUILDPACK-BUCKET`, `YOUR-AWS-DROPLET-BUCKET`, `YOUR-AWS-PACKAGE-BUCKET`, and `YOUR-AWS-RESOURCE-BUCKET` with the names of your AWS buckets. Do not use periods (`.`) in your AWS bucket names.
309
+
310
+
1. (Optional) Provide additional configuration through the `connection_config` hash, which is passed through to the Storage CLI. For more information about configuration options, see the [S3-Specific Configuration][storage-cli-s3-options].
253
311
254
312
##<aid="fog-gcs"></a>Fog with Google Cloud Storage
255
313
@@ -622,3 +680,4 @@ To configure your blobstores to use the WebDAV protocol, perform the steps below
0 commit comments