Skip to content
This repository has been archived by the owner on Feb 24, 2024. It is now read-only.
/ ses-monitor Public archive

Simple SPA build with Elm on a Serverless architecture to monitor AWS SES Suppression List

Notifications You must be signed in to change notification settings

altcatalin/ses-monitor

Repository files navigation

SES Monitor

Simple SPA build with Elm on a Serverless architecture to monitor AWS SES Suppression List

Architecture diagram Architecture diagram

Prerequisites

Deployment

  1. prefix functions, services and resources names to prevent collision on AWS

    edit serverless.yml

    custom:
      prefix: ""
    
  2. deploy stack on AWS: serverless deploy -v

  3. configure AWS SES Bounce Notifications to send notifications with original headers to the SNS Topic from step 2.

  4. copy src/webapp/config.template.js to src/webapp/config.js and fill with the stack outputs values from step 2.

  5. install SPA dependencies: yarn install && elm package install

  6. build SPA: yarn build

  7. deploy SPA to S3:

    aws s3 sync dist s3://S3_BUCKET
    
  8. sign up a Cognito user

    aws cognito-idp sign-up \
       --client-id COGNITO_APP_CLIENT_ID \
       --username USERNAME \
       --password PASSWORD
    
  9. confirm Cognito user sign up

    aws cognito-idp admin-confirm-sign-up \
      --user-pool-id COGNITO_POOL_ID \
      --username USERNAME
    

About

Simple SPA build with Elm on a Serverless architecture to monitor AWS SES Suppression List

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published