Simple Static Site Setup with                  

Standard Setup

all self hosted

chosen AWS Services

S3

Lambda

API Gateway

SES

EC2

S3

S3

  • called "buckets"
  • hosts frontend code only
  • scalable
  • paid by traffic

Lambda

Lambda

Lambda

  • single functions
  • supported languages
    • node
    • java
    • python
  • scalable
  • paid by execution

API Gateway

API Gateway

  • create REST APIs
  • from ressources
  • multiple stages
  • CORS settings

SES

  • ...
  • well, send emails, duh!
  • paid by execution

Simple Email Service

EC2

EC2

EC2

  • virtual server instances
  • scalable
  • all kind of images
  • paid by time

Example

EC2

S3

Lambda

SES

API Gateway

Jenkins on EC2

  • gets code from git repo
  • builds necessary frontend code
  • deploys Lambda function
  • deploys frontend code to S3

Website via S3

  • hosts static frontend code

"Backend" via Lambda

  • Frontend code calls API Gateway
  • Lambda gets POST data
  • calls SES service
  • SES sends out email

Thanks!

How many cats did you find?

You are right!

There where 13!