Skip to content

Create a CSync Instance on Bluemix

Belinda Vennam edited this page May 5, 2017 · 11 revisions

1.First you need to upload the CSync image to your bluemix registry. Follow the instructions here to copy ibmcom/csync from dockerhub. If you already have the Cloud Foundry CLI, you can use the cf ic plugin and run the following command:

cf ic cpi ibmcom/csync registry.ng.bluemix.net/{your_namespace}/{test_image_name}:{tag_name}

2.Once you have the CSync image in your bluemix registry, sign in to your Bluemix Console

3.In the dashboard, click the Create Containers button as shown in the screenshot below:

Start Containers

3.Select the CSync image you uploaded.

CSync Image

4.Give your new container a name and choose the size you need. Select Request and Bind Public IP from the Public IP dropdown. For your public port, use 6005/tcp.

Options

4.1.To add environment variables to the container, click Advanced Options

Advanced Option

4.2.Click Add a new environment variable

Advanced Option

5.Click Create. Bluemix will start building your container.

6.Once the container is running, check the Container Details. If the Public IP says None, click the arrow and choose the IP address to use or choose Request and Bind Public IP.

Running

7.Use this IP address as Host and 6005 as your Port when connecting to CSync in your application.