Amazon Web Services - DynamoDB | Introduction to Amazon Web Services(AWS) - Software Development PDF Download

Amazon DynamoDB is a fully managed NoSQL database service that allows to create database tables that can store and retrieve any amount of data. It automatically manages the data traffic of tables over multiple servers and maintains performance. It also relieves the customers from the burden of operating and scaling a distributed database. Hence, hardware provisioning, setup, configuration, replication, software patching, cluster scaling, etc. is managed by Amazon.

How to Run DynamoDB on Computer?

Following are the steps to set up DynamoDB.

Step 1 − Following are the steps to set up DynamoDB.

  • Download DynamoDB (.jar file) using the following link. It supports multiple Operating Systems like Windows, Linux, Mac, etc.

    .tar.gz format − http://dynamodb-local.s3-website-us-west2.amazonaws.com/dynamodb_local_latest.tar.gz

    .zip format − http://dynamodb-local.s3-website-us-west2.amazonaws.com/dynamodb_local_latest.zip.

  • Once download is complete, extract the contents and copy the extracted directory to a location wherever you want.

  • Open the command prompt and navigate to the directory where you extracted DynamoDBLocal.jar, and execute the following command −

java -Djava.library.path=./DynamoDBLocal_lib -jar DynamoDBLocal.jar -sharedDb 

  • Now there is access to the build-in javaScript shell.

Step 2 − Create a Table using the following steps.

  • Open AWS Management Console and select DynamoDB.

  • Select the region where the table will be created and click the Create Table button.

Create Table

  • Create Table window opens. Fill the details into their respective fields and click the Continue button.

  • Finally, a review page opens where we can view details. Click the Create button.

Create

  • Now the Table-name is visible in the in-to the list and Dynamo Table is ready to use.

Amazon DynamoDB Tables

Benefits of Amazon DynamoDB

Managed service − Amazon DynamoDB is a managed service. There is no need to hire experts to manage NoSQL installation. Developers need not worry about setting up, configuring a distributed database cluster, managing ongoing cluster operations, etc. It handles all the complexities of scaling, partitions and re-partitions data over more machine resources to meet I/O performance requirements.

Scalable − Amazon DynamoDB is designed to scale. There is no need to worry about predefined limits to the amount of data each table can store. Any amount of data can be stored and retrieved. DynamoDB will spread automatically with the amount of data stored as the table grows.

Fast − Amazon DynamoDB provides high throughput at very low latency. As datasets grow, latencies remain stable due to the distributed nature of DynamoDB's data placement and request routing algorithms.

Durable and highly available − Amazon DynamoDB replicates data over at least 3 different data centers’ results. The system operates and serves data even under various failure conditions.

Flexible: Amazon DynamoDB allows creation of dynamic tables, i.e. the table can have any number of attributes, including multi-valued attributes.

Cost-effective: Payment is for what we use without any minimum charges. Its pricing structure is simple and easy to calculate.

The document Amazon Web Services - DynamoDB | Introduction to Amazon Web Services(AWS) - Software Development is a part of the Software Development Course Introduction to Amazon Web Services(AWS).
All you need of Software Development at this link: Software Development
24 docs

Top Courses for Software Development

FAQs on Amazon Web Services - DynamoDB - Introduction to Amazon Web Services(AWS) - Software Development

1. What is Amazon DynamoDB and how does it work?
Ans. Amazon DynamoDB is a fully managed NoSQL database service provided by AWS. It is designed to scale horizontally and handle high read and write throughput. DynamoDB uses a key-value model for data storage and provides automatic data replication and high availability.
2. Can I use DynamoDB for real-time applications?
Ans. Yes, DynamoDB is well-suited for real-time applications. It offers low latency performance and can handle millions of requests per second. With its ability to scale automatically, DynamoDB can handle sudden spikes in traffic and provide consistent performance for real-time use cases.
3. How does DynamoDB ensure data durability and availability?
Ans. DynamoDB ensures data durability by automatically replicating data across multiple availability zones within a region. This redundancy ensures that even if one availability zone fails, the data remains accessible. Additionally, DynamoDB has built-in fault tolerance mechanisms that automatically handle hardware failures and network partitions to maintain high availability.
4. Can I use DynamoDB for analytics and reporting purposes?
Ans. DynamoDB is primarily designed for fast and scalable transactional workloads rather than complex analytics and reporting. However, you can use DynamoDB alongside AWS services like Amazon Redshift or Amazon Athena to perform analytics on the data stored in DynamoDB. By exporting the data or using services like DynamoDB Streams, you can enable analytics and reporting on DynamoDB data.
5. How does DynamoDB handle scaling and pricing?
Ans. DynamoDB automatically scales its underlying infrastructure to handle the read and write capacity requirements specified by the user. Scaling can be done manually or set to auto-scaling, which adjusts capacity based on the workload. Pricing for DynamoDB is based on provisioned throughput capacity, storage, and additional features like global tables or on-demand capacity mode. It is important to carefully estimate and monitor your usage to optimize costs.
Explore Courses for Software Development exam

Top Courses for Software Development

Signup for Free!
Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
10M+ students study on EduRev
Related Searches

Objective type Questions

,

shortcuts and tricks

,

mock tests for examination

,

MCQs

,

Extra Questions

,

ppt

,

past year papers

,

Previous Year Questions with Solutions

,

Viva Questions

,

Exam

,

Amazon Web Services - DynamoDB | Introduction to Amazon Web Services(AWS) - Software Development

,

Free

,

Important questions

,

video lectures

,

Amazon Web Services - DynamoDB | Introduction to Amazon Web Services(AWS) - Software Development

,

study material

,

Sample Paper

,

pdf

,

Semester Notes

,

Amazon Web Services - DynamoDB | Introduction to Amazon Web Services(AWS) - Software Development

,

Summary

,

practice quizzes

;