anchor.diff:  image:https://github.com/killbill/killbill-docs/raw/v3/userguide/assets/aws/multitier-instances.png[align=center]
   
   
  -In a short time, the *Instance State* for your instance should indicate *Running*. You will need to scroll to the right to see all of the information available about your instances.
  +In a short time, the *Instance State* for each instance should indicate *Running*. You will need to scroll to the right to see all of the information available about your instances.
   
   === Setup Security Rules
   
  
positive.code: When your certificate is successfully created, you may delete the temporary (validation) CNAME. Then proceed as described above.
  
  
  === Testing
  
  When your ELB is complete you can proceed to testing. If you are using HTTPS you should be able to login to KAUI from your browser using the URL https://kaui.DOMAIN, where DOMAIN is *your* domain that you have used for your certificate. If you are using HTTP you will need to use the URL http://DNS_NAME where DNS_NAME is the *DNS name* for the KAUI load balancer as given on the Load Balancer dashboard.
  
  
negative.code:  
  Congratulations! Your multi-tier installation is ready to go!
  
  == Upgrades
  
  From time to time new versions of Kill Bill and KAUI may be released. This section explains how to install these new versions. You will need to follow these procedures for *each* of your instances.
  
  First, login to your instance using `ssh`, then switch to the `tomcat` user: 
  
  `sudo su - tomcat`
  
  The configuration file `/var/lib/killbill/kpm.yml` specifies the Kill Bill version (and its plugins) running on the instance. Once you edit this file to specify the new version number, it will be used automatically. Perform the following steps:
  
  1. Edit the configuration file to update the version number
  2. Run the command `$KPM_INSTALL_KB_CMD`
  3. Delete the cached directory `/var/lib/tomcat/webapps/ROOT`
  4. Restart the instance.
  
  A similar process can be used for KAUI: update `/var/lib/kaui/kpm.yml`, run `$KPM_INSTALL_KAUI_CMD`, delete the cached directory `/var/lib/tomcat/webapps2/ROOT` and restart the instance.
  
  
  