Skip to main content

Setting up a backend on Amazon Web Services

This guide will cover how to start up a Noodl backend on AWS using the Noodl backend docker image. You will need an AWS account setup. The service you will be using is called App Runner. Start by going to the console for that service.

There you can create a new service.

When setting up the new service you need to specify that the image is to be fetched from the container registry.

The image URL to use is:

public.ecr.aws/c2b0t2d7/noodl-cloud-services:latest

You can choose if you want to manually control when you redeploy and instance. This is needed if the Noodl backend image is updated and you want to apply the updates to your service. You can also choose to automatically track changes. When you are done click Next.

On the next screen you provide a name for your service and you can change settings for service. For the most part you can keep the standard settings but a few needs to be changed.

  • Port The port of the application needs to be set to 3000

You also need to provide a few environment variables to the instance. You do this using the Add environment variable button.

The following variables are needed:

  • APP_ID You can choose this yourself, you need to provide it in the Noodl editor when connecting to your backend.
  • MASTER_KEY This you be a password that you need to keep safe. With this password you get full access to your backend, this is also needed to connect to your backend from Noodl.
  • DATABASE_URI This is the database url that you got when setting up the MongoDB database in the previous step. This can also be a Postgres url.

With that in place you can move on to reviewing your settings and deploying your service. It might take a few minutes to completely setup you new service.

Once the service is up and running the last step is to find the URL of the service. You can find it by navigating to the service details page. It will look something like this:

With that URL, master key and app id in hand, go back to the self hosting guide.