SimoncelloCT / Backend-AWS_CM

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


Languages

Language:TypeScript 98.0%Language:Shell 1.5%Language:JavaScript 0.4%Language:PowerShell 0.1%