anchor.diff:  . Delete the deployed instance.
   . Delete volume.
   
  -== Create a plugin configuration
  +==== Create a plugin configuration
   
   In {CD}, go to *Administration* > *Plugins* to open the Plugin Manager. Then click *Configure* and enter the values for the parameters in the EC2 Configuration page.
   
  
positive.code: 
  This procedure calls the API_DeleteKey, API_Terminate and API_DeleteVolume procedures to clean up the instance.
  
  == View the results and output
  
  After the job runs, you can see properties in the results location that you specified.
  
  
negative.code: 
  This procedure calls the API_CreateKey, API_RunInstances, API_Run and API_AttachVolumes procedures to deploy the instance.
  
  ==== Use the resource
  
  Create a new command step for the resource. In this example, get a resource from the resource pool and add an ec-perl *sleep* command for 30 seconds
  
  image::cloudbees-common::cd-plugins/ec-ec2/use_cases/case-1/consume_parameters.png[image]
  
  ==== Clean up the instance
  
  After the resource is used, create a step using the EC2 Auto Cleanup procedure and enter the parameters:
  
  