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 個回答
0
已接受的答案

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.

已回答 4 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南