SlideShare a Scribd company logo
Microservices delivery pipeline with
.NET Core, Docker and AWS
Oleksandr Nahirniak
EPAM Systems
Goals of presentation
• Show delivery pipeline of microservices from developer machine to
production
• Demonstrate efficient way to deploy your infrastructure around the services
• Show techniques that we use for successfully deployment our microservices
2
INTRO
Who we are?
• What are merge and acquisition?
• How did it work earlier?
• What do we solve?
• Startup for the customer?
4
What do we use?
- Timmy, where are
my containers?!
- What’s up guys?
- Keep calm, Johnny,
here they are.
-UPDATE_IN_PROGRESS
How big we are?
• We have 4 environments
• 46 microservices per environment
• 107 running instances
• 16 databases in one RDS cluster
• 20+ GB logs per month
• 30+ message queues
• 14 lambda functions
DELIVERY EVOLUTION
Old way of delivery
8
Old way of delivery
9
Old way of delivery
10
Old way of delivery
11
Old way of delivery
12
Old way of delivery
13
-HEY! I NEED ONE MORE
ENV!
Old way of delivery
14
-HEY! I NEED ONE MORE
ENV!
New way of delivery
image
IMAGE
STORAGE
New way of delivery
image
IMAGE
STORAGE
New way of delivery
17
image
New way of delivery
18
image
container
container
container
…
New way of delivery
19
image
container
container
container
…
-HEY! I NEED ONE MORE
ENV!
New way of delivery
20
UATprod
- NO PROBLEM!
OUR DELIVERY WAY
Delivery strategies & concepts
• What are artifacts?
• Service deployment
• Infrastructure deployment
• Service interaction
• Summary
• F*ckups
What are artifacts?
SERVICE DEPLOYMENT
Delivery strategy
dev staging
(code)git push
prodUAT
- development
Delivery strategy
dev staging
(code)git push
UAT prod
- development
- release
Delivery strategy
dev staging UAT prod
(code)git push
- development
- release
Delivery strategy
dev staging UAT prod
(code)git push
- development
- release
HOTFIXES
Hotfix strategy
dev staging UAT prod
- development
- release
(code)git push
Hotfix strategy
dev staging UAT prod
- development
- release
(code)git push
Hotfix strategy
dev staging UAT prod
- development
- release
(code)git push
- hotfix
Hotfix strategy
dev staging UAT prod
- development
- release
(code)git push
- hotfix
Hotfix strategy
dev staging UAT prod
- development
- release
(code)git push
- hotfix
ZERO-DOWNTIME DEPLOYMENT
Zero-downtime deployment
• Start with blue service composed of a task
definition and ALB
• Create new task definition based on new version
of Docker image
• Create green service with new task definition
and map to existing ALB
• Scale up green service by incrementing number
of tasks
• Decommission blue service by setting task count
to 0
D E P L O Y M E N T P R O C E S S :
36
container
container
container
Load balancer
ECS Cluster
Zero-downtime deployment
• Start with blue service composed of a task
definition and ALB
• Create new task definition based on new version
of Docker image
• Create green service with new task definition
and map to existing ALB
• Scale up green service by incrementing number
of tasks
• Decommission blue service by setting task count
to 0
D E P L O Y M E N T P R O C E S S :
37
container
container
container
container
Load balancer
ECS Cluster
Zero-downtime deployment
• Start with blue service composed of a task
definition and ALB
• Create new task definition based on new version
of Docker image
• Create green service with new task definition
and map to existing ALB
• Scale up green service by incrementing number
of tasks
• Decommission blue service by setting task count
to 0
D E P L O Y M E N T P R O C E S S :
38
container
container
container
container
container
container
Load balancer
ECS Cluster
Zero-downtime deployment
• Start with blue service composed of a task
definition and ALB
• Create new task definition based on new version
of Docker image
• Create green service with new task definition
and map to existing ALB
• Scale up green service by incrementing number
of tasks
• Decommission blue service by setting task
count to 0
D E P L O Y M E N T P R O C E S S :
39
container
container
container
container
container
container
stopped
stopped
stopped
Load balancer
ECS Cluster
INFRASTRUCTURE DEPLOYMENT
Problem statement
dev staging UAT prod
Problem statement
dev staging UAT prod
Problem statement
dev staging UAT prod
V2 V2V2
Problem statement
dev staging UAT prod
V3 V3V2 V2
Problem statement
dev staging UAT prod
V4 V3V2 V2
Infrastructure as a code
dev/staging/UAT/prod
Infrastructure as a code
Infrastructure as a code
Infrastructure as a code
CONFIDENTIAL | © 2019 EPAM Systems, Inc.
SERVICE INTERACTION
Service interaction
Users Documents
GET
Service interaction
Documents
Client
Service interaction
Users Documents Notifications
Client
Client
Client
Service interaction
Users Documents Notifications
WebBFF MobileBFF
Internet
GET
POST
MESSAGE
MESSAGEGET
Summary
55
• Don’t afraid to use .NET Core with Linux
• Unify your artifacts and minimize their count
• Use tools for provisioning and configuration management yours
apps(carefully)
F*ckups
56
• Classical pitfall with removing database column
• Return infrastructure to the 3 months earlier state
• Shutting down of whole ECS cluster
THE END

More Related Content

PDF
Migrate the Mission Critical Application to AWS Cloud
PDF
Openstack summit 2015
PDF
Way to cloud
PPTX
Tectonic Summit 2016: Multi-Cluster Kubernetes: Planning for Unknowns
PDF
DevOps at Tradeshift - AWS community day nordics
PDF
Making cloud native deployments easy with Buildpack
PPTX
Openstack Summit Tokyo 2015 - Building a private cloud to efficiently handle ...
PDF
Hybrid cloud enabling a borderless data centre for your business
Migrate the Mission Critical Application to AWS Cloud
Openstack summit 2015
Way to cloud
Tectonic Summit 2016: Multi-Cluster Kubernetes: Planning for Unknowns
DevOps at Tradeshift - AWS community day nordics
Making cloud native deployments easy with Buildpack
Openstack Summit Tokyo 2015 - Building a private cloud to efficiently handle ...
Hybrid cloud enabling a borderless data centre for your business

What's hot (16)

PDF
Cloud spanner architecture and use cases
PDF
CassandraSummit2015_Cassandra upgrades at scale @ NETFLIX
PDF
Autoscaling Distributed System with BOSH (Cloud Foundry Summit 2014)
PDF
QConSF18 - Disenchantment: Netflix Titus, its Feisty Team, and Daemons
PDF
openstack, devops and people
PDF
Large Scale Kubernetes on AWS at Europe's Leading Online Fashion Platform - A...
PDF
Netflix cloud architecture...continued
PDF
Terraforming your Infrastructure on GCP
PDF
Introducing Kubeflow (w. Special Guests Tensorflow and Apache Spark)
PDF
Cloud: From Unmanned Data Center to Algorithmic Economy using Openstack
PDF
SRECon16: Moving Large Workloads from a Public Cloud to an OpenStack Private ...
PPTX
Introduction to Terraform with Azure flavor
PPTX
Netflix and Open Source
PDF
Kubo (Cloud Foundry Container Platform): Your Gateway Drug to Cloud-native
PDF
Streaming Experience
PPTX
Netflix viewing data architecture evolution - EBJUG Nov 2014
Cloud spanner architecture and use cases
CassandraSummit2015_Cassandra upgrades at scale @ NETFLIX
Autoscaling Distributed System with BOSH (Cloud Foundry Summit 2014)
QConSF18 - Disenchantment: Netflix Titus, its Feisty Team, and Daemons
openstack, devops and people
Large Scale Kubernetes on AWS at Europe's Leading Online Fashion Platform - A...
Netflix cloud architecture...continued
Terraforming your Infrastructure on GCP
Introducing Kubeflow (w. Special Guests Tensorflow and Apache Spark)
Cloud: From Unmanned Data Center to Algorithmic Economy using Openstack
SRECon16: Moving Large Workloads from a Public Cloud to an OpenStack Private ...
Introduction to Terraform with Azure flavor
Netflix and Open Source
Kubo (Cloud Foundry Container Platform): Your Gateway Drug to Cloud-native
Streaming Experience
Netflix viewing data architecture evolution - EBJUG Nov 2014
Ad

Similar to Oleksandr Nahirniak "Microservices delivery pipeline with .NET Core, Docker and AWS" (20)

PDF
Migrating to Microservices – It's Easier Than You Think
PDF
Containers, microservices and serverless for realists
PDF
Continuos Integration and Delivery: from Zero to Hero with TeamCity, Docker a...
PDF
DCEU 18: Desigual Transforms the In-Store Experience with Docker Enterprise C...
PPTX
Introduction kubernetes 2017_12_24
PDF
Kubo (Cloud Foundry Container Platform): Your Gateway Drug to Cloud-native
PDF
Orchestrating VM & Container Deployments
PDF
Docker in Production: How RightScale Delivers Cloud Applications
PDF
Creating Resilient, Dockerbased Applications using Lattice
PDF
Container orchestration k8s azure kubernetes services
PDF
'DOCKER' & CLOUD: ENABLERS For DEVOPS
PDF
Docker and Cloud - Enables for DevOps - by ACA-IT
PPTX
Kubernetes workshop -_the_basics
PDF
Containers and microservices for realists
PDF
Containers and Microservices for Realists
PPTX
SkyBase - a Devops Platform for Hybrid Cloud
PDF
The Crown Jewels: Is Enterprise Data Ready for the Cloud?
PDF
Optimising Service Deployment and Infrastructure Resource Configuration
PPTX
Watts Water Dapr Community Call - Building Distributed Systems with Dapr
PDF
The path to a serverless-native era with Kubernetes
Migrating to Microservices – It's Easier Than You Think
Containers, microservices and serverless for realists
Continuos Integration and Delivery: from Zero to Hero with TeamCity, Docker a...
DCEU 18: Desigual Transforms the In-Store Experience with Docker Enterprise C...
Introduction kubernetes 2017_12_24
Kubo (Cloud Foundry Container Platform): Your Gateway Drug to Cloud-native
Orchestrating VM & Container Deployments
Docker in Production: How RightScale Delivers Cloud Applications
Creating Resilient, Dockerbased Applications using Lattice
Container orchestration k8s azure kubernetes services
'DOCKER' & CLOUD: ENABLERS For DEVOPS
Docker and Cloud - Enables for DevOps - by ACA-IT
Kubernetes workshop -_the_basics
Containers and microservices for realists
Containers and Microservices for Realists
SkyBase - a Devops Platform for Hybrid Cloud
The Crown Jewels: Is Enterprise Data Ready for the Cloud?
Optimising Service Deployment and Infrastructure Resource Configuration
Watts Water Dapr Community Call - Building Distributed Systems with Dapr
The path to a serverless-native era with Kubernetes
Ad

More from Fwdays (20)

PDF
"Mastering UI Complexity: State Machines and Reactive Patterns at Grammarly",...
PDF
"Effect, Fiber & Schema: tactical and technical characteristics of Effect.ts"...
PPTX
"Computer Use Agents: From SFT to Classic RL", Maksym Shamrai
PPTX
"Як ми переписали Сільпо на Angular", Євген Русаков
PDF
"AI Transformation: Directions and Challenges", Pavlo Shaternik
PDF
"Validation and Observability of AI Agents", Oleksandr Denisyuk
PPTX
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
PDF
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
PPTX
"Co-Authoring with a Machine: What I Learned from Writing a Book on Generativ...
PPTX
"Human-AI Collaboration Models for Better Decisions, Faster Workflows, and Cr...
PDF
"AI is already here. What will happen to your team (and your role) tomorrow?"...
PPTX
"Is it worth investing in AI in 2025?", Alexander Sharko
PDF
''Taming Explosive Growth: Building Resilience in a Hyper-Scaled Financial Pl...
PDF
"Scaling in space and time with Temporal", Andriy Lupa.pdf
PDF
"Database isolation: how we deal with hundreds of direct connections to the d...
PDF
"Scaling in space and time with Temporal", Andriy Lupa .pdf
PPTX
"Provisioning via DOT-Chain: from catering to drone marketplaces", Volodymyr ...
PPTX
" Observability with Elasticsearch: Best Practices for High-Load Platform", A...
PPTX
"How to survive Black Friday: preparing e-commerce for a peak season", Yurii ...
PPTX
"Istio Ambient Mesh in production: our way from Sidecar to Sidecar-less",Hlib...
"Mastering UI Complexity: State Machines and Reactive Patterns at Grammarly",...
"Effect, Fiber & Schema: tactical and technical characteristics of Effect.ts"...
"Computer Use Agents: From SFT to Classic RL", Maksym Shamrai
"Як ми переписали Сільпо на Angular", Євген Русаков
"AI Transformation: Directions and Challenges", Pavlo Shaternik
"Validation and Observability of AI Agents", Oleksandr Denisyuk
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
"Co-Authoring with a Machine: What I Learned from Writing a Book on Generativ...
"Human-AI Collaboration Models for Better Decisions, Faster Workflows, and Cr...
"AI is already here. What will happen to your team (and your role) tomorrow?"...
"Is it worth investing in AI in 2025?", Alexander Sharko
''Taming Explosive Growth: Building Resilience in a Hyper-Scaled Financial Pl...
"Scaling in space and time with Temporal", Andriy Lupa.pdf
"Database isolation: how we deal with hundreds of direct connections to the d...
"Scaling in space and time with Temporal", Andriy Lupa .pdf
"Provisioning via DOT-Chain: from catering to drone marketplaces", Volodymyr ...
" Observability with Elasticsearch: Best Practices for High-Load Platform", A...
"How to survive Black Friday: preparing e-commerce for a peak season", Yurii ...
"Istio Ambient Mesh in production: our way from Sidecar to Sidecar-less",Hlib...

Recently uploaded (20)

PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PPTX
sap open course for s4hana steps from ECC to s4
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PPTX
A Presentation on Artificial Intelligence
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Approach and Philosophy of On baking technology
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
cuic standard and advanced reporting.pdf
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
Programs and apps: productivity, graphics, security and other tools
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
sap open course for s4hana steps from ECC to s4
“AI and Expert System Decision Support & Business Intelligence Systems”
A Presentation on Artificial Intelligence
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Chapter 3 Spatial Domain Image Processing.pdf
Approach and Philosophy of On baking technology
MIND Revenue Release Quarter 2 2025 Press Release
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
cuic standard and advanced reporting.pdf
Unlocking AI with Model Context Protocol (MCP)
Programs and apps: productivity, graphics, security and other tools
20250228 LYD VKU AI Blended-Learning.pptx
Review of recent advances in non-invasive hemoglobin estimation
Building Integrated photovoltaic BIPV_UPV.pdf
Digital-Transformation-Roadmap-for-Companies.pptx
Assigned Numbers - 2025 - Bluetooth® Document
Mobile App Security Testing_ A Comprehensive Guide.pdf

Oleksandr Nahirniak "Microservices delivery pipeline with .NET Core, Docker and AWS"