
DynamoDB Cookbook
Beschreibung
AWS DynamoDB is an excellent example of a production-ready NoSQL database. In recent years, DynamoDB has been able to attract many customers because of its features like high-availability, reliability and infinite scalability. DynamoDB can be easily integrated with massive data crunching tools like Hadoop /EMR, which is an essential part of this data-driven world and hence it is widely accepted. The cost and time-efficient design makes DynamoDB stand out amongst its peers. The design of DynamoDB is so neat and clean that it has inspired many NoSQL databases to simply follow it. This book will get your hands on some engineering best practices DynamoDB engineers use, which can be used in your day-to-day life to build robust and scalable applications. You will start by operating with DynamoDB tables and learn to manipulate items and manage indexes. You will also discover how to easily integrate applications with other AWS services like EMR, S3, CloudSearch, RedShift etc. A couple of chapters talk in detail about how to use DynamoDB as a backend database and hosting it on AWS ElasticBean. This book will also focus on security measures of DynamoDB as well by providing techniques on data encryption, masking etc. By the end of the book you'll be adroit in designing web and mobile applications using DynamoDB and host it on cloud.
Alle Preise
Weitere Details
Weitere Ausgaben
Inhalt
- Cover
- Copyright
- Credits
- About the Author
- Acknowledgments
- About the Reviewers
- www.PacktPub.com
- Table of Contents
- Preface
- Chapter 1: Taking Your First Steps with DynamoDB
- Introduction
- Signing up to the DynamoDB console
- Creating the DynamoDB table using the console
- Loading data into the table using the console
- Querying data using the DynamoDB console
- Deleting the DynamoDB table using the console
- Analyzing DynamoDB metric on CloudWatch
- Downloading and setting up DynamoDB Local
- Using DynamoDB Local JavaScript Shell
- Setting up AWS Command Line Interface for DynamoDB
- Setting up the Eclipse IDE
- Chapter 2: Operating with DynamoDB Tables
- Introduction
- Creating a table using the AWS SDK for Java
- Creating a table using the AWS SDK for .Net
- Creating a table using the AWS SDK for PHP
- Updating a table using the AWS SDK for Java
- Updating a table using the AWS SDK for .Net
- Updating a table using the AWS SDK for PHP
- Listing tables using the AWS SDK for Java
- Listing tables using the AWS SDK for .Net
- Listing tables using the AWS SDK for PHP
- Deleting a table using the AWS SDK for Java
- Deleting a table using the AWS SDK for .Net
- Deleting a table using the AWS SDK for PHP
- Chapter 3: Manipulating DynamoDB Items
- Introduction
- Putting an item into the DynamoDB table using the AWS SDK for Java
- Putting an item into the DynamoDB table using the AWS SDK for .Net
- Putting an item into the DynamoDB table using the AWS SDK for PHP
- Getting an item from the DynamoDB table using the AWS SDK for Java
- Getting an item from the DynamoDB table using the AWS SDK for .Net
- Getting an item from the DynamoDB table using the AWS SDK for PHP
- Updating an item in the DynamoDB table using the AWS SDK for Java
- Updating an item in the DynamoDB table using the AWS SDK for .Net
- Updating an item in the DynamoDB table using the AWS SDK for PHP
- Deleting an item from the DynamoDB table using the AWS SDK for Java
- Deleting an item from the DynamoDB table using the AWS SDK for .Net
- Deleting an item from the DynamoDB table using the AWS SDK for PHP
- Getting multiple items using the AWS SDK for Java
- Getting multiple items using the AWS SDK for .Net
- Getting multiple items using the AWS SDK for PHP
- Batch write operations using the AWS SDK for Java
- Batch write operations using the AWS SDK for .Net
- Batch write operations using the AWS SDK for PHP
- Chapter 4: Managing DynamoDB Indexes
- Introduction
- Creating a DynamoDB table with a Global Secondary Index using the AWS SDK for Java
- Creating a DynamoDB table with a Global Secondary Index using the AWS SDK for .Net
- Creating a DynamoDB table with a Global Secondary Index using the AWS SDK for PHP
- Querying a Global Secondary Index using the AWS SDK for Java
- Querying a Global Secondary Index using the AWS SDK for .Net
- Querying a Global Secondary Index using the AWS SDK for PHP
- Creating a DynamoDB table with a Local Secondary Index using the AWS SDK for Java
- Creating a DynamoDB table with a Local Secondary Index using the AWS SDK for .Net
- Creating a DynamoDB table with a Local Secondary Index using the AWS SDK for PHP
- Querying a Local Secondary Index using the AWS SDK for Java
- Querying a Local Secondary Index using the AWS SDK for .Net
- Querying a Local Secondary Index using the AWS SDK for PHP
- Using a Global Secondary Index for quick lookups
- Chapter 5: Exploring Higher Level Programming Interfaces for DynamoDB
- Introduction
- Creating a data model for the DynamoDB item using object persistence model in Java
- Putting items into the DynamoDB table using the object persistence model in Java
- Retrieving items from the DynamoDB table using the object persistence model in Java
- Creating a custom object for the DynamoDB table using the object persistence model in Java
- Querying items from the DynamoDB table using the object persistence model in Java
- Scanning items from the DynamoDB table using the object persistence model in Java
- Saving items into the DynamoDB table using the object persistence model in .Net
- Retrieving items from the DynamoDB table using the object persistence model in .Net
- Creating a custom object for the DynamoDB table using the object persistence model in .Net
- Querying items from the DynamoDB table using the object persistence model in .Net
- Scanning items from the DynamoDB table using the object persistence model in .Net
- Chapter 6: Securing DynamoDB
- Introduction
- Creating users using AWS IAM
- Creating a DynamoDB full access group using AWS IAM
- Creating a DynamoDB read-only group using AWS IAM
- Validating the DynamoDB access controls using the AWS IAM policy simulator
- Creating the custom policy to allow the DynamoDB console access using AWS IAM
- Creating a fine-grained access control policy using AWS IAM
- Implementing the client-side encryption for the DynamoDB data
- Implementing the client-side masking for the DynamoDB data
- Chapter 7: DynamoDB Best Practices
- Introduction
- Using a standalone cache for frequently accessed items
- Using the AWS ElastiCache for frequently accessed items
- Compressing large data before storing it in DynamoDB
- Using AWS S3 for storing large items
- Catching DynamoDB errors
- Performing auto-retries on DynamoDB errors
- Performing atomic transactions on DynamoDB tables
- Performing asynchronous requests to DynamoDB
- Chapter 8: Integrating DynamoDB with other AWS Services
- Introduction
- Importing data from AWS S3 to DynamoDB using AWS Data Pipeline
- Exporting data from AWS S3 to DynamoDB using AWS Data Pipeline
- Accessing the DynamoDB data using AWS EMR
- Querying the DynamoDB data using AWS EMR
- Performing join operations on the DynamoDB data using AWS EMR
- Exporting data to AWS S3 from DynamoDB using AWS EMR
- Logging DynamoDB operations using AWS CloudTrail
- Exporting the DynamoDB data to AWS Redshift
- Importing the DynamoDB data to AWS CloudSearch
- Performing a full text search on the DynamoDB data using CloudSearch
- Chapter 9: Developing Web Applications using DynamoDB
- Introduction
- Performing data modeling and table creations
- Developing services for the sign-up activity for web applications
- Developing services for the sign-in activity for web applications
- Developing services for the Address Book application
- Deploying web applications on AWS Elastic Beanstalk
- Chapter 10: Developing Mobile Applications using DynamoDB
- Introduction
- Performing data modeling and table creation
- Creating an identity pool using AWS Cognito
- Creating the access policy and applying it to the AWS Cognito role
- Implementing user registration services
- Implementing user login services
- Implementing add new contact services
- Implementing view contacts services
- Index
Systemvoraussetzungen
Dateiformat: ePUB
Kopierschutz: Adobe-DRM (Digital Rights Management)
Systemvoraussetzungen:
- Computer (Windows; MacOS X; Linux): Installieren Sie bereits vor dem Download die kostenlose Software Adobe Digital Editions (siehe E-Book Hilfe).
- Tablet/Smartphone (Android; iOS): Installieren Sie bereits vor dem Download die kostenlose App Adobe Digital Editions oder die App PocketBook (siehe E-Book Hilfe).
- E-Book-Reader: Bookeen, Kobo, Pocketbook, Sony, Tolino u.v.a.m. (nicht Kindle)
Das Dateiformat ePUB ist sehr gut für Romane und Sachbücher geeignet – also für „fließenden” Text ohne komplexes Layout. Bei E-Readern oder Smartphones passt sich der Zeilen- und Seitenumbruch automatisch den kleinen Displays an.
Mit Adobe-DRM wird hier ein „harter” Kopierschutz verwendet. Wenn die notwendigen Voraussetzungen nicht vorliegen, können Sie das E-Book leider nicht öffnen. Daher müssen Sie bereits vor dem Download Ihre Lese-Hardware vorbereiten.
Bitte beachten Sie: Wir empfehlen Ihnen unbedingt nach Installation der Lese-Software diese mit Ihrer persönlichen Adobe-ID zu autorisieren!
Weitere Informationen finden Sie in unserer E-Book Hilfe.
Dateiformat: PDF
Kopierschutz: Adobe-DRM (Digital Rights Management)
Systemvoraussetzungen:
- Computer (Windows; MacOS X; Linux): Installieren Sie bereits vor dem Download die kostenlose Software Adobe Digital Editions (siehe E-Book Hilfe).
- Tablet/Smartphone (Android; iOS): Installieren Sie bereits vor dem Download die kostenlose App Adobe Digital Editions oder die App PocketBook (siehe E-Book Hilfe).
- E-Book-Reader: Bookeen, Kobo, Pocketbook, Sony, Tolino u.v.a.m. (nicht Kindle)
Das Dateiformat PDF zeigt auf jeder Hardware eine Buchseite stets identisch an. Daher ist eine PDF auch für ein komplexes Layout geeignet, wie es bei Lehr- und Fachbüchern verwendet wird (Bilder, Tabellen, Spalten, Fußnoten). Bei kleinen Displays von E-Readern oder Smartphones sind PDF leider eher nervig, weil zu viel Scrollen notwendig ist.
Mit Adobe-DRM wird hier ein „harter” Kopierschutz verwendet. Wenn die notwendigen Voraussetzungen nicht vorliegen, können Sie das E-Book leider nicht öffnen. Daher müssen Sie bereits vor dem Download Ihre Lese-Hardware vorbereiten.
Bitte beachten Sie: Wir empfehlen Ihnen unbedingt nach Installation der Lese-Software diese mit Ihrer persönlichen Adobe-ID zu autorisieren!
Weitere Informationen finden Sie in unserer E-Book Hilfe.