26
Backup and Mobility For Kubernetes Applications Vaibhav Kamra @kastenhq @vaibhavkamra

Backup and Mobility For Kubernetes Applications Vaibhav Kamra · Vaibhav Kamra CTO & Co-Founder @ Kasten Previously: kubernetes stateful applications wide variety of patterns page

  • Upload
    others

  • View
    6

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Backup and Mobility For Kubernetes Applications Vaibhav Kamra · Vaibhav Kamra CTO & Co-Founder @ Kasten Previously: kubernetes stateful applications wide variety of patterns page

Backup and Mobility For Kubernetes Applications

Vaibhav Kamra@kastenhq @vaibhavkamra

Page 2: Backup and Mobility For Kubernetes Applications Vaibhav Kamra · Vaibhav Kamra CTO & Co-Founder @ Kasten Previously: kubernetes stateful applications wide variety of patterns page

agendawhat we’ll cover

page02

01 Application Patterns

03 Getting It Right

02 Backup and Mobility

04 Q&ADEMO

Page 3: Backup and Mobility For Kubernetes Applications Vaibhav Kamra · Vaibhav Kamra CTO & Co-Founder @ Kasten Previously: kubernetes stateful applications wide variety of patterns page

webinar surveyhelp us improve

page03

Your feedback will help us improve our webinar and you can register for our prize drawing on October 25th!

http://bit.ly/kasten-webinar

Page 4: Backup and Mobility For Kubernetes Applications Vaibhav Kamra · Vaibhav Kamra CTO & Co-Founder @ Kasten Previously: kubernetes stateful applications wide variety of patterns page

about me

page04

Vaibhav KamraCTO & Co-Founder @ Kasten

Previously:

Page 5: Backup and Mobility For Kubernetes Applications Vaibhav Kamra · Vaibhav Kamra CTO & Co-Founder @ Kasten Previously: kubernetes stateful applications wide variety of patterns page

kubernetes stateful applicationswide variety of patterns

page05

Application includes data services – all in Kubernetes

Namespace Namespace

Application and Data Services in Kubernetes – separate

namespaces

Namespace Namespace

Namespace

Application usesdata services outside of

Kubernetes

Namespace Namespace

Page 6: Backup and Mobility For Kubernetes Applications Vaibhav Kamra · Vaibhav Kamra CTO & Co-Founder @ Kasten Previously: kubernetes stateful applications wide variety of patterns page

backup and recoverywhat and why

page06

Infrastructure or Hardware Failure

Accidental or Malicious Data Loss

Compliance and Auditing

Application Misconfiguration

Systems in place to recover applications and data if things go bad

Page 7: Backup and Mobility For Kubernetes Applications Vaibhav Kamra · Vaibhav Kamra CTO & Co-Founder @ Kasten Previously: kubernetes stateful applications wide variety of patterns page

mobilitywhat and why

page07

Upgrade via Migration

Ver 1.x

Ver 2.y

Multi and Hybrid Cloud

Disaster/Site Failure

Ability to move an application and data to a different environment

Page 8: Backup and Mobility For Kubernetes Applications Vaibhav Kamra · Vaibhav Kamra CTO & Co-Founder @ Kasten Previously: kubernetes stateful applications wide variety of patterns page

backup and mobility strategykey elements

page08

Schedule and PoliciesRetention schedules to ensure

compliance and prevent storage costs from adding up.

AutomationAutomated discovery and

operations. Avoiding manual actions that will not scale and

are error prone.

FlexibilitySupport for all environment and data service types making your

applications truly portable.

Security and EncryptionAuthentication, authorization, and encrypted at rest and in-flight keeping your data safe.

Page 9: Backup and Mobility For Kubernetes Applications Vaibhav Kamra · Vaibhav Kamra CTO & Co-Founder @ Kasten Previously: kubernetes stateful applications wide variety of patterns page

backup and mobility strategykey elements

page09

Schedule and PoliciesRetention schedules to ensure

compliance and prevent storage costs from adding up.

AutomationAutomated discovery and

operations. Avoiding manual actions that will not scale and

are error prone.

FlexibilitySupport for all environment and data service types making your

applications truly portable.

Security and EncryptionAuthentication, authorization, and encrypted at rest and in-flight keeping your data safe.

Operate At Scale

Multi-Cloud, Multi-Cluster, Multi-Team, Multi-App

Page 10: Backup and Mobility For Kubernetes Applications Vaibhav Kamra · Vaibhav Kamra CTO & Co-Founder @ Kasten Previously: kubernetes stateful applications wide variety of patterns page

use cases:backup, recovery, mobility

Backup Recovery Mobility

Page 11: Backup and Mobility For Kubernetes Applications Vaibhav Kamra · Vaibhav Kamra CTO & Co-Founder @ Kasten Previously: kubernetes stateful applications wide variety of patterns page

backupdata capture

page011

https://blog.kasten.io/posts/flavors-of-data-management-in-kubernetes/

Page 12: Backup and Mobility For Kubernetes Applications Vaibhav Kamra · Vaibhav Kamra CTO & Co-Founder @ Kasten Previously: kubernetes stateful applications wide variety of patterns page

backupx-ray into a stateful application

page012

Real Production Application

Component Type NumberPods 106Secrets 92Services 87Deployments 76Certificates 70ConfigMaps 36Persistent Volumes 16Other K8s Components 55Total 538

Page 13: Backup and Mobility For Kubernetes Applications Vaibhav Kamra · Vaibhav Kamra CTO & Co-Founder @ Kasten Previously: kubernetes stateful applications wide variety of patterns page

backupdemo

page013

App + DataSnapshot

ObjectStorage

Google Persistent Disk

Page 14: Backup and Mobility For Kubernetes Applications Vaibhav Kamra · Vaibhav Kamra CTO & Co-Founder @ Kasten Previously: kubernetes stateful applications wide variety of patterns page

backupdemo app – storage snapshots

page014

https://blog.kasten.io/posts/flavors-of-data-management-in-kubernetes/

Page 15: Backup and Mobility For Kubernetes Applications Vaibhav Kamra · Vaibhav Kamra CTO & Co-Founder @ Kasten Previously: kubernetes stateful applications wide variety of patterns page

backupdemo app – data service snapshots

page015

https://blog.kasten.io/posts/flavors-of-data-management-in-kubernetes/

Page 16: Backup and Mobility For Kubernetes Applications Vaibhav Kamra · Vaibhav Kamra CTO & Co-Founder @ Kasten Previously: kubernetes stateful applications wide variety of patterns page

kanister frameworkextensibility for data management workflows

page016

Open-Source FrameworkDeveloper Focused

Cassandra

kanister.io

Amazon RDS

Page 17: Backup and Mobility For Kubernetes Applications Vaibhav Kamra · Vaibhav Kamra CTO & Co-Founder @ Kasten Previously: kubernetes stateful applications wide variety of patterns page

backupdemo

page017

Complete Application CaptureConsistent data and application resources capture

Policy-based scheduling and retentionIndependent snapshot, backup and retention schedulesPolicy based application-

specific snapshot and backup to an object storage

location with compliance, scheduling, visibility and

auto-discoverySupport for all application architecturesSupport a wide variety of data sources, not just volume snapshots

Extensible via Kanister. Full automation of any workflow and customactions

Backup

Page 18: Backup and Mobility For Kubernetes Applications Vaibhav Kamra · Vaibhav Kamra CTO & Co-Founder @ Kasten Previously: kubernetes stateful applications wide variety of patterns page

use casesbackup, recovery, mobility

Backup Recovery Mobility

Page 19: Backup and Mobility For Kubernetes Applications Vaibhav Kamra · Vaibhav Kamra CTO & Co-Founder @ Kasten Previously: kubernetes stateful applications wide variety of patterns page

recoverydemo

page019

ObjectStorage

App + DataSnapshot

Google Persistent Disk

Restore App Pull RestorePoint

Page 20: Backup and Mobility For Kubernetes Applications Vaibhav Kamra · Vaibhav Kamra CTO & Co-Founder @ Kasten Previously: kubernetes stateful applications wide variety of patterns page

recoverydemo

page020

Complete Application RecoveryFull application recovery including data and resources

FlexibilitySupport for partial restores and cloning

AutomationOrchestration of infrastructure repaving and Kubernetes resource/data operations

Extensible via Kanister. Full automation of any workflow and customactions

Recover complete application and data in-place to a previous point-in-time by

repaving infrastructure

Recovery

Page 21: Backup and Mobility For Kubernetes Applications Vaibhav Kamra · Vaibhav Kamra CTO & Co-Founder @ Kasten Previously: kubernetes stateful applications wide variety of patterns page

use casesbackup, recovery, mobility

Backup Recovery Mobility

Page 22: Backup and Mobility For Kubernetes Applications Vaibhav Kamra · Vaibhav Kamra CTO & Co-Founder @ Kasten Previously: kubernetes stateful applications wide variety of patterns page

mobilityneed freedom of choice

page022

Storage Systems

Public Cloud Storage

Kubernetes

Public Cloud Solutions

On-Premises Distributions On-Premises Storage

Object Storage

Data Services

Other Data Stores

MySQL ElasticMongoDB Postgres

AWSEBS/EFS

GooglePersistent Disk

IBM IKS AzureDisk

IBM Blockand File

AWS S3

Google Cloud Storage

Minio AzureBlob

S3Compatible

CassandraLocal Storage

And many more…

Page 23: Backup and Mobility For Kubernetes Applications Vaibhav Kamra · Vaibhav Kamra CTO & Co-Founder @ Kasten Previously: kubernetes stateful applications wide variety of patterns page

mobilitydemo

page023

Google Persistent Disk

ObjectStorage

App + DataSnapshot

Elastic Block Storage

ImportRestore Point

RestoreApplication

Page 24: Backup and Mobility For Kubernetes Applications Vaibhav Kamra · Vaibhav Kamra CTO & Co-Founder @ Kasten Previously: kubernetes stateful applications wide variety of patterns page

mobilitydemo

page024

Cross-cluster clone of entire applicationMake applications truly portableAbstract away infrastructure specifics

No storage overlay requiredLeverage best-in-class native storage in cloud/on-prem environmentsNo extra management, performance or cost overhead of a SDS solution

AutomationPolicy-based and extensible via KanisterEnable one time or periodic clones, DR-testing, prod->dev/test refresh

Cloned an application and data across clouds and non-federated clusters

Mobility

Page 25: Backup and Mobility For Kubernetes Applications Vaibhav Kamra · Vaibhav Kamra CTO & Co-Founder @ Kasten Previously: kubernetes stateful applications wide variety of patterns page

kasten K10kubernetes backup and mobility made easy

page025

Data Management Platform

Rich Ecosystem

Ease of Use

Secure

Built for Kubernetes

Try the full-featured starter edition free: https://kasten.io/product

<$500 and <30 days on Google

Page 26: Backup and Mobility For Kubernetes Applications Vaibhav Kamra · Vaibhav Kamra CTO & Co-Founder @ Kasten Previously: kubernetes stateful applications wide variety of patterns page

Questions?Coming to KubeCon 2019 in San Diego?

You can find us at: Booth S41

kasten.io

@kastenhq @vaibhavkamra

Send us feedback and register for our prize drawing!

http://bit.ly/kasten-webinar