Skip to content

Create a CSync Instance on Amazon Web Services

Thomas Boop edited this page Apr 25, 2017 · 3 revisions
  1. Pull csync/csync-server from github and follow the steps to create an image.
  2. Navigate to /target/docker/stage and append “EXPOSE 6005” without the quotes to the Dockerfile
  3. Compress the DockerFile, the opt folder into a zip file. Make sure these files are at the root of the zip file. You will need this file later on
  4. Navigate to https://console.aws.amazon.com/elasticbeanstalk/
  5. Click on Create New Application in the top right
  6. Provide a Name and Description for your new application.
  7. Click on actions and create a new environment
  8. Choose Web Server Environment
  9. Choose Docker as the platform
  10. For application code, choose upload your code and select the zip file from step 3. Your screen should look like this now.
  11. Click on Configure more options
  12. Click on the load balancer
  13. Set the ELB to use TCP instead of HTTP if it is not already set
  14. Click on Save
  15. Click on Create new Environment