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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠