Devops - Diagrams
Niv itzhaky
CI - CD Continuous Integration / continuous deployment.
Get code (from front and backend)
Compile
Run Tests
Save artifacts
CI - CD Continuous Integration / continuous deployment.
Deploy artifact automatically to “Staging”
Allow deploying the same software to Production
This process was taking months
With new technology it can take hours
We build the “pipeline” in small steps �we’ll check after every small step
Tools
Github - source control
Github actions - automation
Ec2 - simple instance
Docker - container technology
S3 - Static files
Route 53 - domain certificates
Cloudfront - Https and routing
More Tools
Gitlab - source control
Gitlab - automation
ECR - private registry
RDS - managed database
Ecs - Fargate - the AWS serverless architecture
Load balancers - traffic managers
EKS - Kubernetes
Helm - Package Manager
Costs
During the course you’ll need to create
AWS account
Gitlab account
Running for a week cost ~ 50$
(For AWS:)
It is recommended to create a new account and terminate when done
I’m available on all channels
EC2 - simple
(only free components)
EC2 - server
mysql
3306
3306
appserver
8080
8080
Static files
S3 Bucket
Cloudfront
api/*
*
Route 53 ec2-stage.nivitzhaky.com
A- record (ec2-raw)
front
3000
3000
ECS - fargate
ECS - server
RDS mysql
3306
appserver
8080
Static files
S3 Bucket
Cloudfront
/api/*
*
Route 53 ecs.nivitzhaky.com
loadbalancer
Task Definition
(versions)
One container or more
Memory and CPU requirements
Cluster
Task1
Task2
Task Def
Service1
Service2
Fargate - Architecture
EKS
RDS mysql
3306
Deployment
8080
Static files
S3 Bucket
Cloudfront
/api/*
*
Route 53 eks.nivitzhaky.com
Service - load balancer
service
pod
pod
deployment
Service2
Kubernetes - Architecture
deployment2
pod
pod
Deployment
Image
replicas
healthness/liveness
Memory and CPU requirements
fakepal.com
paypal.com/api
paypal.com
CORS explanation