> For the complete documentation index, see [llms.txt](https://docs.influxtechnology.com/support_guides/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.influxtechnology.com/support_guides/rexlibrary/deploying-lambda-function-to-aws.md).

# Deploying Lambda Function to AWS

Before proceeding, make sure you have Visual Studio 2022 Installed, and the supporting components are installed as per the .vsconfig file in the link below

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

* Clone or download the repository.

{% embed url="<https://github.com/InfluxTechnology/ReXlibrary>" %}

* 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/aGQtOCOAklxTT1rZf5i1" 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/ClAvTKs45xuQ9elU0t9d" alt=""><figcaption></figcaption></figure>
* Choose an IAM role that provides the Lambda functions necessary permission to access all S3 Services.

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

* Click ‘Upload’ to Upload the function to AWS.

<table data-view="cards"><thead><tr><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><mark style="color:blue;">Adding S3 Trigger for Lambda</mark></td><td><a href="https://app.gitbook.com/o/HhTfJJOHHF3lfqYUgSrl/s/c2D0aaEnAyYE7saf1pBR/~/changes/7/deploying-lambda-function-to-aws/adding-s3-trigger-for-lambda">https://app.gitbook.com/o/HhTfJJOHHF3lfqYUgSrl/s/c2D0aaEnAyYE7saf1pBR/~/changes/7/deploying-lambda-function-to-aws/adding-s3-trigger-for-lambda</a></td></tr><tr><td><mark style="color:blue;">Configuring conversion settings</mark></td><td><a href="https://app.gitbook.com/o/HhTfJJOHHF3lfqYUgSrl/s/c2D0aaEnAyYE7saf1pBR/~/changes/7/deploying-lambda-function-to-aws/configuring-conversion-settings">https://app.gitbook.com/o/HhTfJJOHHF3lfqYUgSrl/s/c2D0aaEnAyYE7saf1pBR/~/changes/7/deploying-lambda-function-to-aws/configuring-conversion-settings</a></td></tr><tr><td><mark style="color:blue;">Adding the DBC file for conversion</mark></td><td><a href="https://app.gitbook.com/o/HhTfJJOHHF3lfqYUgSrl/s/c2D0aaEnAyYE7saf1pBR/~/changes/7/deploying-lambda-function-to-aws/adding-the-dbc-file-for-conversion">https://app.gitbook.com/o/HhTfJJOHHF3lfqYUgSrl/s/c2D0aaEnAyYE7saf1pBR/~/changes/7/deploying-lambda-function-to-aws/adding-the-dbc-file-for-conversion</a></td></tr></tbody></table>


---

# 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.influxtechnology.com/support_guides/rexlibrary/deploying-lambda-function-to-aws.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.
