Skip to content

Latest commit

 

History

History
75 lines (45 loc) · 1.82 KB

LunchAndLearn_Anagraph.md

File metadata and controls

75 lines (45 loc) · 1.82 KB

Lunch and Learn with Anagraph

Vincent Sarago

@_VincentS_
github.com/vincentsarago

vincent

Amazon Web Services

https://console.aws.amazon.com/console/home?region=us-east-1

Regions

https://aws.amazon.com/about-aws/global-infrastructure/regional-product-services/

S3 `(Storage)``

EC2 `(Heavy processing / App)``

ECS `(Run with Docker/Kubernetes)``

EC2 Cluster + Containers

or

Fargate (you only provide containers)

https://github.com/mapbox/ecs-watchbot https://github.com/vincentsarago/ecs-watchbot-fargate

AWS Lambda `(code only)``

  • You only provide the code
  • Scale up and down fast
  • Plug to lot of events (SQS, Alaram ...)
  • Cheap
  • Limit to 15min runtime
  • For small processes only (3Go memory, 512Mb disk)
  • Supports Node and Python

capture d ecran le 2018-11-28 a 11 21 02

Using Python in Lambda

https://blog.mapbox.com/aws-lambda-python-magic-e0f6a407ffc6 https://github.com/mapbox/aws-lambda-python-packages

Batch `(~ ecs-watchbot + Fargate)``

DynamoDB / RDS (Database)

SQS (Queue)

SNS (Message)

Code Pipeline + CodeBuild `(Integration and deployement)``