fn icon indicating copy to clipboard operation
fn copied to clipboard

Deploying to prod

Open Daniel15 opened this issue 6 years ago • 4 comments

Is there any documentation on securely deploying Fn to production in a very simple environment (one server, without Kubernetes, with publicly accessible functions, where only I can publish new version of the functions)? I saw there's a document at https://github.com/fnproject/docs/blob/master/fn/operate/production.md, but it's pretty high level.

ext-auth (https://github.com/fnproject/ext-auth) seems useful, however it seems like there's no way to disable creation of new users.

I imagine a tutorial that covered getting a VPS from DigitalOcean or Vultr, installing Fn on it, and deploying a basic function would be really useful for a lot of users.

Daniel15 avatar Apr 06 '19 01:04 Daniel15

thanks for this. I know some have found there way to their own setups but no explicit docs yet. We've focused a lot (and still are) on leveraging k8s through fn-helm / docs, but a simple "non-distributed" prod setup would be really helpful. Adding to community call for today and hoping we can bump in priority to address.

carimura avatar Apr 09 '19 14:04 carimura

The main thing that attracted me to Fn is that it's "just Docker" and I don't need to learn about Kubernetes like with some other FaaS systems. I only have one server with a small number of things on it, so it seems like overkill for me.

Daniel15 avatar Apr 09 '19 16:04 Daniel15

I'm totally with you on this.

carimura avatar Apr 09 '19 16:04 carimura

I wanted to deploy inside AWS's FARGATE and I do not want my function to be public (fn to be used internally by other services). How would deployment work, if my fnserver is not public?

rohitcelestial avatar Sep 26 '19 19:09 rohitcelestial