Introducing Amazon Managed Apache Cassandra Service

29
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Introducing Amazon Managed Apache Cassandra Service DAT324 Arturo Hinojosa Senior Product Manager Amazon Web Services Akshat Vig Principal Engineer Amazon Web Services

Transcript of Introducing Amazon Managed Apache Cassandra Service

Page 1: Introducing Amazon Managed Apache Cassandra Service

© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.

Introducing Amazon Managed Apache Cassandra Service

D A T 3 2 4

Arturo HinojosaSenior Product ManagerAmazon Web Services

Akshat VigPrincipal EngineerAmazon Web Services

Page 2: Introducing Amazon Managed Apache Cassandra Service

AgendaOverview of Apache Cassandra

Introduction to Amazon Apache Managed Cassandra Service

NoSQL databases: Why it is hard?

Getting started

Questions

Page 3: Introducing Amazon Managed Apache Cassandra Service

Apache Cassandra

• Open-source, wide-column data store• Fast write throughput• Distributed architecture• Cassandra Query Language (CQL)• Common use cases include• Transaction logging• Time-series data• Event history

Page 4: Introducing Amazon Managed Apache Cassandra Service

Cassandra data modelCassandra is a column database that can store key-value data

A keyspace is the outermost data container

Within a keyspace, you can create multiple tables

Each table has a primary key; primary keys uniquely identify items

Primary keys are composed of one or more partition keys and, optionally, one or more clustering columns

Clustering columns are used for sorting

Keyspace

Table

Primary key

Column1 Value

Column2 Value

Column3 (ASC) Value

Column4 (DSC) Value

Partition keys

Clustering columns

Column5 Value

Page 5: Introducing Amazon Managed Apache Cassandra Service

Challenges of self-managing Cassandra• Requires specialized expertise to deploy, configure, and manage

Cassandra software• It’s complex to scale Cassandra clusters up and down• Customers often build clusters for peak load, leading to higher

infrastructure costs and paying for unused capacity• Upgrading Cassandra to new versions is difficult• Backing up and restoring data is complex• Customers are responsible for patching, updating, and maintaining

infrastructure

Page 6: Introducing Amazon Managed Apache Cassandra Service

Introducing Amazon Managed Cassandra Service

scalable highly available, managed

Page 7: Introducing Amazon Managed Apache Cassandra Service

© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.

Page 8: Introducing Amazon Managed Apache Cassandra Service

© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.

Page 9: Introducing Amazon Managed Apache Cassandra Service

NoSQL databases @ Amazon

Secure

available

Scalable

Durable

managed

Page 10: Introducing Amazon Managed Apache Cassandra Service

NoSQL databases @ Amazon

Page 11: Introducing Amazon Managed Apache Cassandra Service

NoSQL databases @ Amazon

Consistent Performance @ scale

Page 12: Introducing Amazon Managed Apache Cassandra Service

NoSQL databases @ Amazon

Uneven partitionlarge capacity

Page 13: Introducing Amazon Managed Apache Cassandra Service

NoSQL databases @ Amazon

failures

Page 14: Introducing Amazon Managed Apache Cassandra Service

NoSQL databases @ Amazon

Replicate

Backup restore

Page 15: Introducing Amazon Managed Apache Cassandra Service

NoSQL databases @ Amazon

Fully managed magical

Page 16: Introducing Amazon Managed Apache Cassandra Service

Benefits

Cassandra–compatible

No manage

Consistent performance

available secure

Page 17: Introducing Amazon Managed Apache Cassandra Service

© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.

Page 18: Introducing Amazon Managed Apache Cassandra Service

Getting started

Create an AWS Identity and Access Management (IAM) user

Create and attach MCS policy to the entity

Generate server side specific credentials

Access using console or programmatically using CQLSH or Casandra drivers

Page 19: Introducing Amazon Managed Apache Cassandra Service

Managed Cassandra Service Policies

Page 20: Introducing Amazon Managed Apache Cassandra Service

Service-specific credentials

Page 21: Introducing Amazon Managed Apache Cassandra Service

Using CQLSH

Page 22: Introducing Amazon Managed Apache Cassandra Service

Programmatic access

Page 23: Introducing Amazon Managed Apache Cassandra Service

© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.

Page 24: Introducing Amazon Managed Apache Cassandra Service

Cassandra

Network

Page 25: Introducing Amazon Managed Apache Cassandra Service

Pluggable storage

Apache Cassandra

Page 26: Introducing Amazon Managed Apache Cassandra Service

Cassandra

NetworkApache

Cassandra

Amazon Managed Cassandra Service

Page 27: Introducing Amazon Managed Apache Cassandra Service

© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.

Page 28: Introducing Amazon Managed Apache Cassandra Service

© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.

Page 29: Introducing Amazon Managed Apache Cassandra Service

Thank you!

© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.

@SenorHinojosa

Arturo Hinojosa

@akshatvig

Akshat Vig