- Create the project from the following template:
$ sls create --template-url https://github.com/danteinc/js-cloud-native-cookbook/tree/master/ch9/dynamodb-autoscaling --path cncb-dynamodb-autoscaling
- Navigate to the cncb-dynamodb-autoscaling directory, cd cncb-dynamodb-autoscaling.
- Review the file named serverless.yml with the following content:
service: cncb-dynamodb-autoscaling...plugins: - serverless-dynamodb-autoscaling-plugincustom: autoscaling: - table: Table write: minimum: 5 maximum: 50 usage: 0.6 actions: - name: morning minimum: 5 maximum: 50 schedule: cron(0 6 * * ? *) - name: night minimum: 1 maximum: 1 schedule: cron(0 0 * * ? *) read: ...resources: Resources: Table: Type: AWS::DynamoDB::Table ...
- Review the ...