SlideShare a Scribd company logo
TU HOANG
Software Engineer / @rebyn / tu@getvero.com
Docker @ Vero
Data Migration with Docker @ Vero
CLOUD FUNCTIONS @ VERO
@getvero
Automate customer interactions
based on what your customers do,
ie: fire welcome coupon campaign
when
● User signs up; and
● Has at least an outstanding
item in cart for a week; and
● Has never received a coupon
before.
+250 large consumer businesses
use Vero daily:
#CONTAINERS
- Opinionated: EC2-Spot, ECS,
ELB, Logentries
- 20+ kinds of workers
- Memory spec ranging from
302MB to 2048MB memory
- Anytime: 148 containers
(across 80 instances)
- Peak: 16 million emails/day
- Weekly volume: 32.2M 75.2M
- Track 20.000 46.296 customer
actions/min (+1B +2B/mth)
- Software engineering: 6
- DevOps-y engineers: 3
Scale @getvero (with changes since Nov 2015)
Cloudsolutionday 2016: Docker & FAAS at getvero.com
Cloudsolutionday 2016: Docker & FAAS at getvero.com
Cloudsolutionday 2016: Docker & FAAS at getvero.com
Cloudsolutionday 2016: Docker & FAAS at getvero.com
Cloud Functions
- Stateless compute containers
- Ephemeral
- Event-triggered
- (AND/OR) Significantly depend on third-party services
Cloud Function 1/7: autoscaling
Cloud Function 2/7: deliverability
Cloud Function 2/7: deliverability
Cloud Function 2/7: deliverability
Cloud Function 2/7: deliverability
Cloud Function 3/7: newsletter diagnosis
Cloud Function 3/7: deployment
@dustay ecs:deploy_by_image
mailship:master
1. Check latest SHA’s pending status
2. Check ongoing deployments (if any)
2a. YES: cancel | set a reminder
2b. NO: DEPLOY AWAY
Cloud Function 3/7: deployment
Cloud Function 3/7: deployment
@dustay stats:low --threshold=50
| stats:refetch $newsletter_id
Triggers
https://bot.getvero.com:1234
/v1/triggers/UUID
HTTP
Chat commands
- Amazon S3
- Amazon DynamoDB
- Amazon Kinesis Streams
- Amazon Simple Notification
Service
- Amazon CloudWatch Logs
- Scheduled Events (powered by
Amazon CloudWatch Events)
- Amazon API Gateway
- Other Event Sources: Invoking a
Lambda Function On Demand
Trigger Options
- Cloud agnostic (vanilla Docker)
- Navigate our setup of security
firewalls (though not much
desired since most services are
public)
- Language agnostic (unified
input/output)
Why we rolled out
our own cloud
function service
- Of course, it’s always better if
someone else manages it
- Startup latency = used to be an
issue (then we learnt how to
autoscale and/or prewarm infra)
- Horizontal scaling = rough
around edges (also applies to our
services (micro/nano), not just
functions)
- Testing was a pain
Why we ate up
along the way
extremely minimal now
- Services are being created with
confidence and scalability in
mind despite small team
- 100% automation = within reach
now
- Testing = microservice testing.
Should bring about no changes.
- Matured autoscaling agent +
spot fleet management =
#BIGWIN for both functions
and services
- See 75% cost reduction upon
#WINS
- Stack decomposing = trend
forward. Start first with parts of a
monolith that interact with
external services significantly.
- We control scaling-up. This is
equally crucial.
#WINS
- Functions are being gradually
treated as first class citizens
- We usually sit down and
approach an issue re: can we
narrow this business down to
nano services / functions
Misc
- Credentials should be loaded
upon instance provisioning or
container provisioning, not
hardcoded into scripts
- Vendor lockin = a concern,
though not pressing. IAM- and
security group-based services =
kept to minimum and has
failover.
- Instrumentation = crucial.
- Request/response mapping
templates = must. Shared library.
Gotchas
Infrastructure Setup
Infrastructure Setup
Development
Productivity
To quote Amazon:
Focus on the code that matters
Innovate rapidly
Reduce time to market/product
Continuous scaling
DEPLOYMENT
(I run out of time)
https://www.getvero.com/careers
(Senior Backend Engineers / Site Reliability Engineers
much needed!)
Thanks for tuning in.

More Related Content

What's hot (20)

PDF
Intro to Serverless
Cliff Chao-kuan Lu
 
PDF
Netflix Cloud Platform and Open Source
aspyker
 
PPTX
Leonard Austin (Ravelin) - DevOps in a Machine Learning World
Outlyer
 
PPTX
104 meets cloud
Cliff Chao-kuan Lu
 
PPTX
Serverless Patterns
Cliff Chao-kuan Lu
 
PPTX
Kubernetes + netflix oss
Cristiano Altmann
 
PDF
The Road Most Traveled: A Kafka Story | Heikki Nousiainen, Aiven
HostedbyConfluent
 
PPTX
Cloud Solution Day 2016: Service Mesh for Kubernetes
AWS Vietnam Community
 
PPTX
Building an Event-oriented Data Platform with Kafka, Eric Sammer
confluent
 
PDF
Dev309 from asgard to zuul - netflix oss-final
Ruslan Meshenberg
 
PDF
Tabtale story: Building a publishing and monitoring mobile games architecture...
Tikal Knowledge
 
PDF
Netflix and Containers: Not A Stranger Thing
aspyker
 
PDF
NetflixOSS and ZeroToDocker Talk
aspyker
 
PPTX
Grails in the Cloud (2013)
Meni Lubetkin
 
PPTX
Kubernetes as Orchestrator for A10 Lightning Controller
Akshay Mathur
 
PPTX
End-to-end test automation with Endtest.dev
Konstantin Tarkus
 
PPTX
Containerization: The DevOps Revolution
SoftServe
 
PPTX
Serverless Reality
Lynn Langit
 
PDF
Project Sherpa: How RightScale Went All in on Docker
RightScale
 
PDF
Overcoming 5 Common Docker Challenges: How We Do It at RightScale
RightScale
 
Intro to Serverless
Cliff Chao-kuan Lu
 
Netflix Cloud Platform and Open Source
aspyker
 
Leonard Austin (Ravelin) - DevOps in a Machine Learning World
Outlyer
 
104 meets cloud
Cliff Chao-kuan Lu
 
Serverless Patterns
Cliff Chao-kuan Lu
 
Kubernetes + netflix oss
Cristiano Altmann
 
The Road Most Traveled: A Kafka Story | Heikki Nousiainen, Aiven
HostedbyConfluent
 
Cloud Solution Day 2016: Service Mesh for Kubernetes
AWS Vietnam Community
 
Building an Event-oriented Data Platform with Kafka, Eric Sammer
confluent
 
Dev309 from asgard to zuul - netflix oss-final
Ruslan Meshenberg
 
Tabtale story: Building a publishing and monitoring mobile games architecture...
Tikal Knowledge
 
Netflix and Containers: Not A Stranger Thing
aspyker
 
NetflixOSS and ZeroToDocker Talk
aspyker
 
Grails in the Cloud (2013)
Meni Lubetkin
 
Kubernetes as Orchestrator for A10 Lightning Controller
Akshay Mathur
 
End-to-end test automation with Endtest.dev
Konstantin Tarkus
 
Containerization: The DevOps Revolution
SoftServe
 
Serverless Reality
Lynn Langit
 
Project Sherpa: How RightScale Went All in on Docker
RightScale
 
Overcoming 5 Common Docker Challenges: How We Do It at RightScale
RightScale
 

Viewers also liked (6)

PDF
Meetup#6: AWS-AI & Lambda Serverless
AWS Vietnam Community
 
PDF
Cloud Solution Day 2016: Microservices on Mesos & Netflix OSS
AWS Vietnam Community
 
PPTX
Cloudsolutionday 2016: Opening Remarks
AWS Vietnam Community
 
PPTX
Cloudsolutionday 2016: How to build a "zero-downtime" web application
AWS Vietnam Community
 
PPTX
Meetup #5: Architecting for High Availability
AWS Vietnam Community
 
PPTX
Cloudsolutionday 2016: Compliance and cost controlling on AWS
AWS Vietnam Community
 
Meetup#6: AWS-AI & Lambda Serverless
AWS Vietnam Community
 
Cloud Solution Day 2016: Microservices on Mesos & Netflix OSS
AWS Vietnam Community
 
Cloudsolutionday 2016: Opening Remarks
AWS Vietnam Community
 
Cloudsolutionday 2016: How to build a "zero-downtime" web application
AWS Vietnam Community
 
Meetup #5: Architecting for High Availability
AWS Vietnam Community
 
Cloudsolutionday 2016: Compliance and cost controlling on AWS
AWS Vietnam Community
 
Ad

Similar to Cloudsolutionday 2016: Docker & FAAS at getvero.com (20)

PDF
Orchestrated - multi tenant architecture at scale with serverless
Orchestrated.
 
PDF
Metrics driven dev ops 2017
Jerry Tan
 
PDF
Dubbo and Weidian's practice on micro-service architecture
Huxing Zhang
 
PPTX
Rapid Application Development with MEAN Stack
Avinash Kaza
 
PDF
Getting Started with Docker - Nick Stinemates
Atlassian
 
PDF
Transforming mission-critical applications on mainframes for innovation
Eranea
 
PPTX
Gorillas in the mist
Sriram Subramanian
 
PDF
Java Agile ALM: OTAP and DevOps in the Cloud
MongoDB
 
PDF
2017 Melbourne YOW! CTO Summit - Monolith to micro-services with CQRS & Event...
Douglas English
 
PPTX
Yuriy Chapran - Building microservices.
Yuriy Chapran
 
PDF
VMworld 2013: Moving Enterprise Application Dev/Test to VMware’s Internal Pri...
VMworld
 
PDF
OSDC 2018 | From Monolith to Microservices by Paul Puschmann_
NETWAYS
 
PPTX
Docker:- Application Delivery Platform Towards Edge Computing
Bukhary Ikhwan Ismail
 
PDF
"Scaling in space and time with Temporal", Andriy Lupa.pdf
Fwdays
 
PDF
Arsitektur Aplikasi Modern - Faisal Henry Susanto
DicodingEvent
 
DOCX
Pravin_CV_4+years
Pravin Gurav
 
PPTX
Microservices in Action: putting microservice-based applications into production
Manning Publications
 
PPTX
Using Graph Databases in Real-Time to Solve Resource Authorization at Telenor...
Sebastian Verheughe
 
PPTX
Using Graph Databases in Real-Time to Solve Resource Authorization at Telenor...
Neo4j
 
PPTX
Using Graph Databases in Real-time to Solve Resource Authorization at Telenor...
Neo4j
 
Orchestrated - multi tenant architecture at scale with serverless
Orchestrated.
 
Metrics driven dev ops 2017
Jerry Tan
 
Dubbo and Weidian's practice on micro-service architecture
Huxing Zhang
 
Rapid Application Development with MEAN Stack
Avinash Kaza
 
Getting Started with Docker - Nick Stinemates
Atlassian
 
Transforming mission-critical applications on mainframes for innovation
Eranea
 
Gorillas in the mist
Sriram Subramanian
 
Java Agile ALM: OTAP and DevOps in the Cloud
MongoDB
 
2017 Melbourne YOW! CTO Summit - Monolith to micro-services with CQRS & Event...
Douglas English
 
Yuriy Chapran - Building microservices.
Yuriy Chapran
 
VMworld 2013: Moving Enterprise Application Dev/Test to VMware’s Internal Pri...
VMworld
 
OSDC 2018 | From Monolith to Microservices by Paul Puschmann_
NETWAYS
 
Docker:- Application Delivery Platform Towards Edge Computing
Bukhary Ikhwan Ismail
 
"Scaling in space and time with Temporal", Andriy Lupa.pdf
Fwdays
 
Arsitektur Aplikasi Modern - Faisal Henry Susanto
DicodingEvent
 
Pravin_CV_4+years
Pravin Gurav
 
Microservices in Action: putting microservice-based applications into production
Manning Publications
 
Using Graph Databases in Real-Time to Solve Resource Authorization at Telenor...
Sebastian Verheughe
 
Using Graph Databases in Real-Time to Solve Resource Authorization at Telenor...
Neo4j
 
Using Graph Databases in Real-time to Solve Resource Authorization at Telenor...
Neo4j
 
Ad

More from AWS Vietnam Community (12)

PPTX
Data Exchange talk AWSVNUG
AWS Vietnam Community
 
PPTX
Build multi region data warehouse on AWS - AWSVNUG
AWS Vietnam Community
 
PDF
Growth journey 2018 AWSVN
AWS Vietnam Community
 
PPTX
Re invent 2018 top 15 launch announcements
AWS Vietnam Community
 
PPTX
Vietnam AWS Community Day 2018
AWS Vietnam Community
 
PPTX
Series Meetup #1: Speech 2: Elastic beanstalk
AWS Vietnam Community
 
PPTX
Series Meetup #1: Speech 1: Computing
AWS Vietnam Community
 
PDF
Build an app on aws for your first 10 million users (2)
AWS Vietnam Community
 
PDF
Vn introduction to cloud computing with amazon web services
AWS Vietnam Community
 
PDF
Meetup#7: AWS LightSail - The Simplicity of VPS - The Power of AWS
AWS Vietnam Community
 
PDF
Meetup #4: AWS ELB Deep dive & Best practices
AWS Vietnam Community
 
PPTX
Meetup #3: Migrate a fast scale system to AWS
AWS Vietnam Community
 
Data Exchange talk AWSVNUG
AWS Vietnam Community
 
Build multi region data warehouse on AWS - AWSVNUG
AWS Vietnam Community
 
Growth journey 2018 AWSVN
AWS Vietnam Community
 
Re invent 2018 top 15 launch announcements
AWS Vietnam Community
 
Vietnam AWS Community Day 2018
AWS Vietnam Community
 
Series Meetup #1: Speech 2: Elastic beanstalk
AWS Vietnam Community
 
Series Meetup #1: Speech 1: Computing
AWS Vietnam Community
 
Build an app on aws for your first 10 million users (2)
AWS Vietnam Community
 
Vn introduction to cloud computing with amazon web services
AWS Vietnam Community
 
Meetup#7: AWS LightSail - The Simplicity of VPS - The Power of AWS
AWS Vietnam Community
 
Meetup #4: AWS ELB Deep dive & Best practices
AWS Vietnam Community
 
Meetup #3: Migrate a fast scale system to AWS
AWS Vietnam Community
 

Recently uploaded (20)

PDF
Biography of Daniel Podor.pdf
Daniel Podor
 
PPTX
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
PDF
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
PDF
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
PDF
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
DOCX
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
PDF
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PPTX
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
PDF
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
PDF
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
PDF
July Patch Tuesday
Ivanti
 
PPTX
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
PDF
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
PPTX
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
PDF
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
PPTX
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
PPTX
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
PDF
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
PDF
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
PDF
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
Biography of Daniel Podor.pdf
Daniel Podor
 
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
July Patch Tuesday
Ivanti
 
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 

Cloudsolutionday 2016: Docker & FAAS at getvero.com

  • 1. TU HOANG Software Engineer / @rebyn / [email protected] Docker @ Vero Data Migration with Docker @ Vero CLOUD FUNCTIONS @ VERO
  • 2. @getvero Automate customer interactions based on what your customers do, ie: fire welcome coupon campaign when ● User signs up; and ● Has at least an outstanding item in cart for a week; and ● Has never received a coupon before. +250 large consumer businesses use Vero daily:
  • 3. #CONTAINERS - Opinionated: EC2-Spot, ECS, ELB, Logentries - 20+ kinds of workers - Memory spec ranging from 302MB to 2048MB memory - Anytime: 148 containers (across 80 instances) - Peak: 16 million emails/day - Weekly volume: 32.2M 75.2M - Track 20.000 46.296 customer actions/min (+1B +2B/mth) - Software engineering: 6 - DevOps-y engineers: 3 Scale @getvero (with changes since Nov 2015)
  • 8. Cloud Functions - Stateless compute containers - Ephemeral - Event-triggered - (AND/OR) Significantly depend on third-party services
  • 9. Cloud Function 1/7: autoscaling
  • 10. Cloud Function 2/7: deliverability
  • 11. Cloud Function 2/7: deliverability
  • 12. Cloud Function 2/7: deliverability
  • 13. Cloud Function 2/7: deliverability
  • 14. Cloud Function 3/7: newsletter diagnosis
  • 15. Cloud Function 3/7: deployment
  • 16. @dustay ecs:deploy_by_image mailship:master 1. Check latest SHA’s pending status 2. Check ongoing deployments (if any) 2a. YES: cancel | set a reminder 2b. NO: DEPLOY AWAY Cloud Function 3/7: deployment
  • 17. Cloud Function 3/7: deployment
  • 18. @dustay stats:low --threshold=50 | stats:refetch $newsletter_id Triggers https://bot.getvero.com:1234 /v1/triggers/UUID HTTP Chat commands
  • 19. - Amazon S3 - Amazon DynamoDB - Amazon Kinesis Streams - Amazon Simple Notification Service - Amazon CloudWatch Logs - Scheduled Events (powered by Amazon CloudWatch Events) - Amazon API Gateway - Other Event Sources: Invoking a Lambda Function On Demand Trigger Options
  • 20. - Cloud agnostic (vanilla Docker) - Navigate our setup of security firewalls (though not much desired since most services are public) - Language agnostic (unified input/output) Why we rolled out our own cloud function service
  • 21. - Of course, it’s always better if someone else manages it - Startup latency = used to be an issue (then we learnt how to autoscale and/or prewarm infra) - Horizontal scaling = rough around edges (also applies to our services (micro/nano), not just functions) - Testing was a pain Why we ate up along the way
  • 22. extremely minimal now - Services are being created with confidence and scalability in mind despite small team - 100% automation = within reach now - Testing = microservice testing. Should bring about no changes. - Matured autoscaling agent + spot fleet management = #BIGWIN for both functions and services - See 75% cost reduction upon #WINS
  • 23. - Stack decomposing = trend forward. Start first with parts of a monolith that interact with external services significantly. - We control scaling-up. This is equally crucial. #WINS
  • 24. - Functions are being gradually treated as first class citizens - We usually sit down and approach an issue re: can we narrow this business down to nano services / functions Misc
  • 25. - Credentials should be loaded upon instance provisioning or container provisioning, not hardcoded into scripts - Vendor lockin = a concern, though not pressing. IAM- and security group-based services = kept to minimum and has failover. - Instrumentation = crucial. - Request/response mapping templates = must. Shared library. Gotchas
  • 28. Development Productivity To quote Amazon: Focus on the code that matters Innovate rapidly Reduce time to market/product Continuous scaling