> 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/rexgen-series-product-manuals/rexgen-air-cloud-usage-guides/cloud-usage-guides-for-rexgen-air-device/deploying-lambda-function-to-aws/for-beginners.md). Agents can also search and read this documentation through its [MCP server](https://docs.influxtechnology.com/support_guides/~gitbook/mcp).

# For Beginners

* Login to your AWS portal and go to Lambda Services.
* Click on 'Create Function'.

<figure><img src="https://1612018018-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTCRfbN5hBLeUzIaKHbJ7%2Fuploads%2FmuiSKqGDQn7G8p0a5CYI%2Fimage.png?alt=media&amp;token=6dde2958-dbf3-4c1b-88e8-fdd466e54dfb" alt=""><figcaption></figcaption></figure>

* Once in the 'Create Function' window:
  * Select 'Author from scratch.
  * In Basic information:
    * Define function name.
    * Select Runtime as '.NET 8 (C#/F#/PowerShell) (from the drop-down options).
    * Select Architecture, x86\_64 (from the given options).
  * In Permissions, Change the default execution role:

    * If you are uploading for the first time, make sure 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="https://1612018018-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTCRfbN5hBLeUzIaKHbJ7%2Fuploads%2FGKWrjhl76GWZTB11hRMh%2Fimage.png?alt=media&amp;token=e0019384-47d7-44c7-ac97-9abcd8738bd4" alt=""><figcaption></figcaption></figure>

    * If you have already created a role, you can continue by selecting the existing role.
      * Select 'Use an existing role'.
      * Select the Existing role as 'influx\_lambda\_role' from the drop-down options.
* Select 'Create function'.

<figure><img src="https://1612018018-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTCRfbN5hBLeUzIaKHbJ7%2Fuploads%2Fkl3e8XhHpB0z5S6Le49E%2Fimage.png?alt=media&amp;token=9c0e9384-3c66-4dc7-af22-1668097ffcf8" alt=""><figcaption></figcaption></figure>

* Once the function is created, click on 'Upload from'.

<figure><img src="https://1612018018-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTCRfbN5hBLeUzIaKHbJ7%2Fuploads%2F9LlG5ic7yBYSkayL3SMN%2Fimage.png?alt=media&amp;token=33596e59-89d4-471e-8e0d-fa355efd4095" alt=""><figcaption></figcaption></figure>

* Click 'Upload'.

<figure><img src="https://1612018018-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTCRfbN5hBLeUzIaKHbJ7%2Fuploads%2Fa7XMWV6DRAMYD4R4a4Nm%2Fimage.png?alt=media&amp;token=9c74deed-ef46-4946-95d9-d25e831a55b5" alt=""><figcaption></figcaption></figure>

* Select the function code's zip file, and click 'Open'.

[<mark style="color:blue;">Link to the Zip file</mark>](https://itltdgithub.s3.ap-south-1.amazonaws.com/Lambda_Function_General/Lambda_Function_Gen_V11_dotnet10.zip)

<figure><img src="https://1612018018-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTCRfbN5hBLeUzIaKHbJ7%2Fuploads%2FFCOBxxE9UIf4FwrfgQPB%2Fimage.png?alt=media&amp;token=4800f90c-3419-4521-8f3c-b14f15f099de" alt=""><figcaption></figcaption></figure>

* Once the zip file is uploaded, click 'Save'.

<figure><img src="https://1612018018-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTCRfbN5hBLeUzIaKHbJ7%2Fuploads%2F5lxvaVmvXDIDA9ykD3Ga%2Fimage.png?alt=media&amp;token=3ff9152b-4665-4602-a2a0-ab2b58bedf12" alt=""><figcaption></figcaption></figure>

* Once on the function window, under the 'Code' tab, locate 'Runtime settings' and click 'Edit' if you wish to edit any credentials.

<figure><img src="https://1612018018-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTCRfbN5hBLeUzIaKHbJ7%2Fuploads%2FKQCWpnLQyY6RsUA6iQw7%2Fimage.png?alt=media&amp;token=3b5805e9-e4d6-43dc-b802-201684380716" alt=""><figcaption></figcaption></figure>

* In Runtime settings:
  * Select Runtime as .NET 10 (C#/PowerShell)
  * Change handler to AWSLambdaFileConvert::AWSLambdaConvert.Function::ConvertFiles
  * Close Architecture
  * Click 'Save'
  * Chose Architecture.
  * Click 'Save'.

<figure><img src="https://1612018018-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTCRfbN5hBLeUzIaKHbJ7%2Fuploads%2FvsgwmURJURL99I0KmtfK%2Fimage.png?alt=media&amp;token=b73ba38f-3493-4792-986e-a6725579ecec" alt=""><figcaption></figcaption></figure>

* To edit the general configuration, click' Configuration' and select' Edit'.

  * As desired, edit details such as memory, ephemeral (temporary) storage, and time out.

  <figure><img src="https://1612018018-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTCRfbN5hBLeUzIaKHbJ7%2Fuploads%2FaF4mb4ydAXCmk273ChlK%2Fimage.png?alt=media&amp;token=3c616c63-8ac9-4dac-9ee2-ae99a40b8b26" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}

#### Note:

* These parameters may change depending on the DBC use, for example, the size of the DBC, etc.
  {% endhint %}

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
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-beginners.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
