Amazon DynamoDB
Getting Started Guide (API Version 2012-08-10)


In this tutorial, you created the Movies table in DynamoDB on your computer and performed basic operations. DynamoDB Local is useful during application development and testing. However, when you are ready to run your application in a production environment, you need to modify your code so that it uses the Amazon DynamoDB service.

Using the Amazon DynamoDB Service

You need to change the endpoint in your application in order to use the Amazon DynamoDB service as follows. To do this, first remove the following line:

      ddbConfig.ServiceURL = "http://localhost:8000";

Next, add a new line that specifies the AWS region you want to access:

      ddbConfig.RegionEndpoint = RegionEndpoint.REGION;

For example, if you want to access the us-west-2 region, you would do this:

      ddbConfig.RegionEndpoint = RegionEndpoint.USWest2;

Now, instead of using DynamoDB Local, the program uses the DynamoDB service endpoint in US West (Oregon).

Amazon DynamoDB is available in several regions worldwide. For the complete list of regions and endpoints, see Regions and Endpoints in the AWS General Reference. For more information about setting regions and endpoints in your code, see AWS Region Selection in the AWS SDK for .NET Developer Guide.

The downloadable version of DynamoDB is for development and testing purposes only. By comparison, DynamoDB is a managed service with scalability, availability, and durability features that make it ideal for production usage. The following table contains some other key differences between DynamoDB running on your computer and the Amazon DynamoDB service:

 DynamoDB (downloadable version)Amazon DynamoDB (web service)
Creating a TableThe table is created immediately.Table creation takes some time, depending on its provisioned throughput settings. DynamoDB allocates sufficient resources to meet your specific read and write capacity requirements.
Provisioned ThroughputThe downloadable version of DynamoDB ignores provisioned throughput settings.Provisioned throughput is a fundamental concept in DynamoDB. The rate at which you can read and write data depends on your provisioned capacity settings. For more information, see Provisioned Throughput in the Amazon DynamoDB Developer Guide.
Reading and Writing DataReads and writes are performed as fast as possible, without any network overhead.Read and write activity is regulated by the provisioned throughput settings on the table. To increase the maximum throughput, you must increase the throughput settings on the table. Network latency also affects throughput to an extent.
Deleting a TableThe table is deleted immediately.Table deletion takes some time, as DynamoDB releases the resources that had been used by the table.

Next Steps

For more information about Amazon DynamoDB, see the Amazon DynamoDB Developer Guide. We recommend the following topics:

Data Model

Provisioned Throughput

Improving Data Access with Secondary Indexes

The Amazon DynamoDB Developer Guide also includes the following topics about working with tables, items, and queries:

Working with Tables

Working with Items

Query and Scan Operations in DynamoDB

Best Practices