Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running on AWS in ECS or Fargate? #329

Open
jgillick opened this issue Apr 30, 2018 · 6 comments
Open

Running on AWS in ECS or Fargate? #329

jgillick opened this issue Apr 30, 2018 · 6 comments

Comments

@jgillick
Copy link

Has anyone successfully run this on ECS or Fargate? I'm wondering how I'd go about approaching this with wasabi. Any help is appreciated.

Thank you!

@stefanrmeier
Copy link

@jgillick I am working on this right now. Did you have any progress?

@jgillick
Copy link
Author

I haven't had the time to put towards this yet. How are you planning to approach it?

@rwadstein
Copy link

rwadstein commented May 16, 2018

I managed to get a dedicated docker image working and ready to be deployed. We use Codeship Pro to do our CI and have yet to get it in there to actually build and push to AWS ECR. So far this is what I have done and got it working:

  1. Built a docker image whose sole responsibility is to bootstrap and build via an entrypoint script.
  2. After bootstrap and build complete, the entrypoint script would copy all relative build directories over to a docker volume mount including the Dockerfile in the wasabi repo.
  3. Created a docker-compose.yml for the image to be built
  4. Created a bash script to launch the compose file, build the wasabi-main Dockerfile, build cqlsh.docker, build migration.docker

Essentially all I really needed for an ECS deployment is the wasabi-main docker image.

@stefanrmeier
Copy link

@rwadstein Would you mind to share your docker and docker-compose file?
@jgillick I was thinking of creating a docker file where I install the debian rpms. For mysql I will probably use RDS and a cassandra cluster.

@ahmet8282
Copy link

It would be great if you can share it @rwadstein

@brendanjryan
Copy link

☝️ interested in this as well!

Here at @vsco we are running wasabi in K8s and found the docker workflow to be a little tricky to run in prod.

With these few patches (and a few internal) we have been successful and stable for the last year+ though!!

#304
#294

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants