graphql-engine icon indicating copy to clipboard operation
graphql-engine copied to clipboard

docs: add deploying guide on aws fargate

Open shahidhk opened this issue 8 years ago • 27 comments

AWS Fargate is a service to run containers without managing servers or clusters. Since Hasura is just a docker image, it can be deployed to Fargate easily.

The guide can be added at https://hasura.io/docs/1.0/graphql/core/deployment/deployment-guides/index.html.

It'll be great if the Postgres setup can be on Amazon RDS. Should have updating and setting access key instructions.

shahidhk avatar Sep 30 '18 06:09 shahidhk

Hy I want to work on this issue but can you please guide me how to get docker image of graphql-engine

aggmoulik avatar Oct 01 '18 19:10 aggmoulik

Hi @moulikcipherX. Thanks for your interest. You can find the docker image here: https://hub.docker.com/r/hasura/graphql-engine

The latest release is hasura/graphql-engine:v1.0.0-alpha22.

Let me know if you have any other questions.

shahidhk avatar Oct 02 '18 05:10 shahidhk

Do I have to write a script for it or just the steps to do that?

aggmoulik avatar Oct 02 '18 17:10 aggmoulik

@moulikcipherX Detailed steps would be enough.

But, if you can provide a script, that'll be great too. We can add it to install-manifests

You can work on the detailed steps first. Then if time permits you can add the script too.

shahidhk avatar Oct 03 '18 03:10 shahidhk

Hello Sir, I am a bit confused as I deployed on AWS Fargate but I want to know that Fargate should show UI thing like making graphql-queries

aggmoulik avatar Oct 05 '18 10:10 aggmoulik

@moulikcipherX Can you elaborate?

shahidhk avatar Oct 08 '18 06:10 shahidhk

I am having a problem in deploying to Fargate as it takes many things in consideration which makes me less understandable. So I need some more time for it.

aggmoulik avatar Oct 08 '18 08:10 aggmoulik

@moulikcipherX Sure. Take your time.

shahidhk avatar Oct 09 '18 05:10 shahidhk

I can not find the Environment Variables for connecting database and script for the migration of the database.

aggmoulik avatar Oct 09 '18 08:10 aggmoulik

@moulikcipherX Have you provisioned an Amazon RDS instance?

shahidhk avatar Oct 09 '18 08:10 shahidhk

@moulikcipherX Did you manage to figure this out?

Any other takers?

shahidhk avatar Oct 13 '18 04:10 shahidhk

yeah I almost completed it and I will update the documentation as soon as possible...

aggmoulik avatar Oct 13 '18 04:10 aggmoulik

@shahidhk I would like to take some.

theharshitgarg avatar Oct 15 '18 09:10 theharshitgarg

@shahidhk Not sure what the latest on this is. @emerballen on discord has been doing a tonne of work with fargate, rolling out hasura version updates, and rolling out schema updates; maybe they can help us put this together.

coco98 avatar Nov 20 '18 22:11 coco98

Hi @emerballen, it'll be awesome if you can contribute the cloudformation templates, we can keep them under https://github.com/hasura/graphql-engine/tree/master/install-manifests

shahidhk avatar Nov 21 '18 07:11 shahidhk

Via @elgordino on discord: https://gist.github.com/coco98/318f24a7074a95a8b22e139f88292d5a

coco98 avatar Jan 14 '19 22:01 coco98

Some resources until we have a dedicated walk-through guide:

  • https://dev.to/lineup-ninja/deploying-hasura-on-aws-with-fargate-rds-and-terraform-4gk7
  • https://github.com/Rayraegah/terraform-aws-hasura
  • https://github.com/hasura/hasura-aws-stack

shahidhk avatar Jun 27 '19 04:06 shahidhk

Hey @shahidhk @marionschleifer is this still available? If yes - I'm willing to help. Thanks!

kabirbaidhya avatar Oct 15 '19 17:10 kabirbaidhya

@kabirbaidhya sure, go ahead. Please read through the comments above and here: https://github.com/hasura/graphql-engine/pull/762#issuecomment-506188397 🙂

marionschleifer avatar Oct 16 '19 06:10 marionschleifer

Sure. Will do. I'll take the reference from the above shared links before writing the new guideline.

Also, please do let me know if there are any specifics that are to be included besides what are already covered in the links above. Thanks!

kabirbaidhya avatar Oct 16 '19 07:10 kabirbaidhya