Errata

Programming Amazon EC2

Errata for Programming Amazon EC2

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Date Corrected".

The following errata were submitted by our customers and approved as valid errors by the author or editor.

Color key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted By Date submitted Date corrected
Other Digital Version
vii
7th line of TOC for "5. Manage the inevitable downtime"

"Why did I LOOSE my instance?" should be LOSE.

(Reading "Sampler".)

Ben North  Mar 01, 2011 
Printed
Page 63
Last example (mon-put-metric-alarm).

Scaling down alarm is named 'alarm-app-server-scale-UP' and thus created twice with different parameters.

Shouldn't it be:

$ mon-put-metric-alarm alarm-app-server-scale-DOWN \
.... continued ....

Julius ?ėporaitis  Feb 22, 2012 
Other Digital Version
96

Page 96 ePub book:

CNAMES are inserted media01 through media04 .kulitzer.com. next page, in config/environments/production.rb, it is using static%d rather than media %d

config.action_controller.asset_host = "http://static%d.kulitzer.com"

shouldn't the cnames at page 96 be static0..static3 instead?

Bashar Abdullah  Jan 06, 2012 
PDF
Page 146
java code

The condition of the if:

result.getAttributeNamesSizeBytes() +
result.getAttributeValuesSizeBytes() +
result.getItemNamesSizeBytes() > 10 * 1024 * 1024 * 1024 * 0.8

will not work, because the constant 10 * 1024 * 1024 * 1024 * 0.8 overflows.

We could replace by:

(result.getAttributeNamesSizeBytes() +
result.getAttributeValuesSizeBytes() +
result.getItemNamesSizeBytes()) / 1024 / 1024 > 10 * 1024 * 0.8

Flavia Paganelli
Flavia Paganelli
 
Mar 01, 2011