> 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/fr/installation-setup/installation/amazon-web-services/lightsail.md).

# LightSail

Pour déployer ngSurvey sur une instance Amazon LightSail, vous pouvez sélectionner Ubuntu comme système d'exploitation et ajouter le script de démarrage suivant à votre image. Dès que l'instance LightSail sera prête, ngSurvey commencera son installation et sera prêt à l'emploi sur l'adresse publique de votre LightSail en quelques minutes.

{% hint style="warning" %}
Une instance avec un minimum de 4 Go de RAM est requise.
{% endhint %}

`curl -o ngs-ubuntu-docker.sh https://ngsurvey.s3.eu-central-1.amazonaws.com/ngs-ubuntu-docker.sh` \
`chmod +x ./ngs-ubuntu-docker.sh` \
`./ngs-ubuntu-docker.sh`  &#x20;

![](/files/c4552269a8ae51ecea7438d88cb4bb3a436f108e) &#x20;

Si vous préférez utiliser CentOS comme hôte, vous pouvez utiliser le script suivant comme script de lancement&#x20;

curl -o ngs-centos-docker.sh <https://ngsurvey.s3.eu-central-1.amazonaws.com/ngs-centos-docker.sh> chmod +x ./ngs-centos-docker.sh \
sed -i 's/\r$//' ngs-centos-docker.sh \
./ngs-centos-docker.sh  &#x20;


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.ngsurvey.com/fr/installation-setup/installation/amazon-web-services/lightsail.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
