Programming Amazon EC2

Author: Jurg van Vliet & Flavia Paganelli
Publisher: O'Reilly, 2011
Pages:184
ISBN: 978-1449393687
Print: 1449393683 Kindle:B004V9MR5M
Aimed at: EC2 beginners
Rating: 3.5
Pros: Consise, practical
Cons: Lacks depth
Reviewed by: Harry Fairhead

With the subtitle "Run applications on Amazon's infrastructure with EC2, S3, SQS, SimpleDB, and other services",  the image of the snake on the cover of this book seems somehow appropriate.

Amazon EC2 started out simply enough but over time it has developed into something sophisticated and at times complex. The image of the snake on the cover of this book seems somehow appropriate. Today, if you want to make use of EC2 you are confronted by a range of different sub-systems and the assumption is you are going to be using them to build something complex. This goes well beyond taking a virtual machine image and running it - which is where EC2 started.

Banner

The idea is that this book will explain EC2 to you in simple terms. The first chapter is a glowing overview of how wonderful EC2 is. This should be cut from the book and replaced by a more to the point outline of the services that EC2 offers.

Chapter 2 is an explanation of how to get an image up and running. This is quite good in that you get a feel for the way the authors think about the tasks described. However the authors don't really understand what it is that a beginner is unclear about - which IPs are public, how did you get that domain name, how do I access the image on a public network, what exactly are static resources? The emphasis is also on setting up a Ruby on Rails system - which isn't a problem but it simply says:

Installing the software: Now would be a good idea to install your web server and other software you need such as Apache and Rails in our example.

This isn't much to go on and it is the sort of thing a beginner really needs to know - how do I install the stack I need on a raw image? It may be trivial but the beginner needs to be given a clue as to how to go about it.

 

 

Chapter 3 moves on to a more complex problem i.e. scaling. After a quick discussion of general issues it focuses in on using the Elastic Load Balancing feature.  Chapter 4 is about using simple notification services and queue services - in this case the examples are in PHP. Then we go back to Ruby to work with SimpleDB.

Chapters 5, 6 and 7 move away from architectural concerns to operations. The first is on the all important topic of  managing the inevitable downtime.  Then we have a look at ways of improving your up-time. Finally a general look at managing a decoupled system - which is of course what most EC2 systems are going to be.

This is a good book but it is only a shadow of what it could be. It is very narrow in its selection of topics. Instead of making sure that you really know what is going on at any given point it tends to move on quickly before answering any difficult questions. I think the authors could have dealt with these ideas but they don't seem to be aware of the need to discuss them. There is also no coverage of Windows virtual machine images or alternatively a more general view of how to work with EC2 irrespective of the detailed technology you choose.

Overall this is a good introduction to EC2 and it's short. It doesn't go far enough on any of the topics it selects and it reads more like a set of personal experiences mixed in with some "how to..." If this is what you are looking for then buy a copy.

Banner


Code: The Hidden Language of Computer Hardware and Software 2nd Ed

Top Book 2023
Author: Charles Petzold
Publisher: Microsoft Press
Date: August 2022
Pages: 480
ISBN: 978-0137909100
Print: 0137909101
Kindle: B0B123P5GV
Audience: General
Rating: 5
Reviewer: Mike James
Code! We all need to know about it.



The Async-First Playbook

Author: Sumeet Gayathri Moghe
Publisher: Addison-Wesley
Pages: 368
ISBN: 978-0138187538
Print: 0138187533
Kindle: B0CCTZHB9N
Audience: Agile developers
Rating: 4
Reviewer: Kay Ewbank

The driver behind this book was the pandemic and the need to find ways to make remote working effective for teams. So do [ ... ]


More Reviews

Last Updated ( Monday, 05 February 2018 )