All technological notes.
Docker


VMs
Containers

Docker images are stored in Docker RepositoriesAmazon ECR (Elastic Container Registry)Elastic Container Service (ECS) - Docker + InstancesElastic Container Service (ECS)
Application Load BalancerFargate - Docker, ServerlessFargate
Serverless offering
Elastic Container Registry (ECR) - Docker imagesElastic Container Registry
This is where you store your Docker images so they can be run by ECS or Fargate
Batch - dynamically instanceLambda:
Batch:
Kuberenetes
K8The advantage of Kubernetes over Docker is the ability to run containers distributed across multiple VMs.
A unique component of Kubernetes are Pods.
Kuberenetes is ideally for micro-service architectures where a company has tems to hundreds of services they need to manage.

Elastic Kubernetes Service (EKS) - KubernetesElastic Kubernetes Service (EKS)
Serverless does not mean there are no servers… it means you just don’t manage / provision / see them
Lambda - ServerlessAmazon EC2
Amazon Lambda
Benefits of AWS Lambda
Lambda Container Image
Example: Serverless CRON Job
CloudWatch Events EventBridge -> AWS Lambda Function Perform a taskPricing
Pay per calls:
Pay per duration: (in increment of 1 ms )
It is usually very cheap to run AWS Lambda so it’s very popular
API Gateway - serverless API, with LambdaMonolithic Architecture
Microservices Architecture

Docker: container technology to run applications
ECS: run Docker containers on EC2 instancesFargate:
ECR: Private Docker Images RepositoryBatch: run batch jobs on AWS across managed EC2 instancesLambda is Serverless, Function as a Service, seamless scaling, reactive
API Gateway: expose Lambda functions as HTTP API