The Creating monitoring dashboards recipe The Launching an Instance recipe in Chapter 4, Using AWS Compute.