Skip to content

serverless aws backend for CM. CM is an experimental project to learn about the AWS ecosystem. It has the aim to manage several entities and uses a serverless architecture on AWS and a kubernetes based version of the same backend with a micro-services architecture

Notifications You must be signed in to change notification settings

SimoncelloCT/Backend-AWS_CM

Repository files navigation

Project setup

  1. run npm i

Configure AWS cli trough serverless

  1. login with your aws account trough serverless: > serverless config credentials --provider provider --key --secret

How to deploy

  1. go to BACKEND AWS_CM/sh
  2. launch ./deploy-CM.sh
  3. Go to AWS console, DynamoDB
  4. Open table Authorizaton
  5. Put in this table all the objects defined in "BACKEND AWS_CM/DynamoAuthorizations/" (or use an import tool).
  6. Go to AWS console, go to iam/users and select the k3s user
  7. go to credentials/create access key
  8. get access key id and secret and put them in the k3s local config (see k8s backend readme for more info).

About

serverless aws backend for CM. CM is an experimental project to learn about the AWS ecosystem. It has the aim to manage several entities and uses a serverless architecture on AWS and a kubernetes based version of the same backend with a micro-services architecture

Topics

Resources

Stars

Watchers

Forks

Languages