Confluence 6.0 で Amazon Web Service Elastic Load Balancer を構成する方法


アトラシアン コミュニティをご利用ください。


このページの内容は、サポート対象外のプラットフォームに関連しています。したがって、アトラシアンは、そのためのサポートの提供を保証できません 。この資料は情報提供のみを目的としているため、お客様自身の責任でご使用ください。



Confluence 6.0 introduces collaborative editing, which requires WebSockets. Additional configuration is required to ensure this new feature works with Amazon Web Services (AWS) Elastic Load balancing (ELB).

tip/resting Created with Sketch.

If you have a pre-existing setup, you may need to adapt these instructions to suit your current settings. These instructions cover creating a new Elastic Load balancer.



  1. Ensure you have updated Confluence's base URL to the eventual address of your load balancer.
  2. Ensure your server.xml file contains the proxyName and proxyPort parameters, and scheme if you're using HTTPS.

For example, if you were configuring an Elastic Load Balancer to listen at you'd configure your HTTP connector as follows:

<Connector port="8090" connectionTimeout="20000" redirectPort="8443"
    maxThreads="48" minSpareThreads="10"
    enableLookups="false" acceptCount="10" debug="0" URIEncoding="UTF-8"
    proxyName="" proxyPort="443" scheme="https" />

Creating the targets

The targets must be created for a specific Virtual Private Cloud (VPC) first. We can then address those targets in the load balancer. 

  1. From the EC2 Console, choose Target Groups under Load Balancing.
  2. Create two new targets - one for Confluence, and one for Synchrony using the recommended settings below.
  3. Once the targets have been created, click the Targets tab, and choose an instance to register the targets to. Both targets must be registered to the same instance of Confluence.

Recommended settings

For ConfluenceFor Synchrony


  1. The protocol refers to the protocol between the load balancer and Tomcat - not what protocol your users will use. You should use HTTP unless you are specifically terminating SSL at Tomcat.
  2. The default port for Confluence is 8090. Check your server.xml to see what port Confluence is listening on.
  3. The default port for Synchrony is 8091. The port is configured with the JVM parameter -Dsynchrony.port. See Recognized System Properties for more information.
  4. Make sure that the port used by Synchrony (8091 or a custom one) is open on the security group configuration in order to allow connections to the JVM.

Creating the load balancer

With the targets created and registered to the instance, we must now create the load balancer to proxy connections to Synchrony.

  1. Create a new Application Load Balancer.
    Note: the Classic Load Balancer is not supported, and is outside the scope of these instructions. 
  2. Choose which listeners the Load Balancer will handle (at least HTTP or HTTPS).
  3. Specify your VPC and availability zone (subnets).
  4. [Next] をクリックします。
  5. If you have an SSL certificate, you can install it on this screen then click Next. If you aren't using SSL, you can skip this step.
  6. Choose an existing (or create a new) Security Group then click Next.
  7. Choose the Confluence target you created earlier then click Next.
  8. Review the settings then click Next.
  9. 作成をクリックします。

Once the load balancer has been created, we must create an additional rule to send Synchrony traffic to the Synchrony service.

  1. Click the Listeners tab.
  2. Expand the appropriate listener (or listeners) and click Create Rule.
  3. In the Path field, add /synchrony/*
  4. Choose the Synchrony target you created earlier.
  5. Click Save.


Confluence 6.0 introduces collaborative editing, which requires WebSockets. Additional configuration is required to ensure this new feature works with Amazon Web Services (AWS) Elastic Load Balancing (ELB).

最終更新日: 2018 年 9 月 2 日


Powered by Confluence and Scroll Viewport.