What is the best practice for switching an App that is currently deploying with Netlify to AWS Serverless ?
Questions:
Whatâs causing you to switch away from Netlify? What is AWS going to get you given Netlify functions are AWS lambdas.
When you say AWS Serverless do you mean standing up all your own services and a cdn in AWS yourself â or using something like http://serverless.com//?
In short youâll need to remove all the Netlify artifacts, change up the functions directory, remove netlify toml, update the redwood.toml to change functions path and then setup whatever your new deployment target is.
Iâm not dissatisfied with Netlify - their services work very well.
Iâm getting questions from on high asking why canât I move our stuff to the AWS account so that all services are âwithin our wallsâ to satisfy new compliance directives for the coming year. Huzzah!
When I say AWS Serverless I am referring to the deploy target âAWS Serverlessâ as specified in the Redwood docs. Docs - Deploy : RedwoodJS Docs
My first attempt at just try it and see what happens
met with error so I will start a new project and see how things get setup when itâs AWS Serverless from the start
Serverless: Configuration warning:
Serverless: at 'functions': name 'auth.ts' must be alphanumeric
Serverless: at 'functions': name 'graphql.ts' must be alphanumeric
Hi,
This is something Iâm looking into, the aws serverless setup commands, and agree its fallen behind, and only works for very specific cases.
The plan is to resolve this during the RC phase, so stay tuned!
If youâre curious about progress, Iâve setup a project board here: Serverless deploy target ¡ GitHub and will be keeping it updated.
(also all help is welcome!)