100 likes | 304 Views
Amazon SimpleDB Introduction. Amazon SimpleDB is a highly available, scalable, and flexible non-relational data store that enables you to store and query data items using web services requests. Amazon SimpleDB Functionality
E N D
Amazon SimpleDBIntroduction Amazon SimpleDB is a highly available, scalable, and flexible non-relational data store that enables you to store and query data items using web services requests. Amazon SimpleDB Functionality Amazon SimpleDB provides a simple web services interface to create and store multiple data sets, query your data easily, and return the results. Your data is automatically indexed, making it easy to quickly find the information that you need. There is no need to pre-define a schema or change a schema if new data is added later. And scale-out is as simple as creating new domains, rather than building out new servers.
To use Amazon SimpleDB Build your data set Choose a Region for your Domain(s) to optimize for latency, minimize costs, or address regulatory requirements. Amazon SimpleDB is currently available in the US East (Northern Virginia), US West (Oregon), US West (Northern California), EU (Ireland), Asia Pacific (Singapore), Asia Pacific (Tokyo), and South America (Sao Paulo) Regions. Use CreateDomain, DeleteDomain, ListDomains, DomainMetadata to create and manage query domains Use Put, Batch Put, & Delete to create and manage the data set within each query domain Retrieve your data Use GetAttributes to retrieve a specific item Use Select to query your data set for items that meet specified criteria Pay only for the resources that you consume
Amazon SimpleDB Sign Up for Amazon SimpleDB To use Amazon SimpleDB, you need an AWS account. If you don't already have one, you'll be prompted to create one when you sign up. You're not charged for any AWS products that you sign up for unless you use them. To sign up for Amazon SimpleDB Go to http://aws.amazon.com/sdb and click Sign Up for Amazon SimpleDB.
Amazon SimpleDB Get Your Credentials To ensure only you can use access your Amazon SimpleDB account, you need your AWS Access Key ID and Secret Access Key. To get your AWS Access Key ID and Secret Access Key 1. Go to http://aws.amazon.com/ 2. Click Account and then click Security Credentials. The Security Credentials page displays (you might be prompted to log in). 3. Scroll down to Access Credentials and make sure the Access Keys tab is selected. 4. The AWS Access Key ID appears in the Access Key column. 5. To view the Secret Access Key, click Show. Leave this page open and continue to the next procedure.
Amazon SimpleDB Set Up the Scratchpad The scratchpad is a sample web application that enables you to test and make calls to Amazon SimpleDB without having to set up a programming environment. To get, install, and prepare the scratchpad 1. Download, save, and extract the scratchpad files to your computer. 2. Navigate to the webapp folder within the folder where you extracted the scratchpad and open the index.html file with a web browser. The welcome page appears.
Amazon SimpleDB 3. Copy and paste your AWS Access Key ID and your Secret Access Key into the provided fields from the web page you left open in the previous procedure.
Amazon SimpleDB To create and verify a domain 1. Select Create Domain from the scratchpad Explore API list box. 2. Enter MyStore in the Domain Name field. 3. Click Invoke Request. Amazon SimpleDB returns a response.
Amazon SimpleDB To put items into the domain Select PutAttributes from the scratchpad Explore API list box. To query the domain for Clothes items Select Select from the scratchpad Explore API list box. To delete an item attribute Select DeleteAttributes from the Explore API list box. To delete a domain Select DeleteDomain from the scratchpad Explore API list box.
Amazon SimpleDB Canceling Amazon SimpleDB If you decide Amazon SimpleDB isn't what you need, you can cancel your registration at any time. To cancel an AWS product 1. Sign on to AWS. 2. Point to Your Account and click Account Activity. 3. From the Account Activity page, click the View/Edit Service link under the service you want to cancel. On the View/Edit Service page, click the link to cancel this service at the bottom of the page. ********************************************************************* The End