# 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: 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:

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

The question should be specific, self-contained, and written in natural language.
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.
