SlideShare une entreprise Scribd logo
1  sur  24
@jscarp1 © DataStax, All Rights Reserved.
Deploying Cassandra in
Multi-Cloud
Jeff Carpenter
@jscarp2 © DataStax, All Rights Reserved.
@jscarp
Got Consoles?
© DataStax, All Rights Reserved.3
@jscarp4 © DataStax, All Rights Reserved.
@jscarp5 © DataStax, All Rights Reserved.
@jscarp
Why multi-cloud?
• Data center locality
• Provider-specific services
• Cloud provider competition
• Cost
Key question: Unique workloads, or same workload?
© DataStax, All Rights Reserved.6
@jscarp
Challenges
• General: complexity, terminology
naming, observability
• Networking: routing, load balancing,
reliability, latency
• Application / Service Tier: scaling,
managing state, caching
• Database Tier: legal / policy
compliance,
• Security: identity management,
boundary protection, encryption,
auditing
© DataStax, All Rights Reserved.7
@jscarp8 © DataStax, All Rights Reserved.
@jscarp
KillrVideo – a video sharing application
© DataStax, All Rights Reserved.9
https://github.com/KillrVideo
https://killrvideo.github.io
http://killrvideo.com
@jscarp
KillrVideo Architecture
© DataStax, All Rights Reserved.10
KillrVideo
Services
Your
Browser
Web
Application
Technology Choices
• Node.js
• Falcor
• Java / C# / Node.js
• GRPC
• Etcd
• DataStax Drivers
• DataStax Enterprise
including Apache
Cassandra & Spark,
Graph
Deployment
• Download and run locally
via Docker
• Deployed in AWS using
DataStax Managed
Cloud:
http://killrvideo.com/
@jscarp
WEB
WEB Client
static RenderUI States Requests
bootstrap React Redux Falcor
WEB Server
Incoming
requests
Falcor Router
HTTP
request
Service
requests
Service
Registry
Service TIER (x3)
CASSANDRA
Microservices
(Service
requests)
9091
generator
SEARCH
GRAPH
ANALYTICS
DRIVERS
9042
2379
registrator
Express grpc
3000
8899
@jscarp
OREGON (US-WEST-2)
www.killrvideo.com
Killrvideo-gilardi-default
Killrvideo-dev application
(vpc-7ddc1e18)
Killrvideo-prod
application
us-west-2a us-west-2b us-west-2c
KillrVideo on Amazon overview
Killrvideo-web-2Killrvideo-web-1
KillrVideo-web studio KillrVideo-web studio
killrvideo-devkillrvideo-prod
Dse_cassansdra
Killrvideo-server-A
Killrvideo-server-A Killrvideo-server-A
KillrVideo-server studio KillrVideo-server studio KillrVideo-server studio
ELB
Killrvideo-dev
ELB
Killrvideo-prod
Ops
Center
Ops
Center
Ops
Center
Ops
Center DSE DSE. DSE DSE DSE DSE
@jscarp
DataStax Managed Cloud
• DSE on public cloud (AWS, Azure) for
production workloads
• 24x7x365 coverage, lights-out
management
• System configuration and tuning to meet
your-specific requirements
• Architecture advisory services,
guidance, and best practices
• Focus on business innovation and
accelerate time-to-market
© DataStax, All Rights Reserved.13
@jscarp
DataStax Management and Hosting Options
© DataStax, All Rights Reserved.
14
OpsCenter DataStax Cloud
Self-Managed
And Hosted
DataStax Managed
And Hosted
@jscarp
AWS Azure GCP
Desired End State
• Three clouds: AWS, Azure, GCP
• One DC per cloud
• Full stack available in each DC
• Same data in each DC
• Secure network between DCs
• Independent web / application tiers
per DC
• Interactions only at the database
tier
© DataStax, All Rights Reserved.15
Services
Client
Web
@jscarp16 © DataStax, All Rights Reserved.
@jscarp17 © DataStax, All Rights Reserved.
@jscarp
Application Tier Considerations
• Things to consider
– Deployment
– Orchestration
– Scheduling
– Service discovery and routing
– Distributed tracing
© DataStax, All Rights Reserved.
• KillrVideo Multi-Cloud Prototype
– Manual creation of compute
– Manual provisioning
– Etcd for service discovery
• Desired end state
– Service mesh (Istio, Envoy)
– Terraform
– Kubernetes
18
@jscarp
Database Tier Considerations
• Things to consider
– Snitch, topology, seed nodes
– Keyspace replication strategies
– Security best practices
© DataStax, All Rights Reserved.
• KillrVideo Multi-Cloud Prototype
– GossipingPropertyFileSnitch
– NetworkTopologyStrategy (RF=3 per DC)
– Automated creation of new admin/user
accounts
– Node-to-node encryption
• Things we may still explore
– Kubernetes operator for C* / DSE
– Managing data locality
19
@jscarp
Security and Network Considerations
• Things to consider
– Networking across data centers
• Latency
• Access control
• Encryption
• Which tiers?
– Privacy and data locality compliance
© DataStax, All Rights Reserved.
• KillrVideo Multi-Cloud Prototype
– Public IPs for prototype
• Not for production
• Desired End State
– Private networks between clouds
– 3rd party load balancer
20
@jscarp
KillrVideo Roadmap
• (loosely) Multi-cloud related
– Service packaging (separate
processes)
– Service discovery /
communications (Envoy, Istio)
– Kubernetes (of course)
© DataStax, All Rights Reserved.
• Other Stuff
– Customer 360 extension
– Streaming (Kafka)
– CI/CD Automation
– Distributed Tracing
– Improved Metrics
– Analytics (virtual DC)
– Python service implementations
– GraphQL API / client
21
@jscarp
Recommendations and Best Practices
• Orchestration / Scheduling ➡️ Kubernetes for application tier, maybe
for data tier
• Application / service tier ➡️ Push state to the data tier
• Data tier ➡️ Apache Cassandra / DataStax Enterprise for cross-cloud
replication and scaling
• Automate deployment ➡️ Terraform, etc.
© DataStax, All Rights Reserved.22
@jscarp
Talking Multi-Cloud on the Distributed Data Show
• Episode 56: Multi-Cloud: The What
& Why
• Episode 57: Multi-Cloud Challenges
• Episode 58: Multi-Cloud Networking
© DataStax, All Rights Reserved.
• Episode 59: Multi-Cloud State
Management
• Episode 60 / 61: Multi-Cloud
Security and Compliance
23
https://www.youtube.com/datastaxacademy
@jscarp
Credits and Advertisements
• Thanks for help from
– Adron Hall @Adron
– David Gilardi @SonicDMG
– Justin Breese @justinbreese
– Cedrick Lunven @clunven
– Patrick McFadin @PatrickMcFadin
– Amanda Moran @AmandaDataStax
– Hannah Aubry @DataStaxAcademy
© DataStax, All Rights Reserved.24

Contenu connexe

Tendances

DataStax | DataStax Enterprise Advanced Replication (Brian Hess & Cliff Gilmo...
DataStax | DataStax Enterprise Advanced Replication (Brian Hess & Cliff Gilmo...DataStax | DataStax Enterprise Advanced Replication (Brian Hess & Cliff Gilmo...
DataStax | DataStax Enterprise Advanced Replication (Brian Hess & Cliff Gilmo...DataStax
 
Architecture at Scale
Architecture at ScaleArchitecture at Scale
Architecture at ScaleElasticsearch
 
Fast, In-Memory SQL on Apache Cassandra with Apache Ignite (Rachel Pedreschi,...
Fast, In-Memory SQL on Apache Cassandra with Apache Ignite (Rachel Pedreschi,...Fast, In-Memory SQL on Apache Cassandra with Apache Ignite (Rachel Pedreschi,...
Fast, In-Memory SQL on Apache Cassandra with Apache Ignite (Rachel Pedreschi,...DataStax
 
Scylla Summit 2022: ScyllaDB Cloud: Simplifying Deployment to the Public Cloud
Scylla Summit 2022: ScyllaDB Cloud: Simplifying Deployment to the Public CloudScylla Summit 2022: ScyllaDB Cloud: Simplifying Deployment to the Public Cloud
Scylla Summit 2022: ScyllaDB Cloud: Simplifying Deployment to the Public CloudScyllaDB
 
CEP - simplified streaming architecture - Strata Singapore 2016
CEP - simplified streaming architecture - Strata Singapore 2016CEP - simplified streaming architecture - Strata Singapore 2016
CEP - simplified streaming architecture - Strata Singapore 2016Mathieu Dumoulin
 
Low-latency real-time data processing at giga-scale with Kafka | John DesJard...
Low-latency real-time data processing at giga-scale with Kafka | John DesJard...Low-latency real-time data processing at giga-scale with Kafka | John DesJard...
Low-latency real-time data processing at giga-scale with Kafka | John DesJard...HostedbyConfluent
 
How to teach your data scientist to leverage an analytics cluster with Presto...
How to teach your data scientist to leverage an analytics cluster with Presto...How to teach your data scientist to leverage an analytics cluster with Presto...
How to teach your data scientist to leverage an analytics cluster with Presto...Alluxio, Inc.
 
Analytics at the Real-Time Speed of Business: Spark Summit East talk by Manis...
Analytics at the Real-Time Speed of Business: Spark Summit East talk by Manis...Analytics at the Real-Time Speed of Business: Spark Summit East talk by Manis...
Analytics at the Real-Time Speed of Business: Spark Summit East talk by Manis...Spark Summit
 
DataOps Automation for a Kafka Streaming Platform (Andrew Stevenson + Spiros ...
DataOps Automation for a Kafka Streaming Platform (Andrew Stevenson + Spiros ...DataOps Automation for a Kafka Streaming Platform (Andrew Stevenson + Spiros ...
DataOps Automation for a Kafka Streaming Platform (Andrew Stevenson + Spiros ...HostedbyConfluent
 
Případová studie Fortuna aneb Veeam dostupnost v praxi
Případová studie Fortuna aneb Veeam dostupnost v praxiPřípadová studie Fortuna aneb Veeam dostupnost v praxi
Případová studie Fortuna aneb Veeam dostupnost v praxiMarketingArrowECS_CZ
 
Speeding Up Atlas Deep Learning Platform with Alluxio + Fluid
Speeding Up Atlas Deep Learning Platform with Alluxio + FluidSpeeding Up Atlas Deep Learning Platform with Alluxio + Fluid
Speeding Up Atlas Deep Learning Platform with Alluxio + FluidAlluxio, Inc.
 
Preventative Maintenance of Robots in Automotive Industry
Preventative Maintenance of Robots in Automotive IndustryPreventative Maintenance of Robots in Automotive Industry
Preventative Maintenance of Robots in Automotive IndustryDataWorks Summit/Hadoop Summit
 
Faster Batch Processing with Cloudera 5.7: Hive-on-Spark is ready for production
Faster Batch Processing with Cloudera 5.7: Hive-on-Spark is ready for productionFaster Batch Processing with Cloudera 5.7: Hive-on-Spark is ready for production
Faster Batch Processing with Cloudera 5.7: Hive-on-Spark is ready for productionCloudera, Inc.
 
How jKool Analyzes Streaming Data in Real Time with DataStax
How jKool Analyzes Streaming Data in Real Time with DataStaxHow jKool Analyzes Streaming Data in Real Time with DataStax
How jKool Analyzes Streaming Data in Real Time with DataStaxDataStax
 
Mainframe Integration, Offloading and Replacement with Apache Kafka | Kai Wae...
Mainframe Integration, Offloading and Replacement with Apache Kafka | Kai Wae...Mainframe Integration, Offloading and Replacement with Apache Kafka | Kai Wae...
Mainframe Integration, Offloading and Replacement with Apache Kafka | Kai Wae...HostedbyConfluent
 
Spark meetup - Zoomdata Streaming
Spark meetup  - Zoomdata StreamingSpark meetup  - Zoomdata Streaming
Spark meetup - Zoomdata StreamingZoomdata
 
Easy and Flexible Application Deployment with HashiCorp Nomad
Easy and Flexible Application Deployment with HashiCorp NomadEasy and Flexible Application Deployment with HashiCorp Nomad
Easy and Flexible Application Deployment with HashiCorp NomadAmanda MacLeod
 
Complex Analytics with NoSQL Data Store in Real Time
Complex Analytics with NoSQL Data Store in Real TimeComplex Analytics with NoSQL Data Store in Real Time
Complex Analytics with NoSQL Data Store in Real TimeNati Shalom
 
Building Complete Private Clouds with Apache CloudStack and Riak CS
Building Complete Private Clouds with Apache CloudStack and Riak CSBuilding Complete Private Clouds with Apache CloudStack and Riak CS
Building Complete Private Clouds with Apache CloudStack and Riak CSJohn Burwell
 
Simplifying Hadoop with RecordService, A Secure and Unified Data Access Path ...
Simplifying Hadoop with RecordService, A Secure and Unified Data Access Path ...Simplifying Hadoop with RecordService, A Secure and Unified Data Access Path ...
Simplifying Hadoop with RecordService, A Secure and Unified Data Access Path ...Cloudera, Inc.
 

Tendances (20)

DataStax | DataStax Enterprise Advanced Replication (Brian Hess & Cliff Gilmo...
DataStax | DataStax Enterprise Advanced Replication (Brian Hess & Cliff Gilmo...DataStax | DataStax Enterprise Advanced Replication (Brian Hess & Cliff Gilmo...
DataStax | DataStax Enterprise Advanced Replication (Brian Hess & Cliff Gilmo...
 
Architecture at Scale
Architecture at ScaleArchitecture at Scale
Architecture at Scale
 
Fast, In-Memory SQL on Apache Cassandra with Apache Ignite (Rachel Pedreschi,...
Fast, In-Memory SQL on Apache Cassandra with Apache Ignite (Rachel Pedreschi,...Fast, In-Memory SQL on Apache Cassandra with Apache Ignite (Rachel Pedreschi,...
Fast, In-Memory SQL on Apache Cassandra with Apache Ignite (Rachel Pedreschi,...
 
Scylla Summit 2022: ScyllaDB Cloud: Simplifying Deployment to the Public Cloud
Scylla Summit 2022: ScyllaDB Cloud: Simplifying Deployment to the Public CloudScylla Summit 2022: ScyllaDB Cloud: Simplifying Deployment to the Public Cloud
Scylla Summit 2022: ScyllaDB Cloud: Simplifying Deployment to the Public Cloud
 
CEP - simplified streaming architecture - Strata Singapore 2016
CEP - simplified streaming architecture - Strata Singapore 2016CEP - simplified streaming architecture - Strata Singapore 2016
CEP - simplified streaming architecture - Strata Singapore 2016
 
Low-latency real-time data processing at giga-scale with Kafka | John DesJard...
Low-latency real-time data processing at giga-scale with Kafka | John DesJard...Low-latency real-time data processing at giga-scale with Kafka | John DesJard...
Low-latency real-time data processing at giga-scale with Kafka | John DesJard...
 
How to teach your data scientist to leverage an analytics cluster with Presto...
How to teach your data scientist to leverage an analytics cluster with Presto...How to teach your data scientist to leverage an analytics cluster with Presto...
How to teach your data scientist to leverage an analytics cluster with Presto...
 
Analytics at the Real-Time Speed of Business: Spark Summit East talk by Manis...
Analytics at the Real-Time Speed of Business: Spark Summit East talk by Manis...Analytics at the Real-Time Speed of Business: Spark Summit East talk by Manis...
Analytics at the Real-Time Speed of Business: Spark Summit East talk by Manis...
 
DataOps Automation for a Kafka Streaming Platform (Andrew Stevenson + Spiros ...
DataOps Automation for a Kafka Streaming Platform (Andrew Stevenson + Spiros ...DataOps Automation for a Kafka Streaming Platform (Andrew Stevenson + Spiros ...
DataOps Automation for a Kafka Streaming Platform (Andrew Stevenson + Spiros ...
 
Případová studie Fortuna aneb Veeam dostupnost v praxi
Případová studie Fortuna aneb Veeam dostupnost v praxiPřípadová studie Fortuna aneb Veeam dostupnost v praxi
Případová studie Fortuna aneb Veeam dostupnost v praxi
 
Speeding Up Atlas Deep Learning Platform with Alluxio + Fluid
Speeding Up Atlas Deep Learning Platform with Alluxio + FluidSpeeding Up Atlas Deep Learning Platform with Alluxio + Fluid
Speeding Up Atlas Deep Learning Platform with Alluxio + Fluid
 
Preventative Maintenance of Robots in Automotive Industry
Preventative Maintenance of Robots in Automotive IndustryPreventative Maintenance of Robots in Automotive Industry
Preventative Maintenance of Robots in Automotive Industry
 
Faster Batch Processing with Cloudera 5.7: Hive-on-Spark is ready for production
Faster Batch Processing with Cloudera 5.7: Hive-on-Spark is ready for productionFaster Batch Processing with Cloudera 5.7: Hive-on-Spark is ready for production
Faster Batch Processing with Cloudera 5.7: Hive-on-Spark is ready for production
 
How jKool Analyzes Streaming Data in Real Time with DataStax
How jKool Analyzes Streaming Data in Real Time with DataStaxHow jKool Analyzes Streaming Data in Real Time with DataStax
How jKool Analyzes Streaming Data in Real Time with DataStax
 
Mainframe Integration, Offloading and Replacement with Apache Kafka | Kai Wae...
Mainframe Integration, Offloading and Replacement with Apache Kafka | Kai Wae...Mainframe Integration, Offloading and Replacement with Apache Kafka | Kai Wae...
Mainframe Integration, Offloading and Replacement with Apache Kafka | Kai Wae...
 
Spark meetup - Zoomdata Streaming
Spark meetup  - Zoomdata StreamingSpark meetup  - Zoomdata Streaming
Spark meetup - Zoomdata Streaming
 
Easy and Flexible Application Deployment with HashiCorp Nomad
Easy and Flexible Application Deployment with HashiCorp NomadEasy and Flexible Application Deployment with HashiCorp Nomad
Easy and Flexible Application Deployment with HashiCorp Nomad
 
Complex Analytics with NoSQL Data Store in Real Time
Complex Analytics with NoSQL Data Store in Real TimeComplex Analytics with NoSQL Data Store in Real Time
Complex Analytics with NoSQL Data Store in Real Time
 
Building Complete Private Clouds with Apache CloudStack and Riak CS
Building Complete Private Clouds with Apache CloudStack and Riak CSBuilding Complete Private Clouds with Apache CloudStack and Riak CS
Building Complete Private Clouds with Apache CloudStack and Riak CS
 
Simplifying Hadoop with RecordService, A Secure and Unified Data Access Path ...
Simplifying Hadoop with RecordService, A Secure and Unified Data Access Path ...Simplifying Hadoop with RecordService, A Secure and Unified Data Access Path ...
Simplifying Hadoop with RecordService, A Secure and Unified Data Access Path ...
 

Similaire à Deploying Cassandra Multi-cloud

Data Con LA 2019 - Patterns for Persistence and Streaming in Cloud Architectu...
Data Con LA 2019 - Patterns for Persistence and Streaming in Cloud Architectu...Data Con LA 2019 - Patterns for Persistence and Streaming in Cloud Architectu...
Data Con LA 2019 - Patterns for Persistence and Streaming in Cloud Architectu...Data Con LA
 
Patterns for Persistence and Streaming in Microservice Architectures
Patterns for Persistence and Streaming in Microservice ArchitecturesPatterns for Persistence and Streaming in Microservice Architectures
Patterns for Persistence and Streaming in Microservice ArchitecturesJeffrey Carpenter
 
Introduction to Apache Geode (Cork, Ireland)
Introduction to Apache Geode (Cork, Ireland)Introduction to Apache Geode (Cork, Ireland)
Introduction to Apache Geode (Cork, Ireland)Anthony Baker
 
Bryan Thompson, Chief Scientist and Founder, SYSTAP, LLC at MLconf ATL
Bryan Thompson, Chief Scientist and Founder, SYSTAP, LLC at MLconf ATLBryan Thompson, Chief Scientist and Founder, SYSTAP, LLC at MLconf ATL
Bryan Thompson, Chief Scientist and Founder, SYSTAP, LLC at MLconf ATLMLconf
 
Building a Pluggable Analytics Stack with Cassandra (Jim Peregord, Element Co...
Building a Pluggable Analytics Stack with Cassandra (Jim Peregord, Element Co...Building a Pluggable Analytics Stack with Cassandra (Jim Peregord, Element Co...
Building a Pluggable Analytics Stack with Cassandra (Jim Peregord, Element Co...DataStax
 
Apache Geode Meetup, Cork, Ireland at CIT
Apache Geode Meetup, Cork, Ireland at CITApache Geode Meetup, Cork, Ireland at CIT
Apache Geode Meetup, Cork, Ireland at CITApache Geode
 
How to Integrate Hyperconverged Systems with Existing SANs
How to Integrate Hyperconverged Systems with Existing SANsHow to Integrate Hyperconverged Systems with Existing SANs
How to Integrate Hyperconverged Systems with Existing SANsDataCore Software
 
Event Detection Pipelines with Apache Kafka
Event Detection Pipelines with Apache KafkaEvent Detection Pipelines with Apache Kafka
Event Detection Pipelines with Apache KafkaDataWorks Summit
 
PayPal datalake journey | teradata - edge of next | san diego | 2017 october ...
PayPal datalake journey | teradata - edge of next | san diego | 2017 october ...PayPal datalake journey | teradata - edge of next | san diego | 2017 october ...
PayPal datalake journey | teradata - edge of next | san diego | 2017 october ...Deepak Chandramouli
 
Key Design Considerations Private and Hybrid Clouds - RightScale Compute 2013
Key Design Considerations Private and Hybrid Clouds - RightScale Compute 2013Key Design Considerations Private and Hybrid Clouds - RightScale Compute 2013
Key Design Considerations Private and Hybrid Clouds - RightScale Compute 2013RightScale
 
YugaByte + PKS CloudFoundry Meetup 10/15/2018
YugaByte + PKS CloudFoundry Meetup 10/15/2018YugaByte + PKS CloudFoundry Meetup 10/15/2018
YugaByte + PKS CloudFoundry Meetup 10/15/2018AlanCaldera
 
First in Class: Optimizing the Data Lake for Tighter Integration
First in Class: Optimizing the Data Lake for Tighter IntegrationFirst in Class: Optimizing the Data Lake for Tighter Integration
First in Class: Optimizing the Data Lake for Tighter IntegrationInside Analysis
 
Spark One Platform Webinar
Spark One Platform WebinarSpark One Platform Webinar
Spark One Platform WebinarCloudera, Inc.
 
How Data Drives Business at Choice Hotels
How Data Drives Business at Choice HotelsHow Data Drives Business at Choice Hotels
How Data Drives Business at Choice HotelsCloudera, Inc.
 
Whither the Hadoop Developer Experience, June Hadoop Meetup, Nitin Motgi
Whither the Hadoop Developer Experience, June Hadoop Meetup, Nitin MotgiWhither the Hadoop Developer Experience, June Hadoop Meetup, Nitin Motgi
Whither the Hadoop Developer Experience, June Hadoop Meetup, Nitin MotgiFelicia Haggarty
 
Top 10 Best Practices for Apache Cassandra and DataStax Enterprise
Top 10 Best Practices for Apache Cassandra and DataStax EnterpriseTop 10 Best Practices for Apache Cassandra and DataStax Enterprise
Top 10 Best Practices for Apache Cassandra and DataStax EnterpriseDataStax
 
Cloud Migration Paths: Kubernetes, IaaS, or DBaaS
Cloud Migration Paths: Kubernetes, IaaS, or DBaaSCloud Migration Paths: Kubernetes, IaaS, or DBaaS
Cloud Migration Paths: Kubernetes, IaaS, or DBaaSEDB
 
Real Time Data Processing Using Spark Streaming
Real Time Data Processing Using Spark StreamingReal Time Data Processing Using Spark Streaming
Real Time Data Processing Using Spark StreamingHari Shreedharan
 
RightScale Webinar: Key Considerations For Cloud Migration and Portability
RightScale Webinar:  Key Considerations For Cloud Migration and PortabilityRightScale Webinar:  Key Considerations For Cloud Migration and Portability
RightScale Webinar: Key Considerations For Cloud Migration and PortabilityRightScale
 
Caching In The Cloud
Caching In The CloudCaching In The Cloud
Caching In The CloudAlex Miller
 

Similaire à Deploying Cassandra Multi-cloud (20)

Data Con LA 2019 - Patterns for Persistence and Streaming in Cloud Architectu...
Data Con LA 2019 - Patterns for Persistence and Streaming in Cloud Architectu...Data Con LA 2019 - Patterns for Persistence and Streaming in Cloud Architectu...
Data Con LA 2019 - Patterns for Persistence and Streaming in Cloud Architectu...
 
Patterns for Persistence and Streaming in Microservice Architectures
Patterns for Persistence and Streaming in Microservice ArchitecturesPatterns for Persistence and Streaming in Microservice Architectures
Patterns for Persistence and Streaming in Microservice Architectures
 
Introduction to Apache Geode (Cork, Ireland)
Introduction to Apache Geode (Cork, Ireland)Introduction to Apache Geode (Cork, Ireland)
Introduction to Apache Geode (Cork, Ireland)
 
Bryan Thompson, Chief Scientist and Founder, SYSTAP, LLC at MLconf ATL
Bryan Thompson, Chief Scientist and Founder, SYSTAP, LLC at MLconf ATLBryan Thompson, Chief Scientist and Founder, SYSTAP, LLC at MLconf ATL
Bryan Thompson, Chief Scientist and Founder, SYSTAP, LLC at MLconf ATL
 
Building a Pluggable Analytics Stack with Cassandra (Jim Peregord, Element Co...
Building a Pluggable Analytics Stack with Cassandra (Jim Peregord, Element Co...Building a Pluggable Analytics Stack with Cassandra (Jim Peregord, Element Co...
Building a Pluggable Analytics Stack with Cassandra (Jim Peregord, Element Co...
 
Apache Geode Meetup, Cork, Ireland at CIT
Apache Geode Meetup, Cork, Ireland at CITApache Geode Meetup, Cork, Ireland at CIT
Apache Geode Meetup, Cork, Ireland at CIT
 
How to Integrate Hyperconverged Systems with Existing SANs
How to Integrate Hyperconverged Systems with Existing SANsHow to Integrate Hyperconverged Systems with Existing SANs
How to Integrate Hyperconverged Systems with Existing SANs
 
Event Detection Pipelines with Apache Kafka
Event Detection Pipelines with Apache KafkaEvent Detection Pipelines with Apache Kafka
Event Detection Pipelines with Apache Kafka
 
PayPal datalake journey | teradata - edge of next | san diego | 2017 october ...
PayPal datalake journey | teradata - edge of next | san diego | 2017 october ...PayPal datalake journey | teradata - edge of next | san diego | 2017 october ...
PayPal datalake journey | teradata - edge of next | san diego | 2017 october ...
 
Key Design Considerations Private and Hybrid Clouds - RightScale Compute 2013
Key Design Considerations Private and Hybrid Clouds - RightScale Compute 2013Key Design Considerations Private and Hybrid Clouds - RightScale Compute 2013
Key Design Considerations Private and Hybrid Clouds - RightScale Compute 2013
 
YugaByte + PKS CloudFoundry Meetup 10/15/2018
YugaByte + PKS CloudFoundry Meetup 10/15/2018YugaByte + PKS CloudFoundry Meetup 10/15/2018
YugaByte + PKS CloudFoundry Meetup 10/15/2018
 
First in Class: Optimizing the Data Lake for Tighter Integration
First in Class: Optimizing the Data Lake for Tighter IntegrationFirst in Class: Optimizing the Data Lake for Tighter Integration
First in Class: Optimizing the Data Lake for Tighter Integration
 
Spark One Platform Webinar
Spark One Platform WebinarSpark One Platform Webinar
Spark One Platform Webinar
 
How Data Drives Business at Choice Hotels
How Data Drives Business at Choice HotelsHow Data Drives Business at Choice Hotels
How Data Drives Business at Choice Hotels
 
Whither the Hadoop Developer Experience, June Hadoop Meetup, Nitin Motgi
Whither the Hadoop Developer Experience, June Hadoop Meetup, Nitin MotgiWhither the Hadoop Developer Experience, June Hadoop Meetup, Nitin Motgi
Whither the Hadoop Developer Experience, June Hadoop Meetup, Nitin Motgi
 
Top 10 Best Practices for Apache Cassandra and DataStax Enterprise
Top 10 Best Practices for Apache Cassandra and DataStax EnterpriseTop 10 Best Practices for Apache Cassandra and DataStax Enterprise
Top 10 Best Practices for Apache Cassandra and DataStax Enterprise
 
Cloud Migration Paths: Kubernetes, IaaS, or DBaaS
Cloud Migration Paths: Kubernetes, IaaS, or DBaaSCloud Migration Paths: Kubernetes, IaaS, or DBaaS
Cloud Migration Paths: Kubernetes, IaaS, or DBaaS
 
Real Time Data Processing Using Spark Streaming
Real Time Data Processing Using Spark StreamingReal Time Data Processing Using Spark Streaming
Real Time Data Processing Using Spark Streaming
 
RightScale Webinar: Key Considerations For Cloud Migration and Portability
RightScale Webinar:  Key Considerations For Cloud Migration and PortabilityRightScale Webinar:  Key Considerations For Cloud Migration and Portability
RightScale Webinar: Key Considerations For Cloud Migration and Portability
 
Caching In The Cloud
Caching In The CloudCaching In The Cloud
Caching In The Cloud
 

Dernier

Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
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 FMESafe Software
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024SynarionITSolutions
 
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.pdfsudhanshuwaghmare1
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesBoston Institute of Analytics
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 

Dernier (20)

Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
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
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
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
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 

Deploying Cassandra Multi-cloud

  • 1. @jscarp1 © DataStax, All Rights Reserved. Deploying Cassandra in Multi-Cloud Jeff Carpenter
  • 2. @jscarp2 © DataStax, All Rights Reserved.
  • 3. @jscarp Got Consoles? © DataStax, All Rights Reserved.3
  • 4. @jscarp4 © DataStax, All Rights Reserved.
  • 5. @jscarp5 © DataStax, All Rights Reserved.
  • 6. @jscarp Why multi-cloud? • Data center locality • Provider-specific services • Cloud provider competition • Cost Key question: Unique workloads, or same workload? © DataStax, All Rights Reserved.6
  • 7. @jscarp Challenges • General: complexity, terminology naming, observability • Networking: routing, load balancing, reliability, latency • Application / Service Tier: scaling, managing state, caching • Database Tier: legal / policy compliance, • Security: identity management, boundary protection, encryption, auditing © DataStax, All Rights Reserved.7
  • 8. @jscarp8 © DataStax, All Rights Reserved.
  • 9. @jscarp KillrVideo – a video sharing application © DataStax, All Rights Reserved.9 https://github.com/KillrVideo https://killrvideo.github.io http://killrvideo.com
  • 10. @jscarp KillrVideo Architecture © DataStax, All Rights Reserved.10 KillrVideo Services Your Browser Web Application Technology Choices • Node.js • Falcor • Java / C# / Node.js • GRPC • Etcd • DataStax Drivers • DataStax Enterprise including Apache Cassandra & Spark, Graph Deployment • Download and run locally via Docker • Deployed in AWS using DataStax Managed Cloud: http://killrvideo.com/
  • 11. @jscarp WEB WEB Client static RenderUI States Requests bootstrap React Redux Falcor WEB Server Incoming requests Falcor Router HTTP request Service requests Service Registry Service TIER (x3) CASSANDRA Microservices (Service requests) 9091 generator SEARCH GRAPH ANALYTICS DRIVERS 9042 2379 registrator Express grpc 3000 8899
  • 12. @jscarp OREGON (US-WEST-2) www.killrvideo.com Killrvideo-gilardi-default Killrvideo-dev application (vpc-7ddc1e18) Killrvideo-prod application us-west-2a us-west-2b us-west-2c KillrVideo on Amazon overview Killrvideo-web-2Killrvideo-web-1 KillrVideo-web studio KillrVideo-web studio killrvideo-devkillrvideo-prod Dse_cassansdra Killrvideo-server-A Killrvideo-server-A Killrvideo-server-A KillrVideo-server studio KillrVideo-server studio KillrVideo-server studio ELB Killrvideo-dev ELB Killrvideo-prod Ops Center Ops Center Ops Center Ops Center DSE DSE. DSE DSE DSE DSE
  • 13. @jscarp DataStax Managed Cloud • DSE on public cloud (AWS, Azure) for production workloads • 24x7x365 coverage, lights-out management • System configuration and tuning to meet your-specific requirements • Architecture advisory services, guidance, and best practices • Focus on business innovation and accelerate time-to-market © DataStax, All Rights Reserved.13
  • 14. @jscarp DataStax Management and Hosting Options © DataStax, All Rights Reserved. 14 OpsCenter DataStax Cloud Self-Managed And Hosted DataStax Managed And Hosted
  • 15. @jscarp AWS Azure GCP Desired End State • Three clouds: AWS, Azure, GCP • One DC per cloud • Full stack available in each DC • Same data in each DC • Secure network between DCs • Independent web / application tiers per DC • Interactions only at the database tier © DataStax, All Rights Reserved.15 Services Client Web
  • 16. @jscarp16 © DataStax, All Rights Reserved.
  • 17. @jscarp17 © DataStax, All Rights Reserved.
  • 18. @jscarp Application Tier Considerations • Things to consider – Deployment – Orchestration – Scheduling – Service discovery and routing – Distributed tracing © DataStax, All Rights Reserved. • KillrVideo Multi-Cloud Prototype – Manual creation of compute – Manual provisioning – Etcd for service discovery • Desired end state – Service mesh (Istio, Envoy) – Terraform – Kubernetes 18
  • 19. @jscarp Database Tier Considerations • Things to consider – Snitch, topology, seed nodes – Keyspace replication strategies – Security best practices © DataStax, All Rights Reserved. • KillrVideo Multi-Cloud Prototype – GossipingPropertyFileSnitch – NetworkTopologyStrategy (RF=3 per DC) – Automated creation of new admin/user accounts – Node-to-node encryption • Things we may still explore – Kubernetes operator for C* / DSE – Managing data locality 19
  • 20. @jscarp Security and Network Considerations • Things to consider – Networking across data centers • Latency • Access control • Encryption • Which tiers? – Privacy and data locality compliance © DataStax, All Rights Reserved. • KillrVideo Multi-Cloud Prototype – Public IPs for prototype • Not for production • Desired End State – Private networks between clouds – 3rd party load balancer 20
  • 21. @jscarp KillrVideo Roadmap • (loosely) Multi-cloud related – Service packaging (separate processes) – Service discovery / communications (Envoy, Istio) – Kubernetes (of course) © DataStax, All Rights Reserved. • Other Stuff – Customer 360 extension – Streaming (Kafka) – CI/CD Automation – Distributed Tracing – Improved Metrics – Analytics (virtual DC) – Python service implementations – GraphQL API / client 21
  • 22. @jscarp Recommendations and Best Practices • Orchestration / Scheduling ➡️ Kubernetes for application tier, maybe for data tier • Application / service tier ➡️ Push state to the data tier • Data tier ➡️ Apache Cassandra / DataStax Enterprise for cross-cloud replication and scaling • Automate deployment ➡️ Terraform, etc. © DataStax, All Rights Reserved.22
  • 23. @jscarp Talking Multi-Cloud on the Distributed Data Show • Episode 56: Multi-Cloud: The What & Why • Episode 57: Multi-Cloud Challenges • Episode 58: Multi-Cloud Networking © DataStax, All Rights Reserved. • Episode 59: Multi-Cloud State Management • Episode 60 / 61: Multi-Cloud Security and Compliance 23 https://www.youtube.com/datastaxacademy
  • 24. @jscarp Credits and Advertisements • Thanks for help from – Adron Hall @Adron – David Gilardi @SonicDMG – Justin Breese @justinbreese – Cedrick Lunven @clunven – Patrick McFadin @PatrickMcFadin – Amanda Moran @AmandaDataStax – Hannah Aubry @DataStaxAcademy © DataStax, All Rights Reserved.24