anchor.diff:  
   For installation support along the way, reach out to `support@killbill.io`.
   
  -== Configuration Options
  -
  -The installation supports the following configuration options:
  -
  -* *VpcId:* the VPC to use for the installation. In your AWS Console, go to *Services* and search for *VPC*. Under *Your VPCs*, locate the VPC ID you would like to use or create a new one.
  -* *Subnets:* the subnets to use for the KB and KAUi instances. They should be associated with at least two different availability zones. In the VPC Dashboard, go to *Subnets* and find two subnets in your VPC *in two different availability zones*. Alternatively, create new ones (use 10.0.0.0/24 and 10.0.1.0/24 as the IPv4 CIDR for instance).
  -* *RDSSubnets:* the subnets to use for the RDS instance. The RDS instances require a subnet group with at least two different availability zones.
  -* *KeyName:* name of an existing EC2 KeyPair to enable SSH access to the instances. You can create a new one by going to *Key Pairs* in your EC2 Dashboard.
  -* *HTTPLocation:* IP address range allowed to access the load balancer (you can always use 0.0.0.0/0 initially and adjust access later on).
  -* *EnvType:* environment purpose (test, prod, etc.). No difference in the stack being created but stack will send this variable to `CloudWatch` as a dimension.
  -* *InstanceType:* the EC2 instance type to use for Kill Bill.
  -* *KillBillServerCapacity:* the initial number of Kill Bill instances in the Auto Scaling group.
  -* *KauiServerCapacity:* the initial number of Kaui instances in the Auto Scaling group. We recommend using the default value `2`.
  -* *KBAdminPassword:* the `admin` password that will be used for the default `root` user which has all the permissions. By default such password is set to `password`. Typically, one would use the `root` user to create additional roles (along with their permissions) to limit the scope of what specific applications or users can do. See our https://docs.killbill.io/latest/user_management.html[User Management Documentation].
  -* *DBClass:* the database instance type to use for RDS.
  -* *DBName:* database name for Kill Bill. We recommend using the default value *killbill*.
  -* *KauiDBName:* database name for Kaui. We recommend using the default value *kaui*.
  -* *DBUser:* database admin username
  -* *DBPassword:* database admin password
  -* *EnableCloudWatchMetrics:* whether to record Kill Bill metrics in CloudWatch. Strongly recommended for production. When enabled, a default monitoring dashboard will be created.
  -
  -== Setup Steps
  -
  -1. Start the installation process by going to +++<a href="https://aws.amazon.com/marketplace/pp/prodview-nochv5omslmds?ref=_ptnr_doc_" onclick="getOutboundLink('https://aws.amazon.com/marketplace/pp/prodview-nochv5omslmds?ref=_ptnr_doc_'); return false;">AWS Marketplace</a>+++: click *Continue to Subscribe* and populate the configuration options in the CloudFormation form.
  -2. Launch the stack.
  -3. Upon success, the Outputs tab will display the load balancer URL. Kill Bill is available on port 80 while Kaui on port 9090.
  -
  -You can log-in to Kaui by going to http://<LOAD_BALANCER_URL>:9090 (make sure your IP address can access the load balancer, as defined by the parameter `HTTPLocation`, or add it to the security group as needed). Default credentials are: *admin/password*.
  -
  -Take a look at our http://docs.killbill.io/latest/getting_started.html#_using_kill_bill_with_kaui[Getting Started] guide for an introduction to Kaui.
  -
  -=== SSL
  +
  +== Using HTTPS TO BE REVISED
   
   You can configure the load balancer to accept SSL connections.
   
  
positive.code: image:https://github.com/killbill/killbill-docs/raw/v3/userguide/assets/img/aws/cloudwatch.png[align=center]
  
  
  In order to have business metrics, we also allow to install additional plugins suchs as our free https://github.com/killbill/killbill-analytics-plugin[Analytics plugin]. This provides a subscription billing management solution as feature-rich as popular SaaS platforms, but that you can control. Below is a screenshot of such business metrics:
  
  
  image:https://github.com/killbill/killbill-docs/raw/v3/userguide/assets/img/aws/analytics.png[align=center]
  
negative.code: 
  Tip: if you are using a self-signed certificate, Chrome will complain about the certificate being invalid (`NET::ERR_CERT_INVALID`). On this error page, type `thisisunsafe` on your keyboard to bypass the error.
  
  == Testing TO BE COMPLETED
  
  If you are using HTTP, go to your browser and type `http://DNS_NAME`, where DNS_NAME is the *DNS name* for your load balancer as given on the Load Balancer dashboard. You should see:
  
  image:https://github.com/killbill/killbill-docs/raw/v3/userguide/assets/aws/cf-success.png[align=center]
  
  
  
  When your stack 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.
  
  The KAUI login screen should appear. For an introduction to KAUI, see our http://docs.killbill.io/latest/getting_started.html#_using_kill_bill_with_kaui[Getting Started] guide. The default credentials are: `admin` / `password`. The first few requests might be a bit slow as Kill Bill initializes itself.
  
  
  Similarly, you should be able to login directly to the Kill Bill server using the URL https://kaui.domain:8443 or the URL http://DNS_NAME:8443.
   
  Congratulations! Your CloudFormation installation is ready to go!
  
  
  == TroubleShooting Section TO BE REVIEWED
  
  === Stack Creation
  
  