North-Seattle-College / ad440-winter2022-tuesday-repo

North Seattle College AD 440 Winter 2020 Cloud Practicum class repoitory
Apache License 2.0
0 stars 4 forks source link

Add cloudformation template and script for dynamo db creation #163

Closed aaronallenCS closed 2 years ago

aaronallenCS commented 2 years ago

Closes #23

This PR adds a Cloudformation template for creating a new DynamoDB and Table, and a shell script to deploy it.

This is what the script looks like after a successful deployment: Screenshot (113)

Here it is being shown in AWS: Screenshot (114)

Testing

Pre-reqs

Steps

  1. From the root of the repo, cd devops/makeDynamoDb
  2. Run the following: ./makeDynamoDb.sh
  3. Enter your initials when prompted and press Enter
    • must only consist of letters a-z
    • can be no less than 2 chars
    • can be no more than 5 chars
  4. You'll see a preview of your database and stack name. Confirm you want to create the stack and database by entering "y" and pressing Enter

Activities Documentation

Date Activity Time Spent
01/17/2022 Researching Cloudformation 2 hr
01/18/2022 Testing 0.5 hr
01/18/2022 Documentation 0.5 hr
01/18/2022 Researching shell scripts 1 hr
01/18/2022 Writing shell script 0.5 hr