File tree 1 file changed +0
-51
lines changed
1 file changed +0
-51
lines changed Original file line number Diff line number Diff line change @@ -146,54 +146,3 @@ About Verifying a Domain with SES
146
146
147
147
https://docs.aws.amazon.com/ses/latest/DeveloperGuide/verify-domain-procedure.html
148
148
149
-
150
- Archive: Using DymanmoDB
151
- ========================
152
-
153
- This is now archived since I like Memcache better.
154
-
155
- Set up a DynamoDB service and make a table:
156
-
157
- Table name: sessions
158
- Primary key: id
159
- TTL field: expires
160
-
161
- I set the read and write levels to 5/second and enable autoscaling.
162
-
163
- Look on the DynamoDB table screen to find the arn for the table ARN and then go to IAM and create
164
- an IAM User that has the following powers (changing the arn of course):
165
-
166
- {
167
- "Version": "2012-10-17",
168
- "Statement": [
169
- {
170
- "Action": [
171
- "dynamodb:GetItem",
172
- "dynamodb:UpdateItem",
173
- "dynamodb:DeleteItem",
174
- "dynamodb:Scan",
175
- "dynamodb:BatchWriteItem"
176
- ],
177
- "Effect": "Allow",
178
- "Resource": "arn:aws:dynamodb:us-east-2:681234576555:table/sessions"
179
- }
180
- ]
181
- }
182
-
183
- Your IAM user will have a key and secret, and put them into the user data:
184
-
185
- export TSUGI_DYNAMODB_KEY= 'AKIISDIUSDOUISDHFBUQ';
186
- export TSUGI_DYNAMODB_SECRET = 'zFKsdkjhkjskhjSAKJHsakjhSAKJHakjhdsasYaZ';
187
- export TSUGI_DYNAMODB_REGION = 'us-east-2';
188
-
189
- About DynamoDB and PHP Sessions:
190
-
191
- https://docs.aws.amazon.com/sdk-for-php/v3/developer-guide/service_dynamodb-session-handler.html
192
-
193
- About DynamoDB setup:
194
-
195
- https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/SettingUp.DynamoWebService.html
196
- https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/authentication-and-access-control.html
197
-
198
- https://stackoverflow.com/questions/50848255/for-php-sessions-stored-in-dynamodb-can-i-use-the-expires-field-with-the-auto/
199
-
You can’t perform that action at this time.
0 commit comments