> For the complete documentation index, see [llms.txt](https://docs.ngsurvey.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ngsurvey.com/installation-setup/installation/amazon-web-services/aws-elastic-beanstalk.md).

# AWS Elastic Beanstalk

## AWS EBS Setup

NGSurvey can also be deployed under any AWS EBS stack in just a few minutes using one of the following installation link depending if you choose to activate the NGINX reverse proxy on your EBS configuration or not.&#x20;

* [Nginx Enabled AWS Elastic Beanstalk install source package](https://console.aws.amazon.com/elasticbeanstalk/home?region=eu-central-1#/newApplication?applicationName=ngSurvey\&platform=docker\&environmentType=SingleInstance\&withRds=true\&rdsDBEngine=sqlserver-ex\&sourceBundleUrl=https://ngsurvey.s3.eu-central-1.amazonaws.com/ngsurveyeenginx.aws.zip) \
  Configures ngSurvey with a pre-configured Nginx reverse proxy. Recommended.&#x20;

* [AWS Elastic Beanstalk install source package](https://console.aws.amazon.com/elasticbeanstalk/home?region=eu-central-1#/newApplication?applicationName=ngSurvey\&platform=docker\&environmentType=SingleInstance\&withRds=true\&rdsDBEngine=sqlserver-ex\&sourceBundleUrl=https://ngsurvey.s3.eu-central-1.amazonaws.com/ngsurveyee.aws.zip)\
  Configures ngSurvey without default Nginx configuration. Recommended only if you dont want to run behind a reverse proxy or want to configure Nginx manually.

\
Once you have downloaded your source file you can configure your new AWS EBS Instance using the source file and following environment variables.\
\ <mark style="color:red;">**To get your access token contact ngSurvey's sales team.**</mark>

<figure><img src="https://1025048312-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M8fLhS0bmfBRyq0HdUm%2Fuploads%2FIpdXJhB4MoHzTkYWcIbE%2Fimage.png?alt=media&amp;token=038dfe3a-3047-40dc-96aa-828ed671d118" alt=""><figcaption></figcaption></figure>

## Load balancing

If you are running ngSurvey on multiple cluster nodes make sure that you [enable distributed caching](/installation-setup/installation/cluster-scale-out-configuration.md) if you run ngSurvey on multiple server instance to share the load.

## Database setup

Out of the box ngSurvey will automatically configure / create / update the database that is specified in your connection string. Note that If you run your container under AWS ngSurvey will automatically pick up all RDS connection properties.\
\
If you don't want to have ngSurvey update automatically your database you can turn off the automatic database setup by setting the environment variable NGSurvey:AutoDBSetup to false.\
\
If you prefer to do a manual database setup you may grab the DACPAC file from the container's app/database directory of the archive and follow the Microsoft SQL Server database installation procedure.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.ngsurvey.com/installation-setup/installation/amazon-web-services/aws-elastic-beanstalk.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
