# LightSail

To deploy ngSurvey on an Amazon LightSail instance you may select Ubuntu as your OS and add following startup script to your image. As soon as the LightSail instance will be ready ngSurvey will start installing itself and be ready to use on your LightSail public within a couple of minutes.

{% hint style="warning" %}
An instance with minimum 4gb of ram is required.
{% 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/16FyOOm2O9z0QKLGoLNs) &#x20;

If you prefer to use CentOS as your host you may use following script as launch script&#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/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.
