egze
Distributed Elixir on AWS Fargate
Can you please share your setup if you are running a cluster in Fargate? Our DevOps are trying their best to have a setup in Fargate for our new Elixir app, but it‘s hard.
What I want as a developer is node discovery and being able to connect to a cluster in IEx, debug production app, observer would be nice too. I think the state right now is - there is a cluster, but no shell, no ssh, no IEx.
Maybe there is some tip that you can share how to achieve it? It would be a shame to go back to stateless architecture.
Or maybe it‘s common not to have shell/iex in prod? ![]()
First Post!
ChaseGilliam
My old team struggled with this for months and never arrived at a working solution for Fargate. We ended up using ECS.
Most Liked
drewble
I shared this in an older thread as well, but for anyone looking, I wrote up a fresh step by step guide on deploying distributed Elixir nodes to ECS Fargate with AWS Service Discovery and libcluster DNS Polling. Also includes remote iex shell access. Elixir Clustering with libcluster and AWS ECS Fargate in CDK
Popular in Questions
Other popular topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #elixirconf-us
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #metaprogramming
- #security
- #hex










