Can GraphQL be deployed to Elastic Beanstalk?

0

Customer wants to deploy an existing GraphQL application to AWS. This application will connect to an existing RDS MySQL database and a couple of on-premises databases. Once it's in AWS, the applications that use it will also be migrated to AWS.

I told them about AppSync, even though they'd have to use Lambda to connect to their non-Aurora/DynamoDB databases. They asked whether they could use ElasticBeanstalk to deploy it to EC2s that auto-scale with an ELB, but I couldn't find a definitive yes/no. I found a few blog posts that seemed to say EB doesn't support GraphQL, but they were relatively old. They are interested in using the Code suite of services, and CodeDeploy can deploy auto-scaled EC2 instances, but if they can do it through EB or CodeStar that would be even better.

Any help would be greatly appreciated!

1 Respuesta
0
Respuesta aceptada

It is possible to use a Elastic Beanstalk to provision a nodejs app https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create_deploy_nodejs.html and you can install Apollo graphQL on a node express server https://www.apollographql.com/docs/apollo-server/v1/servers/express/ so I would expect it possible to deploy a graphQL server on Beanstalk.

respondido hace 4 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas