# For Advanced Users

{% embed url="<https://itltdgithub.s3.ap-south-1.amazonaws.com/Influx.vsconfig>" %}

* Clone or download the repository

<https://github.com/InfluxTechnology/ReXlibrary/tree/master/Demo/AWS_Lambda>

* Open \Demo\AWS\_Lambda\AWSLambdaFileConvert.csproj
* Provide your credentials with permission to S3 and Lambda for your AWS SDK ([Refer](https://docs.aws.amazon.com/toolkit-for-visual-studio/latest/user-guide/credentials.html))
* Right-click on the project name and select 'Publish to AWS Lambda…'

<figure><img src="/files/RFUjAyRPJYt3otjlH51u" alt=""><figcaption></figcaption></figure>

* Select
  * 'AWS Credential'
  * Choose 'Region' in which you have the S3 Bucket.
  * Enter the 'Description' for the function if required.
  * Leave everything else to default.

<figure><img src="/files/BLA6aBuWwnntAQ8ThO60" alt=""><figcaption></figcaption></figure>

* Choose an IAM role that provides the Lambda functions necessary permission to access all S3 Services and all Lambda services.

  * If uploading for the first time, ensure you have created an IAM role with the following permissions; refer to the [link](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_create_for-service.html#roles-creatingrole-service-console).

  <figure><img src="/files/5o6LB7Ex2rwIUUla8L7x" alt=""><figcaption></figcaption></figure>

  * If you have already created a role, you can continue by selecting the existing role.

<figure><img src="/files/RqtY10QVG0EVSnccsDJD" alt=""><figcaption></figcaption></figure>

* Click 'Upload' to Upload the function to AWS.

Continue to [<mark style="color:blue;">Adding S3 Trigger for Lambda</mark>](https://docs.influxtechnology.com/rexgen-series-product-manuals/aws-s3-rexgen-air/deploying-lambda-function-to-aws/adding-s3-trigger-for-lambda)


---

# 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.influxtechnology.com/support_guides/rexgen-series-product-manuals/rexgen-air-cloud-usage-guides/cloud-usage-guides-for-rexgen-air-device/deploying-lambda-function-to-aws/for-advanced-users.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.
