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

Keystone 5 deployment strategies #1257

Closed
jesstelford opened this issue May 29, 2019 · 5 comments
Closed

Keystone 5 deployment strategies #1257

jesstelford opened this issue May 29, 2019 · 5 comments
Assignees

Comments

@jesstelford
Copy link
Contributor

jesstelford commented May 29, 2019

As Keystone 5 begins to be used in production applications, we need to ensure the deployment story for a Keystone 5 instance is clear, works well under a number of different scenarios, and covers most use cases.

Here are some possible deployment types and notes on how to deploy a Keystone 5 instance to them.

NOTE: This is a work in progress and we'll continue to fill out this list as we go

Servers

Currently supported directly with the keystone build && keystone start commands, it's possible to get a production build up and running quickly.

For more flexibility, we also have Custom Servers.

PaaS

Heroku

See: How to deploy Keystone 5 to Heroku: #1265

Docker

Stand alone Docker Image

See How to create a Docker Image for Keystone 5: #1266

Docker Clusters on Kubernetes

coming soon...

Docker Clusters on AWS ECS

coming soon...

Lambda Functions (aka: Serverless)

Deploying to a serverless environment is not compatible with the current keystone CLI tool (or Custom Servers), and requires a different approach where each app is split into its own serverless function.

Lambdas on now.sh

See How to deploy Keystone 5 to now.sh v2 (serverless): #1258

Lambdas on Apex UP

coming soon...

Lambdas with Netlify Functions

coming soon...

Lambdas with Serverless Framework

coming soon...

Lambdas with Google Cloud Functions

coming soon...

Lambdas on Cloudflare Workers

coming soon...

Lambdas on Azure Functions

coming soon...

Lambdas on AWS Lambda

coming soon...

Lambdas with Claudia

coming soon...

@nathsimpson
Copy link
Contributor

I have multiple KS5 apps on Heroku. I'm here to help any way I can :)

@stale
Copy link

stale bot commented Feb 15, 2020

It looks like there hasn't been any activity here in over 6 months. Sorry about that! We've flagged this issue for special attention. It wil be manually reviewed by maintainers, not automatically closed. If you have any additional information please leave us a comment. It really helps! Thank you for you contribution. :)

@kirillrogovoy
Copy link

Just dropping a note that I couldn't use Keystone on AWS Lambda because npm i @keystonejs/keystone @keystonejs/fields create more than 500Mb of node_modules/

The AWS hard limit, as of time of writing, is 250Mb.

The problem is 90% the fields package that depends on a lot of front-end stuff (for client-side field rendering), every data adapter and its dependencies, Babel, React, and so on.

@stale stale bot removed the needs-review label Oct 16, 2020
@stale
Copy link

stale bot commented Feb 13, 2021

It looks like there hasn't been any activity here in over 6 months. Sorry about that! We've flagged this issue for special attention. It wil be manually reviewed by maintainers, not automatically closed. If you have any additional information please leave us a comment. It really helps! Thank you for you contribution. :)

@bladey
Copy link
Contributor

bladey commented Apr 8, 2021

Keystone 5 has officially moved into active maintenance mode as we push towards the next major new version Keystone Next, you can find out more information about this transition here.

In an effort to sustain the project going forward, we're cleaning up and closing old issues such as this one. If you feel this issue is still relevant for Keystone Next, please let us know.

@bladey bladey closed this as completed Apr 8, 2021
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