Amazon SimpleDB: LITE
()
About this ebook
Prabhakar Chaganti
Prabhakar Chaganti is the founder and CTO of Ylastic, a start-up that is building a single unified interface to architect, manage, and monitor a user's entire AWS Cloud computing environment: EC2, S3, RDS, AutoScaling, ELB, Cloudwatch, SQS, and SimpleDB. He is the author of Xen Virtualization and GWT Java AJAX Programming, and is also the winner of the community choice award for the most innovative virtual appliance in the VMware Global Virtual Appliance Challenge. He hangs out on Twitter as @pchaganti.
Related to Amazon SimpleDB
Related ebooks
Practical OneOps Rating: 0 out of 5 stars0 ratingsLearning Underscore.js Rating: 0 out of 5 stars0 ratingsInstant Play Framework Starter Rating: 0 out of 5 stars0 ratingsPlay Framework Essentials Rating: 0 out of 5 stars0 ratingsOpa Application Development Rating: 0 out of 5 stars0 ratingsPersistence in PHP with Doctrine ORM Rating: 0 out of 5 stars0 ratingsPhantomJS Cookbook Rating: 0 out of 5 stars0 ratingsInstant HTML5 Geolocation How-To Rating: 0 out of 5 stars0 ratingsInstant Highcharts Rating: 0 out of 5 stars0 ratingsPHPEclipse: A User Guide Rating: 3 out of 5 stars3/5AngularJS Web Application Development Cookbook Rating: 0 out of 5 stars0 ratingsMockito Cookbook Rating: 0 out of 5 stars0 ratingsSOA Governance in Action: REST and WS-* Architectures Rating: 0 out of 5 stars0 ratingsThe New Frontier In Web Api Programming Rating: 0 out of 5 stars0 ratingsNode.js 6.x Blueprints Rating: 0 out of 5 stars0 ratingsLearning AWS Lumberyard Game Development Rating: 0 out of 5 stars0 ratingsSoftware architecture A Complete Guide - 2019 Edition Rating: 0 out of 5 stars0 ratingsTraefik API Gateway for Microservices: With Java and Python Microservices Deployed in Kubernetes Rating: 0 out of 5 stars0 ratingsMaster The Configuration Of Apache Tomcat On Linux Rating: 0 out of 5 stars0 ratingsLinux Programming Tools Unveiled Rating: 0 out of 5 stars0 ratingsWildFly Performance Tuning Rating: 0 out of 5 stars0 ratingsXamarin Mobile Application Development for Android - Second Edition Rating: 0 out of 5 stars0 ratingsLearn Python Programming the Easy and Fun Way Rating: 0 out of 5 stars0 ratingsFlex 3 with Java Rating: 0 out of 5 stars0 ratingsDesigning Microservices with Django: An Overview of Tools and Practices Rating: 0 out of 5 stars0 ratingsMongoDB High Availability Rating: 5 out of 5 stars5/5jQuery Hotshot Rating: 0 out of 5 stars0 ratingsOpenJDK Cookbook Rating: 0 out of 5 stars0 ratingsMySQL 5.1 Plugin Development Rating: 0 out of 5 stars0 ratings
Information Technology For You
Summary of Super-Intelligence From Nick Bostrom Rating: 5 out of 5 stars5/5ChatGPT: The Future of Intelligent Conversation Rating: 4 out of 5 stars4/5Data Governance For Dummies Rating: 0 out of 5 stars0 ratingsCompTIA Network+ CertMike: Prepare. Practice. Pass the Test! Get Certified!: Exam N10-008 Rating: 0 out of 5 stars0 ratingsHow To Use Chatgpt: Using Chatgpt To Make Money Online Has Never Been This Simple Rating: 0 out of 5 stars0 ratingsHow to Write Effective Emails at Work Rating: 4 out of 5 stars4/5CompTIA A+ CertMike: Prepare. Practice. Pass the Test! Get Certified!: Core 1 Exam 220-1101 Rating: 0 out of 5 stars0 ratingsCISSP Study Guide Rating: 4 out of 5 stars4/5Computer Science: A Concise Introduction Rating: 4 out of 5 stars4/5Inkscape Beginner’s Guide Rating: 5 out of 5 stars5/5Cybersecurity for Beginners : Learn the Fundamentals of Cybersecurity in an Easy, Step-by-Step Guide: 1 Rating: 0 out of 5 stars0 ratingsCreating Online Courses with ChatGPT | A Step-by-Step Guide with Prompt Templates Rating: 4 out of 5 stars4/5Linux Command Line and Shell Scripting Bible Rating: 3 out of 5 stars3/5Supercommunicator: Explaining the Complicated So Anyone Can Understand Rating: 3 out of 5 stars3/5Health Informatics: Practical Guide Rating: 0 out of 5 stars0 ratingsWindows Registry Forensics: Advanced Digital Forensic Analysis of the Windows Registry Rating: 4 out of 5 stars4/5Data Analytics for Beginners: Introduction to Data Analytics Rating: 4 out of 5 stars4/5The iPadOS 17: The Complete User Manual to Quick Set Up and Mastering the iPadOS 17 with New Features, Pictures, Tips, and Tricks Rating: 0 out of 5 stars0 ratingsPanda3d 1.7 Game Developer's Cookbook Rating: 0 out of 5 stars0 ratingsCyber Security Consultants Playbook Rating: 0 out of 5 stars0 ratingsComputer Organization and Design: The Hardware / Software Interface Rating: 4 out of 5 stars4/5Hacking Essentials - The Beginner's Guide To Ethical Hacking And Penetration Testing Rating: 3 out of 5 stars3/5The Basics of Hacking and Penetration Testing: Ethical Hacking and Penetration Testing Made Easy Rating: 4 out of 5 stars4/5Handbook of Digital Forensics and Investigation Rating: 4 out of 5 stars4/5Practical Ethical Hacking from Scratch Rating: 5 out of 5 stars5/5Investigating Child Exploitation and Pornography: The Internet, Law and Forensic Science Rating: 5 out of 5 stars5/5A Mind at Play: How Claude Shannon Invented the Information Age Rating: 4 out of 5 stars4/5
Reviews for Amazon SimpleDB
0 ratings0 reviews
Book preview
Amazon SimpleDB - Prabhakar Chaganti
Table of Contents
Amazon SimpleDB: LITE
Credits
About the Authors
About the Reviewers
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Errata
Piracy
Questions
1. Getting to Know SimpleDB
Experimenting with SimpleDB
How does SimpleDB work?
Domain
Item
Attributes
Values
How do I interact with SimpleDB?
How is SimpleDB priced?
Free tier
Why should I use SimpleDB?
Make your applications simpler to architect
Build flexibility into your applications
Create high-performance web applications
Take advantage of lower costs
Scale your applications on demand
Architect for the cloud
Summary
2. Getting Started with SimpleDB
Creating an AWS account
Enabling SimpleDB service for AWS account
Query API and authentication
SimpleDB libraries
SDBtool — Firefox plugin
Sample outline — performing basic operations
Basic operations with Java
Exploring SimpleDB with Java
Creating a domain with Java
Listing domains with Java
Manipulating items with Java
Deleting a domain with Java
Basic operations with PHP
Exploring SimpleDB with PHP
Creating a domain with PHP
Listing domains with PHP
Manipulating items with PHP
Deleting a domain with PHP
Basic operations with Python
Introducing boto
Exploring SimpleDB with Python
Creating a domain with Python
Retrieving a domain with Python
Creating items with Python
Summary
3. SimpleDB versus RDBMS
No normalization
No joins
No schemas
Simpler SQL
Only strings
Eventual consistency
Flash: February 24, 2010 — consistent read added
Scalability
Low maintenance
Advantages of the SimpleDB model
Disadvantages of the SimpleDB model
Summary
4. The SimpleDB Data Model
Domains
Domains with Java
Domains with PHP
Domains with Python
Exploring the metadata for a domain and costs
Retrieving domain metadata
Retrieving domain metadata with Java
Retrieving domain metadata with PHP
Retrieving domain metadata with Python
Components of a domain's metadata
SimpleDB domain constraints
Items
Adding attributes to an item with Java
Adding attributes to an item with PHP
Adding attributes to an item with Python
Constraints on SimpleDB items
Attributes
Attributes with Java
Attributes with PHP
Attributes with Python
Constraints on SimpleDB item attributes
Values
Storing multiple values in a single attribute with Java
Storing multiple values in a single attribute with PHP
Storing multiple values in a single attribute with Python
Constraints on values of a SimpleDB item
Consistent Read and Conditional Put / Delete announcement
ConsistentRead = true for getAttributes and Select
Conditional Put / Delete
Summary
Index
Amazon SimpleDB: LITE
Amazon SimpleDB: LITE
Copyright © 2011 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.
First published: April 2011
Production Reference: 1120411
Published by Packt Publishing Ltd. 32 Lincoln Road Olton Birmingham, B27 6PA, UK.
ISBN 978-1-849683-68-5
www.packtpub.com
Cover Image by Tina Negus ( <tina_manthorpe@sky.com> )
Credits
Authors
Prabhakar Chaganti
Rich Helms
Reviewers
Deepak Anupalli
Anders Samuelsson
Ashley Tate
Acquisition Editor
James Lumsden
Technical Editor
Pallavi Kachare
Indexer
Rekha Nair
Production Coordinator
Alwin Roy
Shantanu Zagade
Cover Work
Alwin Roy
About the Authors
Prabhakar Chaganti is the founder and CTO of Ylastic, a startup that is building a single unifed interface to architect, manage, and monitor a user's entire AWS Cloud computing environment: EC2, S3, RDS, AutoScaling, ELB, Cloudwatch, SQS, and SimpleDB. He is the author of Xen Virtualization and GWT Java AJAX Programming, both by Packt Publishing, and is also the winner of the community choice award for the most innovative virtual appliance in the VMware Global Virtual Appliance Challenge. He hangs out on Twitter as @pchaganti.
It's never been done
is a call to action for Rich Helms. He has built a career on breaking new ground in the computer field. He developed CARES (Computer Assisted Recovery Enhancement System) for the Metropolitan Toronto Police in Canada. CARES was the first computer system in the world for aging missing children. CARES has been internationally recognized as pioneering work in child aging. Rich has also created several generations of e-learning platforms including Learn it script and most recently Educate Press.
Rich can be reached at http://webmasterinresidence.ca.Rich is a seasoned software developer with over 30 years of experience. He spent 22 years in various positions at IBM including Chief Image Technology Architect. His credentials range from deep technical work (fve patents in hardware and software) to running multinational R&D.
About the Reviewers
Deepak Anupalli is Architect for the Server Engineering group at Pramati Technologies. He has deep insight into various Java/J2EE technologies. He represents Pramati on the EJB and JPA expert groups and has led the Java EE 5 certification effort of Pramati Server. He is currently leading the effort to build a standards-based web-scale Application server. He is a visiting faculty member with IIT-Hyderabad for a course on middleware and also speaks at various technology conferences. He holds a graduate degree in Computer Science and Engineering from National Institute of Technology (NIT Warangal, India).
Anders Samuelsson has over 25 years of experience in the computing industry. The main focus during this time has been with computer security. He currently