> 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/ar/installation-setup/installation/amazon-web-services/aws-elastic-beanstalk.md).

# AWS Elastic Beanstalk

## إعداد AWS EBS

يمكن أيضًا نشر NGSurvey ضمن أي حزمة AWS EBS خلال بضع دقائق فقط باستخدام أحد روابط التثبيت التالية، وذلك حسب ما إذا كنت تختار تفعيل NGINX reverse proxy في إعدادات EBS أم لا.&#x20;

* [حزمة مصدر التثبيت لـ AWS Elastic Beanstalk مع تمكين Nginx](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) \
  يُهيّئ ngSurvey مع Nginx reverse proxy مُعدّ مسبقًا. موصى به.&#x20;

* [حزمة مصدر التثبيت لـ AWS Elastic Beanstalk](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)\
  يُهيّئ ngSurvey بدون إعداد Nginx الافتراضي. يُوصى به فقط إذا كنت لا تريد التشغيل خلف reverse proxy أو تريد إعداد Nginx يدويًا.

\
بعد تنزيل ملف المصدر، يمكنك تهيئة مثيل AWS EBS الجديد لديك باستخدام ملف المصدر ومتغيرات البيئة التالية.\
\ <mark style="color:أحمر;">**للحصول على رمز الوصول الخاص بك، تواصل مع فريق مبيعات ngSurvey.**</mark>

<figure><img src="https://848173432-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>

## موازنة الأحمال

إذا كنت تشغّل ngSurvey على عدة عُقد عنقودية، فتأكد من أنك [تمكين التخزين المؤقت الموزع](/ar/installation-setup/installation/cluster-scale-out-configuration.md) إذا كنت تشغّل ngSurvey على عدة مثيلات خادم لمشاركة الحمل.

## إعداد قاعدة بيانات

بشكل افتراضي، سيقوم ngSurvey تلقائيًا بتهيئة / إنشاء / تحديث قاعدة البيانات المحددة في سلسلة الاتصال الخاصة بك. لاحظ أنه إذا قمت بتشغيل الحاوية الخاصة بك على AWS فسيقوم ngSurvey تلقائيًا باختيار جميع خصائص اتصال RDS.\
\
إذا كنت لا ترغب في أن يقوم ngSurvey بتحديث قاعدة البيانات تلقائيًا، يمكنك إيقاف إعداد قاعدة البيانات التلقائي عن طريق تعيين متغير البيئة NGSurvey:AutoDBSetup إلى false.\
\
إذا كنت تفضل إجراء إعداد يدوي لقاعدة البيانات، فيمكنك الحصول على ملف DACPAC من دليل app/database داخل الحاوية ضمن الأرشيف واتباع إجراء تثبيت قاعدة بيانات Microsoft SQL Server.


---

# 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/ar/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.
