I would love to thank Ory Team for building such f...
# ory-selfhosting
b
I would love to thank Ory Team for building such fantastic products! Been going through the documentation since past few days trying to get a good grasp of everything and my team landed on a decision to use Kratos, Oathkeeper and Hydra together for our upcoming product ecosystem. However, none of my team members are into DevOps and I myself am a newbie at Kubernetes. Although I was able to set things up with docker-compose based on a reference GitHub repo along side NextJS Kratos UI, I'm unsure of how to proceed towards setting up all the products for development using Skaffold. I would be really thankful if anyone can guide me in a general direction.
m
Hello Rushil, thanks for the kind words! Using all Ory products together is not trivial and highly dependent on the use case. But we do have some resources from the community helping with this: https://www.ory.sh/docs/ecosystem/community/#ory-stack In the (not so distant) future we will also provide an Ory-maintained example for the full stack, but there are some optimisations that have to be finished first, e.g.: https://github.com/ory/kratos/issues/273 (which is being worked on in the background) Also we are building Ory Cloud for everyone who does want to host it themselves (there are multiple reasons for not self-hosting, but lack of DevOps is a very common one). If you want I can give you an intro to it, or you post in #C02MR4DEEGH.
b
Thanks for the quick turn around Vincent Much appreciated! Ory Cloud definitely looks enticing. However, our use case cannot be sufficed entirely with the same at the moment. Rest assured, I’m definitely going to write a Medium article on explaining my team's self hosted solution (once we figure it all out) to using all the mentioned Ory products as a part of giving back to the community.
m
Nice! Keep me posted on your progress 🙂 A good way to start would also be to create a github discussion for example in the kratos repo to outline your use case a bit: https://github.com/ory/kratos/discussions/new Or you see if you already can get a Proof of Concept working with the community resources
b
After a few sleepless nights, was able to figure a truck load of things. So here's the progress so far using Skaffold (minikube) -  Emissary Ingress (with TLS) with Ory Oathkeeper Decision API (Ory Helm Charts)  Integration of NextJS Kratos self-service UI (based on TailwindCSS with a few logical redirection workarounds for MFA) behind Emissary Ingress with Ory Kratos (Ory Helm Charts)  using CockroachDB ️ Integration of MailHog as Fake SMTP Server with Kratos. ️ Integration of Ory Hydra ️ Integration of Authzed SpiceDB with Ory Oathkeeper Apart from the above pending tasks, there are a few issues I'm currently facing and trying to resolve the same. Hoping to come up with a more complete solution by next weekend.
Hey @User, Except for a tiny issue related to subdomain cookies in Ory Kratos mentioned in the #C012RJ2MQ1H channel, i was able to successfully finish the above mentioned integrations! 🎉 Can you guide me a little in how and where would you like me to document my journey and help others achieve the same goal? (Haven't really written anything on the internet) On the way to achieving the goal, I found out that the Ambassador-Oathkeeper community article is pretty outdated and I would love to update it as well with Emissary Ingress.
m
Wow you made huge progress 🙌 Thanks for keeping us in the loop, very interesting!