anchor.diff:  you may find useful from the Kill Bill collection, including metrics
   that show the performance and resource use of Kill Bill and Kaui
   themselves, and metrics describing the infrastructure on which these
  -systems run. Cloudwatch is included automatically in the Kill Bill Cloudformation option, but it can be used with the other AWS options as well.
  +systems run. CloudWatch is included automatically in the Kill Bill CloudFormation option, but it can be used with the other AWS options as well.
   
  -In this guide we discuss the use of Cloudwatch to manage metrics produced
  +In this guide we discuss the use of CloudWatch to manage metrics produced
   by single-tier and multi-tier implementations on Amazon Web Services (AWS). The latest Amazon Machine Image (AMI)
   for Kill Bill is preconfigured to direct the Kill Bill metrics to
   CloudWatch and work with them in the way that best suits your needs. These instructions apply to the Kill Bill AMI version 2021.9 or later.
   
   To set up CloudWatch to manage the metrics available from Kill Bill, there
  -are three steps:
  +are five steps:
   
   1. Edit a configuration file to enable the use of CloudWatch.
  -2. Install the AWS Xray daemon
  -3. Create an AWS role and policy for your EC2 instance(s)
  +2. Install the AWS X-Ray daemon
  +3. Create an IAM policy
  +4. Create an IAM role
  +5. Attach the role to your EC2 instance(s)
   
  -== Enable CloudWatch Use
  +== Edit the Configuration File
   
  -To authorize the sending of the Kill Bill metrics, it is necessary to
  +To authorize the sending of the Kill Bill metrics to CloudWatch, it is necessary to
   edit just one line in this file:
   
   ```
  
positive.code: 
  If you have more than one instance, repeat these commands on each one.
  
  == Create a Policy
  
  This step creates a policy, or a set of permissions, that is required to access the Kill Bill metrics.
  
  . From the EC2 Dashboard, Type "IAM" in the search field at the upper left. Select the IAM Dashboard.
  . From the left menu, choose Policies, then select *Create Policy*.
  . On the page that appears, select the JSON tab. You should see:
  
  (image)
  
  . Next. copy the following lines between the square brackets:
  
  ```
          {
              "Effect": "Allow",
  
negative.code: instance* so the new configuration file will be read. If you have more
  than one instance, follow the same procedure for each one.
  
  == Install the X-Ray daemon
  
  AWS X-Ray is a service that collects and analyzes data from your applications. A daemon is a process that runs in the background to do a job whenever it is needed. The X-Ray daemon uploads application metrics to X-Ray in batches to be processed. X-Ray then forwards this data to CloudWatch for display.
  
  To setup the daemon, log in to your EC2 instance and run the following commands:
  
  ```
  curl https://s3.dualstack.us-east-1.amazonaws.com/aws-xray-assets.us-east-1/xray-daemon/aws-xray-daemon-3.x.deb -o /home/ubuntu/xray.deb
  