SlideShare a Scribd company logo
Microservices Delivery Platform.
Tips and Tricks
Solution Architect @ EPAM
Andriy Trubitsyn
17 years of software development;
Solution architect @ microservice accelerator in EPAM
Speaker @ XP Days Ukraine
Speaker @ meetups and events
Microservices delivery platform
=
Microservices platform + CI/CD
+
What Microservices Platform is ?
https://dzone.com/articles/deploying-microservices-spring-cloud-vs-kubernetes
One Microservices Platform
7
ECS Cluster ECS Cluster
Amazon API
Gateway
Amazon
RDS
Amazon
DynamoDB
Amazon
ElastiCache
Amazon ES Amazon
S3
AWS
CloudFormation
Amazon
CloudWatch
Legacy DB
Amazon
SQS
Amazon
SNS
AWS Lambda
for AAA
Sumologic
OpsGenie
Parameter
Store
๏‚ง Mixed AWS Cloud & OnPrem
๏‚ง Platforms relies on Netflix OSS
๏‚ง Dozens ECS clusters
๏‚ง Hundreds of microservices
๏‚ง Heterogenous ecosystem: Java,
.Net, NodeJS
๏‚ง Synchronous and asynchronous
microservices communication
8
Microservice
CI/CD pipelines
CI/CD Pipelines
Code Build DevQA INT LIVE
ECR registry AWS CloudFormation
Image
Build
CI/CDCI
OWASP ZAP
Code Build
CI/CD Pipelines shared
library & templates
CI/CD pipeline templateShared libraries
โ€ข Pipeline Building blocks
โ€ข API for tools
โ€ข Agents injection
โ€ข Default CI/CD pipelines
โ€ข Sample book
Lessons Learnt
1 C I / C D P I P E L I N E S A R E V E RY S I M I L A R
5
2
3
4
M A K E S S E N S E TO D I F F C I A N D C D P I P E L I N E S
T E M P L AT E P I P E L I N E I S H E L P F U L
T E M P L AT E P I P E L I N E I S TO B E C U S TO M I Z A B L E
T E M P L AT E U P DAT E S D I S T R I B U T I O N I S A D I S A S T E R
Microservice
Generators
Microservices generator
โ€ข Integrates with Service Discovery Eureka
โ€ข Sends tracing meta information to a
tracing tool Zipkin.
โ€ข Sends metrics to a monitoring tool
DataDog
โ€ข Sends logs to SumoLogic
โ€ข Cloudformation script includes ECS
Service and TaskDefinition configuration
AWS
CloudFormation
A buildable java project with CI/CD pipeline which
Microservices generator
โ€ข Default scaling strategy by CPU
โ€ข Can be build and deployed to all
environments DEV, INT, LIVE
โ€ข Configuration for Cost Optimization
function
โ€ข Imported CI/CD pipeline in Jenkins with
configured hooks and integrated with
SonarQube and Jfrog artifactory
AWS
CloudFormation
A buildable java project with CI/CD pipeline which
Lessons Learnt
1 G E N E R ATO R S S AV E I N C R E D I B L E A M O U N T O F E F F O R T S
2
3
4
O N E G E N E R ATO R N E E D S P E R E A C H L A N G UA G E
G E N E R ATO R S B R I N G V E R S I O N I M P L I C I T C O N F L I C T S
V I R T UA L T E A M TO O W N G E N E R ATO R S
Dedicated repo for
DTO objects and Contracts
DTO
Dedicated repo for DTO objects
Dedicated Artifactory Section
for Contracts
Catalog
microservice
Order
microservice
Search
microservice
Lessons Learnt
1 S I N G L E S O U R C E O F T R U T H F O R A L L M I C R O S E R V I C E S
2
3
4
A R C H I T E C T S G O V E R N A C T I V I T Y V I A N F R S
A R C H I T E C T S O W N S R E P O S
N E E D S A C H A N N E L O F S C H E M A U P DAT E N O T I F I C AT I O N S
Microservices
Naming and Versioning
Naming Strategy
my.little.pony
Entire System Domain Sub Domain
Microservice
Microservice
Microservice
Versioning Strategy
Microservice
Order
Endpoint
Microservice
OrderExtendedSchema
Non Backward
Compatible Endpoint
Lessons Learnt
1 S I M P L E B U T I M P O R TA N T O T H E R W I S E TO TA L M E S S
5
2
3
4
A R C H I T E C T S T R A C K A L L N E W R E P O & M I C R O S E R V I C E S
A LWAY S L AT E S T I S S I M P L E B U T M U C H D U P L I C AT I O N
S T I L L U S E V E R S I O N S F O R S H A R E D T E M P L AT E S / L I B S
H A R D TO I N V E N T N E W N A M E S
24/7 support
24/7 support
Boss
Amazon CloudWatch
OpsGenie
27
Lessons Learnt
1 H A R D TO E S TA B L I S H T H E P R O C E S S
2
3
C O D E Q UA L I T Y B E C O M E S M U C H B E T T E R
T E A M V E LO C I T Y S O M E W H AT D E C R E A S E D
4 S O M E P EO P L E R E F U S E W O R K S H I F T S
Cloud Infrastructure Cost
Infrastructure Cost Function
microservice
Amazon
S3
Amazon
RDS
Amazon
ElastiCache
Tagging in CF:
โ€ข Domain
โ€ข SubDomain
โ€ข Team
Lessons Learnt
1 TA G YO U R R E S O U R C E S
2
3
T R A C K I N F R A C O S T O F A N Y C H A N G E S
C L E A N R E S O U R C E S A U TO M AT I C A L LY
4 D E V E LO P E R S D O E S N O T U S E R E S O U R C E S E F F I C I E N T LY
Dedicated Platform Team
Cross-
Functional
Team
Platform
Team
Dedicated Platform Team
https://labs.spotify.com/2014/03/27/spotify-engineering-culture-part-1/
Team Team Team
โ€ฆ
Domain/ART
Platform Team
SA
SM
PO
On Call
Support
Lessons Learnt
1 T H E R E I S W O R K N O T F O R C R O S S F U N C T I O N A L T E A M S
2
3 D I R E C T I N VO LV E M E N T W O R K S
C R O S S F U N C T I O N A L T E A M S A R E N O T F U L LY I N D E P E N D E N T
Architecture Documentation
Architecture Documentation
โ€ข Entire Domain C&C diagram
โ€ข Microservice C&C diagrams
โ€ข Microservice interfaces & batch jobs sequence diagrams
Architecture Documentation
โ€ข Microservice cost estimations
โ€ข Dedicated project with Swagger documentation
โ€ข NFRs check lists
Lessons Learnt
1
2
3 D O C U M E N TAT I O N T E M P L AT E S M A N DATO RY
T E X T I S N O T U S E F U L , D I A G R A M S I S M O R E H E L P F U L
D I F F E R E N T D O C U M E N TAT I O N F O R D I F F E R E N T P U R P O S E S
4 N F R S C H E C K L I S T A R E R EQ U I R E D
Testing
Microservices
Dedicated Test Projects
โ€ข Dedicated e2e tests ( nightly run )
- Positive & negative scenarios
- Cloud & OnPrem
โ€ข Dedicated Performance tests ( by demand )
- Scaling
- Resource usage
- Performance
Microservices
In Cloud
On Prem Apps
On Prem DBs
together
Lessons Learnt
1
2
3
4
P E R F O R M A N C E T E S T S A R E Q U I T E E X PA N S I V E
D E D I C AT E D A Q A T E A M M AY B E A N A N S W E R
A L L K I N D S O F T E S T S D O N โ€™ T F I T O N E M I C R O S E R V I C E
P E R F O R M A N C E T E S T S A R E Q U I T E T I M E C O N S U M I N G
Conclusion
Microservices Delivery Platform. Tips & Tricks

More Related Content

What's hot (20)

PDF
Kubernetes best practices
Bill Liu
ย 
PDF
Building Your Docker Swarm Tech Stack
Bret Fisher
ย 
PPTX
Transforming Infrastructure into Code - Importing existing cloud resources u...
Shih Oon Liong
ย 
PDF
DCEU 18: High Availability with Docker Enterprise
Docker, Inc.
ย 
PDF
Infrastructure as code
daisuke awaji
ย 
PDF
Cloud infrastructure as code
Tomasz Cholewa
ย 
PDF
Why I wish I'd Heard of Docker when I was 12 - Finnian Anderson
Docker, Inc.
ย 
PDF
KubeCon EU 2016: ITNW (If This Now What): Orchestrating an Enterprise
KubeAcademy
ย 
PDF
Deep dive in container service discovery
Docker, Inc.
ย 
PDF
Dev ops with smell v1.2
Antons Kranga
ย 
PDF
Docker storage designing a platform for persistent data
Docker, Inc.
ย 
PDF
Real-Time Data Processing Pipeline & Visualization with Docker, Spark, Kafka ...
Roberto Hashioka
ย 
PPTX
TIAD 2016 : Migrating 100% of your production services to containers
The Incredible Automation Day
ย 
PDF
Drone CI - Container native continuous Integration / Delivery
Patrick Jahns
ย 
PPTX
CI/CD with AWS Code Services
Pulkit Gupta
ย 
PDF
Unlimited Staging Environments
Codefresh
ย 
PDF
Zombies in Kubernetes
Thomas Fricke
ย 
PDF
DCEU 18: State of the Docker Engine
Docker, Inc.
ย 
PDF
Running Kubernetes in Kubernetes
QAware GmbH
ย 
PDF
Docker Basics & Alfresco Content Services
Sujay Pillai
ย 
Kubernetes best practices
Bill Liu
ย 
Building Your Docker Swarm Tech Stack
Bret Fisher
ย 
Transforming Infrastructure into Code - Importing existing cloud resources u...
Shih Oon Liong
ย 
DCEU 18: High Availability with Docker Enterprise
Docker, Inc.
ย 
Infrastructure as code
daisuke awaji
ย 
Cloud infrastructure as code
Tomasz Cholewa
ย 
Why I wish I'd Heard of Docker when I was 12 - Finnian Anderson
Docker, Inc.
ย 
KubeCon EU 2016: ITNW (If This Now What): Orchestrating an Enterprise
KubeAcademy
ย 
Deep dive in container service discovery
Docker, Inc.
ย 
Dev ops with smell v1.2
Antons Kranga
ย 
Docker storage designing a platform for persistent data
Docker, Inc.
ย 
Real-Time Data Processing Pipeline & Visualization with Docker, Spark, Kafka ...
Roberto Hashioka
ย 
TIAD 2016 : Migrating 100% of your production services to containers
The Incredible Automation Day
ย 
Drone CI - Container native continuous Integration / Delivery
Patrick Jahns
ย 
CI/CD with AWS Code Services
Pulkit Gupta
ย 
Unlimited Staging Environments
Codefresh
ย 
Zombies in Kubernetes
Thomas Fricke
ย 
DCEU 18: State of the Docker Engine
Docker, Inc.
ย 
Running Kubernetes in Kubernetes
QAware GmbH
ย 
Docker Basics & Alfresco Content Services
Sujay Pillai
ย 

Similar to Microservices Delivery Platform. Tips & Tricks (20)

PDF
SAI - Serverless Integration Architectures - 09/2019
Samuel Vandecasteele
ย 
PPT
talk
John Hines
ย 
PDF
RubiOne: Apache Spark as the Backbone of a Retail Analytics Development Envir...
Databricks
ย 
PDF
Deployments in one click!
Manuel de la Peรฑa Peรฑa
ย 
PPTX
PAC 2020 Santorin - Gopalkrishnan Yadav
Neotys
ย 
PDF
Scaling AI in production using PyTorch
geetachauhan
ย 
PDF
App sec and quality london - may 2016 - v0.5
Dinis Cruz
ย 
PPTX
ADDO_2022_SRE Architectural Patterns_Nov10.pptx
ShikhaSrivastava820471
ย 
PPTX
ADDO_2022_SRE Architectural Patterns_Nov10.pptx
Shikha Srivastava
ย 
PDF
Scaling Up AI Research to Production with PyTorch and MLFlow
Databricks
ย 
PDF
UNICORN PROJECT - PAGE BROCHURE
UNICORN
ย 
PPTX
Getting Started with Azure DevOps
Jessica Deen
ย 
PDF
Puppet Camp Sydney 2014 - Evolving Design Patterns in AWS
johnpainter_id_au
ย 
PPTX
CloudStack - Apache's best kept secret
ShapeBlue
ย 
PDF
Service mesh in Microservice World to Manage end to end service communications
Satya Syam
ย 
PDF
SOA Latam 2015
Domingo Suarez Torres
ย 
PDF
The 12 Factor App
rudiyardley
ย 
PDF
Meteor WWNRW Intro
Stephan Hochhaus
ย 
PDF
PinTrace Advanced AWS meetup
Suman Karumuri
ย 
PPTX
Modern application development with oracle cloud sangam17
Vinay Kumar
ย 
SAI - Serverless Integration Architectures - 09/2019
Samuel Vandecasteele
ย 
talk
John Hines
ย 
RubiOne: Apache Spark as the Backbone of a Retail Analytics Development Envir...
Databricks
ย 
Deployments in one click!
Manuel de la Peรฑa Peรฑa
ย 
PAC 2020 Santorin - Gopalkrishnan Yadav
Neotys
ย 
Scaling AI in production using PyTorch
geetachauhan
ย 
App sec and quality london - may 2016 - v0.5
Dinis Cruz
ย 
ADDO_2022_SRE Architectural Patterns_Nov10.pptx
ShikhaSrivastava820471
ย 
ADDO_2022_SRE Architectural Patterns_Nov10.pptx
Shikha Srivastava
ย 
Scaling Up AI Research to Production with PyTorch and MLFlow
Databricks
ย 
UNICORN PROJECT - PAGE BROCHURE
UNICORN
ย 
Getting Started with Azure DevOps
Jessica Deen
ย 
Puppet Camp Sydney 2014 - Evolving Design Patterns in AWS
johnpainter_id_au
ย 
CloudStack - Apache's best kept secret
ShapeBlue
ย 
Service mesh in Microservice World to Manage end to end service communications
Satya Syam
ย 
SOA Latam 2015
Domingo Suarez Torres
ย 
The 12 Factor App
rudiyardley
ย 
Meteor WWNRW Intro
Stephan Hochhaus
ย 
PinTrace Advanced AWS meetup
Suman Karumuri
ย 
Modern application development with oracle cloud sangam17
Vinay Kumar
ย 
Ad

Recently uploaded (20)

PDF
Step-by-Step Guide to Install SAP HANA Studio | Complete Installation Tutoria...
SAP Vista, an A L T Z E N Company
ย 
PPTX
prodad heroglyph crack 2.0.214.2 Full Free Download
cracked shares
ย 
PDF
custom development enhancement | Togglenow.pdf
aswinisuhu
ย 
PPTX
Cutting Optimization Pro 5.18.2 Crack With Free Download
cracked shares
ย 
PDF
Infrastructure planning and resilience - Keith Hastings.pptx.pdf
Safe Software
ย 
PDF
Introduction to Apache Icebergโ„ข & Tableflow
Alluxio, Inc.
ย 
PPT
Brief History of Python by Learning Python in three hours
adanechb21
ย 
PDF
Why Are More Businesses Choosing Partners Over Freelancers for Salesforce.pdf
Cymetrix Software
ย 
PDF
SAP GUI Installation Guide for Windows | Step-by-Step Setup for SAP Access
SAP Vista, an A L T Z E N Company
ย 
PPTX
iaas vs paas vs saas :choosing your cloud strategy
CloudlayaTechnology
ย 
PDF
Meet in the Middle: Solving the Low-Latency Challenge for Agentic AI
Alluxio, Inc.
ย 
PDF
Top 10 AI Use Cases Every Business Should Know.pdf
nicogonzalez1075
ย 
PPTX
UI5con_2025_Accessibility_Ever_Evolving_
gerganakremenska1
ย 
PDF
Australian Enterprises Need Project Service Automation
Navision India
ย 
PPTX
TexSender Pro 8.9.1 Crack Full Version Download
cracked shares
ย 
PDF
Dialora AI Voice Agent for Customer Support
Dialora. Ai
ย 
PDF
Virtual Threads in Java: A New Dimension of Scalability and Performance
Tier1 app
ย 
PDF
How to Download and Install ADT (ABAP Development Tools) for Eclipse IDE | SA...
SAP Vista, an A L T Z E N Company
ย 
PDF
Code and No-Code Journeys: The Maintenance Shortcut
Applitools
ย 
PPTX
API DOCUMENTATION | API INTEGRATION PLATFORM
philipnathen82
ย 
Step-by-Step Guide to Install SAP HANA Studio | Complete Installation Tutoria...
SAP Vista, an A L T Z E N Company
ย 
prodad heroglyph crack 2.0.214.2 Full Free Download
cracked shares
ย 
custom development enhancement | Togglenow.pdf
aswinisuhu
ย 
Cutting Optimization Pro 5.18.2 Crack With Free Download
cracked shares
ย 
Infrastructure planning and resilience - Keith Hastings.pptx.pdf
Safe Software
ย 
Introduction to Apache Icebergโ„ข & Tableflow
Alluxio, Inc.
ย 
Brief History of Python by Learning Python in three hours
adanechb21
ย 
Why Are More Businesses Choosing Partners Over Freelancers for Salesforce.pdf
Cymetrix Software
ย 
SAP GUI Installation Guide for Windows | Step-by-Step Setup for SAP Access
SAP Vista, an A L T Z E N Company
ย 
iaas vs paas vs saas :choosing your cloud strategy
CloudlayaTechnology
ย 
Meet in the Middle: Solving the Low-Latency Challenge for Agentic AI
Alluxio, Inc.
ย 
Top 10 AI Use Cases Every Business Should Know.pdf
nicogonzalez1075
ย 
UI5con_2025_Accessibility_Ever_Evolving_
gerganakremenska1
ย 
Australian Enterprises Need Project Service Automation
Navision India
ย 
TexSender Pro 8.9.1 Crack Full Version Download
cracked shares
ย 
Dialora AI Voice Agent for Customer Support
Dialora. Ai
ย 
Virtual Threads in Java: A New Dimension of Scalability and Performance
Tier1 app
ย 
How to Download and Install ADT (ABAP Development Tools) for Eclipse IDE | SA...
SAP Vista, an A L T Z E N Company
ย 
Code and No-Code Journeys: The Maintenance Shortcut
Applitools
ย 
API DOCUMENTATION | API INTEGRATION PLATFORM
philipnathen82
ย 
Ad

Microservices Delivery Platform. Tips & Tricks

Editor's Notes

  • #7: Briefly discuss about all microservices concerns shown on the slide Tell about attempts to build a microservices reference architecture and platforms then
  • #8: 1. Describe this case study microservices platform
  • #9: Letโ€™s start talking about practices. What kind of practices I am talking about some things which can not be found in internet
  • #10: Many microservices with similar pipelines PoC showed we need a templates
  • #11: Jenkins, groovy Describe steps Continuous delivery Three AWS environments Each commit to master goes to LIVE in ~25 minutes Dozens cross-functional teams
  • #12: Library and utils to build pipelines Agents to collect logs and metrics Stop deployment if this is a branch
  • #19: JS consumes JSON JSON๏ƒ JAVA POJO ๏ƒ  JFROG โ€“ consumed by JAVA
  • #22: Hard to find a miroservice at GitHub โ€œOrder managementโ€ is taken
  • #23: 1. Domain driven design
  • #24: Can add changes backward compatible Hard to name Always last version Simple to support changes Code duplication
  • #26: AWS do 24/7
  • #27: Talk to teams Schedule shifts ( with reward ) Create escalation rules
  • #31: Why we need to track costs (experiments, tests, inefficient resource usage, ELBs) Why we need to tag resources Untagged to be deleted in 5 minutes AWS gives infrastructure grouping/tag grouping. Because organizational structure does not reflect AWS resources. Some teams use AWS resources in efficient way ( too much cpu, memory, disk. The same for all three envs โ€“ serverless RDS, no HA in Dev, etc)
  • #33: Even with cross-functional teams we have the classic dev & ops problem.
  • #34: SAFe, Spotify, Cross-functional teams โ€“ BE+AQA, FE+BE+AQA, (+DBA) , (+DevOps), BIs Need of a platform team for user and roles creation, platform deployment, CI/CD and tools support Problems with the dedicated platform team OnCall support from the platform team
  • #36: We have MRA, PoCs.
  • #37: Entire domain C&C diagram shows connections between microservices, gives a high level vision (no details) C&C diagrams to understand how many new microservices we need, what microservices to change, integration points, work spread Microservice interface description Sequence diagrams for developers it means they understand steps to implement business logic, sync & async intercommunication
  • #38: Cost is to permanently grow. We need to estimate cost before microservice release to plan our infrastructure spending's NFRs check list to ensure a microservice is built according to microservice reference architecture It is useful to have a dedicated project with all swagger documents ( refer to sandox) for external B2B integration
  • #40: Tell about different type of tests and why we need them Describe envs to involve, when each of them is to start E2E involve Cloud & Prem TDD & BDD Developers write tests Each commit takes 20 minutes to release Priority queues.
  • #41: Problems: 1. Time consuming vs 20 minutes release cycle what to do?
  • #43: Microservices delivery platform is not a simple thing, I will have to build it as your scale growths. But now you know my mistakes and can your life a little easier But definitely during this year you and I will have to overcome many challenges at our way So see you next time and we will share our finding and become wiser.