SlideShare a Scribd company logo
1 of 42
@Wayarmy – Quanpc@topica.edu.vn
Topica Edumall SysAdmin
Migrate a fast scale system to AWS
Sep 22 2016
About me
• @wayarmy
• Interested: Cloud Computing, AWS, Docker,
IaaS, SaaS, PaaS, Apache Stack, Elastic Stack,
Hashi Stack, Ruby on Rails, Linux, Unix…
• Github: http://github.com/wayarmy
• Sysadmin, SysOps, DevOps, HumanOps
1. Physical System – Virtualization – Cloud Computing
2. Topica Edumall System Design
3. Apply with DevOps
4. Q&A
Meetup Agenda
Physical System
Advantage
• Easy to control local
system
• Not depend on hosting
provider
• Do whatever if you
want
• …
Disadvantage
• So hard to scale
• Security
• Depend on network,
energy power
• Expensive
• …
• Ops aren’t immutable, they’re not
available 99.99% nor 24/7 they’re not machines.
• The goal of HumanOps is to improve and maintain
the good health of your team:
easing communication reducing fatigue and
reducing stress
» David Mytton – CEO Server Density
Cloud Computing
• The simple definition: It’s a style of computing based
on shared, elastic resources delivered to users in a
self-service, metered manner using web
technologies. Yet, if you ask five people “what is
cloud computing?” you can expect five different
answers. Why? Because what matters to them is not
what cloud computing is, but what it does for them.
» Oracle Cloud.
Virtualization And Cloud Computing
• Easy to Scale
• Don’t care about insfrastructure design
• Don’t care about network design
• Don’t depend on everything, depend on only “your wallet”
• Cloud computing is the easiest way to deliver your
services over the Internet.
1. Physical System – Virtualization – Cloud Computing
2. Topica Edumall System Design
3. Apply with DevOps
4. Q&A
Topica Edumall hybrid system design
• 3 important element of system design
– Security
– High Availability
– Scalable
• => need a system with HA, Scalable, Security
Element of Edumall Insfrastructure
• VPS < DigitalOcean > (~40%)
• Physical Server and Network (Viettel, VDC, FPT)
• Cloud Computing ( AWS ) ( ~60%)
• Core system: Video Streaming
Edumall – Microservices on AWS
• IaaS
– VPC – Network – Firewall
– Compute – EC2
– Storage: S3, Glacier ( EFS - Future)
• SaaS
– DBMS: DynamoDB
– Caching
– CDN
– WAF
– Datanalyst Service (Near Future)
– Message Bus Application
– API Gateway
– ETS
– WorkSpaces
• ServerLess Architecture (Near Future)
Auto scale system
Benefit
• High availability system
• Easy with scale and everything will be automated
• Auto healing
• Save much money ( save about 40% with 100%
running application on AWS )
Edumall auto-scale system with Docker and
Kubernestes on AWS
Docker
• Docker containers wrap a piece of software in a
complete filesystem that contains everything needed
to run: code, runtime, system tools, system libraries
– anything that can be installed on a server. This
guarantees that the software will always run the
same, regardless of its environment.
• Build – Ship – Run
• Build once, run any where
Kubernetes
• Kubernetes is an open-source system for
automating deployment, scaling, and
management of containerized applications.
• “Write once, run forever”
• Build Auto-scale and self-healing system
Why?
• Easy to use
• Fast to scale
• Auto scale infrastructure and auto scale apps
• Auto create ELB
• Auto healing, warm-up
Some Number? (6 months ago)
• Video content transfer: 90GB (/1 day)
• Static Content (image, js, html, css): 1GB
• Total Request: ~ 32k
• Total Ram: ~ 128GB
• Total CPU: ~32vCpus
• Unique Visitor: ~4k6
• Total User: ~500k
• Maximum Unique Visitors: ~300
Some number? (present)
• Video content transfer: 1,5 TB (/1 day)
• Static Content (image, js, html, css): 100GB
• Total Request: ~ 5 mil
• Total Ram: ~ 2TB
• Total CPU: ~400vCpus
• Unique Visitor: ~50k
• Total User: ~20m
• Maximum Unique Visitors: ~5k
• EC2 Start: ~ 5 (M4 2xLarge)
1. Physical System – Virtualization – Cloud Computing
2. Topica Edumall System Design
3. Apply with DevOps
4. Q&A
With Dev
• Easy to use with SaaS
• Easy with authentication
• Easy with test environment
• Easy with code, change writing apps to reading
docs of AWS SaaS, and apply AWS SaaS to Our
Microservice System
• Document as Code
• Save 40% code-time with SaaS
With Ops
• Don’t need think about the insfrastructure, about
physical servers, ISP, Network, …
• Easy with Deployment
• Don’t need a monitoring system, Cloudwatch will
take care all of them.
• Less time for build, deploy a new insfrastructure,
platform
CI-CD workflow
Developer push a new commit to gitlab
Gitlab Trigger Gitlab Runner fetch and pull repo
Gitlab-runner build
Docker image
from Dockerfile
Excute test on all target
With all environment
Delivery images to Docker hub
Or Private registry
Deploy to K8s Cluster
Disadvantages
- While moving system on AWS, need to keep
alive two system ( Old and New ). So that, need
much money.
- So hard to motivate all team to use AWS.
Someone can’t change their mind.
- High latency from Vietnam to AWS when AAG is
on maintainance.
Future
• Data analyst Tool on AWS
• Serverless Architecture
• IOT
• Mobile Hub
Goals
• System Design with High Availability, Security
and Scalabililty
• Easy Operations -> HumanOps
• Save much money, and more benefit .
Q&A
Meetup: www.meetup.com/aws-vn
FB: www.facebook.com/groups/amazonwebservicevietnam
Join Slack: https://aws-vn.herokuapp.com/

More Related Content

What's hot

What's hot (20)

Thinkbox Software
Thinkbox SoftwareThinkbox Software
Thinkbox Software
 
Serverless Patterns
Serverless PatternsServerless Patterns
Serverless Patterns
 
Leonard Austin (Ravelin) - DevOps in a Machine Learning World
Leonard Austin (Ravelin) - DevOps in a Machine Learning WorldLeonard Austin (Ravelin) - DevOps in a Machine Learning World
Leonard Austin (Ravelin) - DevOps in a Machine Learning World
 
Sas 2015 event_driven
Sas 2015 event_drivenSas 2015 event_driven
Sas 2015 event_driven
 
Project Sherpa: How RightScale Went All in on Docker
Project Sherpa: How RightScale Went All in on DockerProject Sherpa: How RightScale Went All in on Docker
Project Sherpa: How RightScale Went All in on Docker
 
DevOpsCon Cloud Workshop
DevOpsCon Cloud Workshop DevOpsCon Cloud Workshop
DevOpsCon Cloud Workshop
 
Overcoming 5 Common Docker Challenges: How We Do It at RightScale
Overcoming 5 Common Docker Challenges: How We Do It at RightScaleOvercoming 5 Common Docker Challenges: How We Do It at RightScale
Overcoming 5 Common Docker Challenges: How We Do It at RightScale
 
Netflix Cloud Platform and Open Source
Netflix Cloud Platform and Open SourceNetflix Cloud Platform and Open Source
Netflix Cloud Platform and Open Source
 
Container Management with Amazon ECS
Container Management with Amazon ECSContainer Management with Amazon ECS
Container Management with Amazon ECS
 
Docker in the Cloud
Docker in the CloudDocker in the Cloud
Docker in the Cloud
 
AWS ELB Tips & Best Practices
AWS ELB Tips & Best PracticesAWS ELB Tips & Best Practices
AWS ELB Tips & Best Practices
 
Containerization: The DevOps Revolution
Containerization: The DevOps Revolution Containerization: The DevOps Revolution
Containerization: The DevOps Revolution
 
Serverless data processing with Data Pipeline
Serverless data processing with Data PipelineServerless data processing with Data Pipeline
Serverless data processing with Data Pipeline
 
OpenStack in the Enterprise
OpenStack in the EnterpriseOpenStack in the Enterprise
OpenStack in the Enterprise
 
(APP309) Running and Monitoring Docker Containers at Scale | AWS re:Invent 2014
(APP309) Running and Monitoring Docker Containers at Scale | AWS re:Invent 2014(APP309) Running and Monitoring Docker Containers at Scale | AWS re:Invent 2014
(APP309) Running and Monitoring Docker Containers at Scale | AWS re:Invent 2014
 
AWS re:Invent 2016 Fast Forward
AWS re:Invent 2016 Fast ForwardAWS re:Invent 2016 Fast Forward
AWS re:Invent 2016 Fast Forward
 
AWS Customer Presentation - How TubeMogul uses AWS
AWS Customer Presentation - How TubeMogul uses AWSAWS Customer Presentation - How TubeMogul uses AWS
AWS Customer Presentation - How TubeMogul uses AWS
 
Learn about AWS Certifications - Andrew May, Columbus
Learn about AWS Certifications - Andrew May, ColumbusLearn about AWS Certifications - Andrew May, Columbus
Learn about AWS Certifications - Andrew May, Columbus
 
Serverless
ServerlessServerless
Serverless
 
Sebastien goasguen cloud stack and docker
Sebastien goasguen   cloud stack and dockerSebastien goasguen   cloud stack and docker
Sebastien goasguen cloud stack and docker
 

Similar to Meetup #3: Migrate a fast scale system to AWS

Migrating enterprise workloads to AWS
Migrating enterprise workloads to AWSMigrating enterprise workloads to AWS
Migrating enterprise workloads to AWS
Tom Laszewski
 
OpenStack Block Storage 101
OpenStack Block Storage 101OpenStack Block Storage 101
OpenStack Block Storage 101
NetApp
 
Current State of Affairs – Cloud Computing - Indicthreads Cloud Computing Con...
Current State of Affairs – Cloud Computing - Indicthreads Cloud Computing Con...Current State of Affairs – Cloud Computing - Indicthreads Cloud Computing Con...
Current State of Affairs – Cloud Computing - Indicthreads Cloud Computing Con...
IndicThreads
 
Introduction of AWS Cloud Computing and its future for Biometric Department
Introduction of AWS Cloud Computing and its future for Biometric DepartmentIntroduction of AWS Cloud Computing and its future for Biometric Department
Introduction of AWS Cloud Computing and its future for Biometric Department
Kevin Lee
 
Migrating enterprise workloads to AWS
Migrating enterprise workloads to AWS Migrating enterprise workloads to AWS
Migrating enterprise workloads to AWS
Tom Laszewski
 

Similar to Meetup #3: Migrate a fast scale system to AWS (20)

Migrating to aws
Migrating to awsMigrating to aws
Migrating to aws
 
What is Cloud computing?
What is Cloud computing?What is Cloud computing?
What is Cloud computing?
 
Cloud Native Camel Riding
Cloud Native Camel RidingCloud Native Camel Riding
Cloud Native Camel Riding
 
Moving Viadeo to AWS (2015)
Moving Viadeo to AWS (2015)Moving Viadeo to AWS (2015)
Moving Viadeo to AWS (2015)
 
Migrating enterprise workloads to AWS
Migrating enterprise workloads to AWSMigrating enterprise workloads to AWS
Migrating enterprise workloads to AWS
 
OpenStack Block Storage 101
OpenStack Block Storage 101OpenStack Block Storage 101
OpenStack Block Storage 101
 
Current State of Affairs – Cloud Computing - Indicthreads Cloud Computing Con...
Current State of Affairs – Cloud Computing - Indicthreads Cloud Computing Con...Current State of Affairs – Cloud Computing - Indicthreads Cloud Computing Con...
Current State of Affairs – Cloud Computing - Indicthreads Cloud Computing Con...
 
AWS Webcast - Website Hosting in the Cloud
AWS Webcast - Website Hosting in the CloudAWS Webcast - Website Hosting in the Cloud
AWS Webcast - Website Hosting in the Cloud
 
AWS 101 - An Introduction to the Amazon Cloud
AWS 101  - An Introduction to the Amazon CloudAWS 101  - An Introduction to the Amazon Cloud
AWS 101 - An Introduction to the Amazon Cloud
 
Managing Your Cloud Assets
Managing Your Cloud AssetsManaging Your Cloud Assets
Managing Your Cloud Assets
 
Introduction of AWS Cloud Computing and its future for Biometric Department
Introduction of AWS Cloud Computing and its future for Biometric DepartmentIntroduction of AWS Cloud Computing and its future for Biometric Department
Introduction of AWS Cloud Computing and its future for Biometric Department
 
Cloud Computing - Challenges & Opportunities
Cloud Computing - Challenges & OpportunitiesCloud Computing - Challenges & Opportunities
Cloud Computing - Challenges & Opportunities
 
Windows Azure introduction
Windows Azure introductionWindows Azure introduction
Windows Azure introduction
 
Private cloud cloud-phoenix-april-2014
Private cloud cloud-phoenix-april-2014Private cloud cloud-phoenix-april-2014
Private cloud cloud-phoenix-april-2014
 
Architecting for AWS Cloud - let's do it right!
Architecting for AWS Cloud - let's do it right!Architecting for AWS Cloud - let's do it right!
Architecting for AWS Cloud - let's do it right!
 
AWS September Webinar Series - Visual Effects Rendering in the AWS Cloud with...
AWS September Webinar Series - Visual Effects Rendering in the AWS Cloud with...AWS September Webinar Series - Visual Effects Rendering in the AWS Cloud with...
AWS September Webinar Series - Visual Effects Rendering in the AWS Cloud with...
 
Yow Conference Dec 2013 Netflix Workshop Slides with Notes
Yow Conference Dec 2013 Netflix Workshop Slides with NotesYow Conference Dec 2013 Netflix Workshop Slides with Notes
Yow Conference Dec 2013 Netflix Workshop Slides with Notes
 
Migrating enterprise workloads to AWS
Migrating enterprise workloads to AWS Migrating enterprise workloads to AWS
Migrating enterprise workloads to AWS
 
Harness the Power of Hybrid Cloud with AWS and Avere
Harness the Power of Hybrid Cloud with AWS and AvereHarness the Power of Hybrid Cloud with AWS and Avere
Harness the Power of Hybrid Cloud with AWS and Avere
 
Welcome to databases in the Cloud
Welcome to databases in the CloudWelcome to databases in the Cloud
Welcome to databases in the Cloud
 

More from AWS Vietnam Community

More from AWS Vietnam Community (18)

Data Exchange talk AWSVNUG
Data Exchange talk AWSVNUGData Exchange talk AWSVNUG
Data Exchange talk AWSVNUG
 
Build multi region data warehouse on AWS - AWSVNUG
Build multi region data warehouse on AWS - AWSVNUGBuild multi region data warehouse on AWS - AWSVNUG
Build multi region data warehouse on AWS - AWSVNUG
 
Growth journey 2018 AWSVN
Growth journey 2018 AWSVNGrowth journey 2018 AWSVN
Growth journey 2018 AWSVN
 
Re invent 2018 top 15 launch announcements
Re invent 2018 top 15 launch announcementsRe invent 2018 top 15 launch announcements
Re invent 2018 top 15 launch announcements
 
Vietnam AWS Community Day 2018
Vietnam AWS Community Day 2018Vietnam AWS Community Day 2018
Vietnam AWS Community Day 2018
 
Series Meetup #1: Speech 2: Elastic beanstalk
Series Meetup #1: Speech 2: Elastic beanstalkSeries Meetup #1: Speech 2: Elastic beanstalk
Series Meetup #1: Speech 2: Elastic beanstalk
 
Series Meetup #1: Speech 1: Computing
Series Meetup #1: Speech 1: Computing Series Meetup #1: Speech 1: Computing
Series Meetup #1: Speech 1: Computing
 
Build an app on aws for your first 10 million users (2)
Build an app on aws for your first 10 million users (2)Build an app on aws for your first 10 million users (2)
Build an app on aws for your first 10 million users (2)
 
Vn introduction to cloud computing with amazon web services
Vn   introduction to cloud computing with amazon web servicesVn   introduction to cloud computing with amazon web services
Vn introduction to cloud computing with amazon web services
 
Meetup#7: AWS LightSail - The Simplicity of VPS - The Power of AWS
Meetup#7: AWS LightSail - The Simplicity of VPS - The Power of AWSMeetup#7: AWS LightSail - The Simplicity of VPS - The Power of AWS
Meetup#7: AWS LightSail - The Simplicity of VPS - The Power of AWS
 
Meetup#6: AWS-AI & Lambda Serverless
Meetup#6: AWS-AI & Lambda Serverless Meetup#6: AWS-AI & Lambda Serverless
Meetup#6: AWS-AI & Lambda Serverless
 
Cloud Solution Day 2016: Service Mesh for Kubernetes
Cloud Solution Day 2016: Service Mesh for KubernetesCloud Solution Day 2016: Service Mesh for Kubernetes
Cloud Solution Day 2016: Service Mesh for Kubernetes
 
Cloud Solution Day 2016: Microservices on Mesos & Netflix OSS
Cloud Solution Day 2016: Microservices on Mesos & Netflix OSSCloud Solution Day 2016: Microservices on Mesos & Netflix OSS
Cloud Solution Day 2016: Microservices on Mesos & Netflix OSS
 
Cloudsolutionday 2016: How to build a "zero-downtime" web application
Cloudsolutionday 2016: How to build a "zero-downtime" web application Cloudsolutionday 2016: How to build a "zero-downtime" web application
Cloudsolutionday 2016: How to build a "zero-downtime" web application
 
Cloudsolutionday 2016: Docker & FAAS at getvero.com
Cloudsolutionday 2016: Docker & FAAS at getvero.comCloudsolutionday 2016: Docker & FAAS at getvero.com
Cloudsolutionday 2016: Docker & FAAS at getvero.com
 
Cloudsolutionday 2016: Opening Remarks
Cloudsolutionday 2016: Opening RemarksCloudsolutionday 2016: Opening Remarks
Cloudsolutionday 2016: Opening Remarks
 
Meetup #4: AWS ELB Deep dive & Best practices
Meetup #4: AWS ELB Deep dive & Best practicesMeetup #4: AWS ELB Deep dive & Best practices
Meetup #4: AWS ELB Deep dive & Best practices
 
Meetup #5: Architecting for High Availability
Meetup #5: Architecting for High Availability Meetup #5: Architecting for High Availability
Meetup #5: Architecting for High Availability
 

Recently uploaded

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Recently uploaded (20)

Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 

Meetup #3: Migrate a fast scale system to AWS

  • 1. @Wayarmy – Quanpc@topica.edu.vn Topica Edumall SysAdmin Migrate a fast scale system to AWS Sep 22 2016
  • 2. About me • @wayarmy • Interested: Cloud Computing, AWS, Docker, IaaS, SaaS, PaaS, Apache Stack, Elastic Stack, Hashi Stack, Ruby on Rails, Linux, Unix… • Github: http://github.com/wayarmy • Sysadmin, SysOps, DevOps, HumanOps
  • 3. 1. Physical System – Virtualization – Cloud Computing 2. Topica Edumall System Design 3. Apply with DevOps 4. Q&A Meetup Agenda
  • 5. Advantage • Easy to control local system • Not depend on hosting provider • Do whatever if you want • … Disadvantage • So hard to scale • Security • Depend on network, energy power • Expensive • …
  • 6. • Ops aren’t immutable, they’re not available 99.99% nor 24/7 they’re not machines. • The goal of HumanOps is to improve and maintain the good health of your team: easing communication reducing fatigue and reducing stress » David Mytton – CEO Server Density
  • 7. Cloud Computing • The simple definition: It’s a style of computing based on shared, elastic resources delivered to users in a self-service, metered manner using web technologies. Yet, if you ask five people “what is cloud computing?” you can expect five different answers. Why? Because what matters to them is not what cloud computing is, but what it does for them. » Oracle Cloud.
  • 8. Virtualization And Cloud Computing • Easy to Scale • Don’t care about insfrastructure design • Don’t care about network design • Don’t depend on everything, depend on only “your wallet” • Cloud computing is the easiest way to deliver your services over the Internet.
  • 9. 1. Physical System – Virtualization – Cloud Computing 2. Topica Edumall System Design 3. Apply with DevOps 4. Q&A
  • 10. Topica Edumall hybrid system design • 3 important element of system design – Security – High Availability – Scalable • => need a system with HA, Scalable, Security
  • 11.
  • 12. Element of Edumall Insfrastructure • VPS < DigitalOcean > (~40%) • Physical Server and Network (Viettel, VDC, FPT) • Cloud Computing ( AWS ) ( ~60%) • Core system: Video Streaming
  • 13. Edumall – Microservices on AWS • IaaS – VPC – Network – Firewall – Compute – EC2 – Storage: S3, Glacier ( EFS - Future) • SaaS – DBMS: DynamoDB – Caching – CDN – WAF – Datanalyst Service (Near Future) – Message Bus Application – API Gateway – ETS – WorkSpaces • ServerLess Architecture (Near Future)
  • 15.
  • 16.
  • 17.
  • 18.
  • 19.
  • 20.
  • 21.
  • 22.
  • 23.
  • 24.
  • 25.
  • 26. Benefit • High availability system • Easy with scale and everything will be automated • Auto healing • Save much money ( save about 40% with 100% running application on AWS )
  • 27. Edumall auto-scale system with Docker and Kubernestes on AWS
  • 28. Docker • Docker containers wrap a piece of software in a complete filesystem that contains everything needed to run: code, runtime, system tools, system libraries – anything that can be installed on a server. This guarantees that the software will always run the same, regardless of its environment. • Build – Ship – Run • Build once, run any where
  • 29. Kubernetes • Kubernetes is an open-source system for automating deployment, scaling, and management of containerized applications. • “Write once, run forever” • Build Auto-scale and self-healing system
  • 30. Why? • Easy to use • Fast to scale • Auto scale infrastructure and auto scale apps • Auto create ELB • Auto healing, warm-up
  • 31.
  • 32. Some Number? (6 months ago) • Video content transfer: 90GB (/1 day) • Static Content (image, js, html, css): 1GB • Total Request: ~ 32k • Total Ram: ~ 128GB • Total CPU: ~32vCpus • Unique Visitor: ~4k6 • Total User: ~500k • Maximum Unique Visitors: ~300
  • 33. Some number? (present) • Video content transfer: 1,5 TB (/1 day) • Static Content (image, js, html, css): 100GB • Total Request: ~ 5 mil • Total Ram: ~ 2TB • Total CPU: ~400vCpus • Unique Visitor: ~50k • Total User: ~20m • Maximum Unique Visitors: ~5k • EC2 Start: ~ 5 (M4 2xLarge)
  • 34. 1. Physical System – Virtualization – Cloud Computing 2. Topica Edumall System Design 3. Apply with DevOps 4. Q&A
  • 35. With Dev • Easy to use with SaaS • Easy with authentication • Easy with test environment • Easy with code, change writing apps to reading docs of AWS SaaS, and apply AWS SaaS to Our Microservice System • Document as Code • Save 40% code-time with SaaS
  • 36. With Ops • Don’t need think about the insfrastructure, about physical servers, ISP, Network, … • Easy with Deployment • Don’t need a monitoring system, Cloudwatch will take care all of them. • Less time for build, deploy a new insfrastructure, platform
  • 37. CI-CD workflow Developer push a new commit to gitlab Gitlab Trigger Gitlab Runner fetch and pull repo Gitlab-runner build Docker image from Dockerfile Excute test on all target With all environment Delivery images to Docker hub Or Private registry Deploy to K8s Cluster
  • 38. Disadvantages - While moving system on AWS, need to keep alive two system ( Old and New ). So that, need much money. - So hard to motivate all team to use AWS. Someone can’t change their mind. - High latency from Vietnam to AWS when AAG is on maintainance.
  • 39. Future • Data analyst Tool on AWS • Serverless Architecture • IOT • Mobile Hub
  • 40. Goals • System Design with High Availability, Security and Scalabililty • Easy Operations -> HumanOps • Save much money, and more benefit .
  • 41. Q&A