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 ratingsPlay Framework Essentials Rating: 0 out of 5 stars0 ratingsInstant Play Framework Starter Rating: 0 out of 5 stars0 ratingsInstant CloudFlare Starter Rating: 0 out of 5 stars0 ratingsRedmine Plugin Extension and Development Rating: 0 out of 5 stars0 ratingsLearning Underscore.js Rating: 0 out of 5 stars0 ratingsJasmine JavaScript Testing - Second Edition Rating: 0 out of 5 stars0 ratingsInstant Jsoup How-to Rating: 0 out of 5 stars0 ratingsPhantomJS Cookbook 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 ratingsInstant Highcharts Rating: 0 out of 5 stars0 ratingsPHPEclipse: A User Guide Rating: 3 out of 5 stars3/5MySQL 5.1 Plugin Development Rating: 0 out of 5 stars0 ratingsAngularJS Web Application Development Cookbook Rating: 0 out of 5 stars0 ratingsSoftware architecture A Complete Guide - 2019 Edition Rating: 0 out of 5 stars0 ratingsXamarin Mobile Application Development for Android - Second Edition Rating: 0 out of 5 stars0 ratingsjQuery Hotshot Rating: 0 out of 5 stars0 ratingsChaos Engineering A Clear and Concise Reference Rating: 0 out of 5 stars0 ratingsInstant StyleCop Code Analysis How-to Rating: 0 out of 5 stars0 ratingsAdministrating Solr Rating: 0 out of 5 stars0 ratingsMockito Cookbook Rating: 0 out of 5 stars0 ratingsMicroservices with Azure A Complete Guide - 2019 Edition Rating: 0 out of 5 stars0 ratingsBeginning Mobile Application Development in the Cloud Rating: 0 out of 5 stars0 ratingsMastering Ninject for Dependency Injection Rating: 0 out of 5 stars0 ratingsInstant HTML5 Geolocation How-To Rating: 0 out of 5 stars0 ratingsMulti-Tier Application Programming with PHP: Practical Guide for Architects and Programmers Rating: 0 out of 5 stars0 ratingsDesigning Microservices with Django: An Overview of Tools and Practices Rating: 0 out of 5 stars0 ratingsFlex on Java Rating: 0 out of 5 stars0 ratings
Information Technology For You
Computer Science: A Concise Introduction Rating: 4 out of 5 stars4/5ChatGPT: The Future of Intelligent Conversation Rating: 4 out of 5 stars4/5Creating Online Courses with ChatGPT | A Step-by-Step Guide with Prompt Templates Rating: 4 out of 5 stars4/5Health Informatics: Practical Guide Rating: 0 out of 5 stars0 ratingsAWS Certified Cloud Practitioner: Study Guide with Practice Questions and Labs Rating: 5 out of 5 stars5/5Inkscape Beginner’s Guide Rating: 5 out of 5 stars5/5Micro Niches Rating: 0 out of 5 stars0 ratingsHow to Write Effective Emails at Work Rating: 4 out of 5 stars4/5How To Use Chatgpt: Using Chatgpt To Make Money Online Has Never Been This Simple Rating: 0 out of 5 stars0 ratingsData Analytics for Beginners: Introduction to Data Analytics Rating: 4 out of 5 stars4/5Guide to Healthcare Information Protection and Privacy for Executives Rating: 0 out of 5 stars0 ratingsCompTIA A+ CertMike: Prepare. Practice. Pass the Test! Get Certified!: Core 1 Exam 220-1101 Rating: 0 out of 5 stars0 ratingsLinux Command Line and Shell Scripting Bible Rating: 3 out of 5 stars3/5CompTIA ITF+ CertMike: Prepare. Practice. Pass the Test! Get Certified!: Exam FC0-U61 Rating: 0 out of 5 stars0 ratingsCODING INTERVIEW: Advanced Methods to Learn and Excel in Coding Interview Rating: 0 out of 5 stars0 ratingsRaspberry Pi :Raspberry Pi Guide On Python & Projects Programming In Easy Steps Rating: 3 out of 5 stars3/5Hacking Essentials - The Beginner's Guide To Ethical Hacking And Penetration Testing Rating: 3 out of 5 stars3/5An Ultimate Guide to Kali Linux for Beginners Rating: 3 out of 5 stars3/5Computer Organization and Design: The Hardware / Software Interface Rating: 4 out of 5 stars4/5Programming for Everyone Rating: 3 out of 5 stars3/5Data Governance For Dummies Rating: 0 out of 5 stars0 ratingsCybersecurity for Beginners : Learn the Fundamentals of Cybersecurity in an Easy, Step-by-Step Guide: 1 Rating: 0 out of 5 stars0 ratingsThe Best Damn Cybercrime and Digital Forensics Book Period 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/520 Windows Tools Every SysAdmin Should Know Rating: 5 out of 5 stars5/5CompTIA Network+ CertMike: Prepare. Practice. Pass the Test! Get Certified!: Exam N10-008 Rating: 0 out of 5 stars0 ratingsPractical Ethical Hacking from Scratch Rating: 5 out of 5 stars5/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