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

Multicontainer docker support on Beanstalk #1004

Closed
philippeluickx opened this issue Jan 23, 2017 · 12 comments
Closed

Multicontainer docker support on Beanstalk #1004

philippeluickx opened this issue Jan 23, 2017 · 12 comments

Comments

@philippeluickx
Copy link
Contributor

It seems to me that the best of both worlds (docker and EBS) should be possible: https://aws.amazon.com/about-aws/whats-new/2015/03/aws-elastic-beanstalk-supports-multi-container-docker-environments/

I'm looking into this setup, but if anyone has any suggestions it'd be awesome to hear!

@statwonk
Copy link
Contributor

statwonk commented Feb 1, 2017

@philippeluickx I'm pretty in this type of setup and a willing test user. :) Let me know how I can help. I'm happy to do research if you can think of a checklist.

@pydanny
Copy link
Member

pydanny commented Apr 20, 2017

I'm definitely interested in this effort, but as I'm not a Docker expert, the most I can do is review pull requests.

@philippeluickx
Copy link
Contributor Author

@pydanny Thanks for the thumbs up!
@statwonk I got a basic setup running, still interested?

I'm actually making progress with this, got a first very basic setup running.
However, there are some practical challenges. E.g. one is that with multicontainer Beanstalk, you pull docker images from repositories, you can not build and push a container yourself.
So this setup would work, but there would be quite some docs and instructions on how to get it running.

Still trying to learn how to get a full project up, once I have that running I'll fork and share what I've got!

@pydanny
Copy link
Member

pydanny commented Apr 26, 2017

I'm excited by this! For the HTTP Server are you using Nginx or Caddy? I'm asking because websocket/asgi support would mean channels on ELB! Yeah!

@philippeluickx
Copy link
Contributor Author

philippeluickx commented Apr 26, 2017 via email

@pydanny
Copy link
Member

pydanny commented Apr 26, 2017

Nginx is fine with me. I know @jayfk prefers Caddy, but as long as we get this for ELB, I'm not picky. 😄

@philippeluickx
Copy link
Contributor Author

https://github.com/philippeluickx/cookiecutter-django/tree/d/ebs

Started a new fork (and d/ebs branch) to share what I've got so far. I started out by removing a lot of functionality (e.g. Celery support) to get just to basics running. So far a simple implementation works for my project that started from a basic cookiecutter, trying to copy the changes to the core project.

I'd love to get feedback on this. Wouldn't make sense to continue adding functionality and logic if the starting point goes in the wrong direction.

By the way, if there is any better way to test, I'd love to hear about it. For now, I always do a git push for the smallest change to debug, not really best practice I fear.

Finally, I couldn't test it myself because of an issue #1150 .

@matt7277
Copy link

matt7277 commented May 1, 2017

Hey @philippeluickx thanks for the work! I also want to get this working on Elasticbeanstalk but i was approaching it from the Python EBS platform and not the multi-container docker route. I'll give your fork a try and will provide feedback if I can

@philippeluickx
Copy link
Contributor Author

@matt7277 Sounds good!
It's really really WIP, but drop me a message when you get stuck somewhere.
I am keeping some docs as well, make sure to check that out.

@philippeluickx
Copy link
Contributor Author

@pydanny @matt7277 Found some time and got the multicontainer setup to work. Please check out https://github.com/philippeluickx/cookiecutter-django/tree/d/ebs2 . Added a file in docs, so be sure to read that.

I would need people testing this more in depth, what's the best approach?

@browniebroke
Copy link
Member

Stumbled upon this issue today. Just a heads up that the EBS support has been removed recently.

@philippeluickx
Copy link
Contributor Author

Yes, I'll be putting up a fork for this and rebase regularly. Thanks for the heads up!

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