Deploying HipChat Server

Still need help?

The Atlassian Community is here for you.

Ask the community

This page describes how to deploy HipChat Server from an open archive (OVA) image and an Amazon Machine Image (AMI) using Amazon Web Services (AWS). It also describes how to configure HipChat Server to use a static IP address.

Deploying from an OVA image

You can deploy HipChat Server from an OVA image. Before you start, see the recommendations for deploying HipChat Server in a secure configuration.

Downloading the OVA image

Download the OVA image at https://www.hipchat.com/server/get-it.

System requirements for deploying the OVA image

We distribute HipChat Server in an open virtualization archive (OVA) format. 

We support deploying the HipChat Server OVA image on VMware and VirtualBox.

This page

Related content

 

Note: If you want to cluster HipChat Server for high availability and fault tolerance, we recommend you deploy HipChat Server using VMware as VMware provides these features. For details, see the VMware site and documentation. Also, see this FAQ.

The virtual machine uses a 64-bit OS base on Ubuntu 12.04 defaulting to 4GB RAM and 4 vCPU and 74GB of storage capacity.

Deploying from the OVA image

  1. Start your virtualization management interface using any of the following: VI Client, VirtualBox, VMware Fusion, Workstation, or Virtual Server.
  2. Deploy the appliance (OVF template), then specify the local HipChat.ova image.
  3. Accept the license agreement.
  4. Specify the deploy-time configurations, if available.
  5. Start the virtual machine, if it doesn't start automatically.
  6. Wait at least five minutes for the server to start for the first time.
    Hint: Your HipChat Server's IP address (https://ip-address) will be accessible and show you the Configure HipChat Server user interface when the system is ready.
  7. Log into the local console with the following credentials:
    Username: admin
    Password: hipchat 
  8. Type passwd and update the local admin account password.
     (warning) The password is your key into the HipChat Server command line interface. If you lose it, we can't recover it for you.
  9. Optionally, configure a static IP address
  10. Log into and configure HipChat Server. The first time you log in, a setup wizard runs. 

Configuring a static IP address

If you deployed HipChat Server from an OVA image, HipChat Server is running in dynamic host configuration protocol (DHCP) mode (if DHCP is available), and will have its IP address, netmask, gateway, and DNS provided by your DHCP Server.

You can alternatively, manually, assign a static IP address.

If you deployed HipChat Server from an AMI, a static IP address has been configured for you automatically.

When you configure HipChat Server to use a static IP address you must configure all parts of the network, such as the netmask, gateway, and DNS.

To assign an IP address, type the following command:

hipchat network -m static -i <IP> -s <netmask> -g <gateway> -r <DNS>

For example:

hipchat network -m static -i 192.168.1.2 -s 255.255.255.0 -g 192.168.1.1 -r 4.4.4.4

Note: For more help on the syntax, type:

hipchat network

Deploying from an AMI

You can deploy HipChat Server from an AMI. 

Note: For information on Amazon Web Services' security infrastructure, see Amazon Web Services Security Center.

  1. Log into the Amazon Web Services (AWS) administrator's console.
  2. Download the current set of public machine images' names by region: hipchat-server-amis.html (hipchat-server-amis.csv)
  3. In the Amazon Machine Images (AMIs), search for a HipChat Server identifier in your region, for example: ami-11aa22bb33 
  4. Launch the selected image.
  5. Define a new security group (firewall rules) with open outbound and the following inbound rules for TCP ports:
    • 22 for remote management by yourself
    • 80, 443, 5222, 5223 for production chat and web services
    • Provision an instance of HipChat Server image
  6. Select an Instance Type with at least two vCPUs and 4GB or more of RAM:
    • c4.large for under 100 users (4GB RAM)
    • c4.xlarge under 500 users (8GB RAM)
    • c4.2xlarge under 1000 users (16GB RAM) 
    • c4.4xlarge under 3000 users (30GB RAM) 
    • c4.8xlarge under 5000 users (60GB RAM)
  7. Assign at least 60GB to the root EBS SSD volume.
    Note: 4GB is used for system files; the rest is used for file uploads, logs, and chat history.
  8. Assign the newly created HipChat security group.
  9. Select a keypair for SSH access as the admin user. For example, type:

    ssh -i yourkey.pem admin@4.4.5.5

    Note: If you are prompted for a password when trying to SSH using your EC2 private key then verify that you have the correct key, the correct user ownership of the yourkey.pem file, and and that the permissions on the key are read only (i.e. chmod 400). 

  10. Note the public hostname once deployed, for example:
    ec2-4-4-5-5.compute-1.amazonaws.com

     

    HipChat Server is designed to use the Public DNS address, not the Public IP.
  11. Create a CNAME record for your production domain that resolves to the AWS public hostname.
  12. Wait at least five minutes for the server to start for the first time.
    Hint: Your HipChat Server's IP address (https://ip-address) will be accessible and show you the Configure HipChat Server user interface when the system is ready.

Getting root access to the OVA and AMI files

To get root access to the OVA or AMI files:

SSH in as "admin" and run sudo /bin/dont-blame-hipchat

Changes you make as root may be overwritten on upgrade and may cause data loss.

Next Step: Configure your HipChat Server

Last modified on May 10, 2016

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.