-
Notifications
You must be signed in to change notification settings - Fork 4
Create a CSync Instance on Amazon Web Services
Thomas Boop edited this page Apr 25, 2017
·
3 revisions
- Pull csync/csync-server from github and follow the steps to create an image.
- Navigate to /target/docker/stage and append “EXPOSE 6005” without the quotes to the Dockerfile
- 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
- Navigate to https://console.aws.amazon.com/elasticbeanstalk/
- Click on Create New Application in the top right
- Provide a Name and Description for your new application.
- Click on actions and create a new environment
- Choose Web Server Environment
- Choose Docker as the platform
- For application code, choose upload your code and select the zip file from step 3. Your screen should look like this now.
- Click on Configure more options
- Click on the load balancer
- Set the ELB to use TCP instead of HTTP if it is not already set
- Click on Save
- Click on Create new Environment