Deploy A Telegram Bot in C# with AWS Lambda

Today I would like to talk about an equally cool feature in Telegram, namely bots. In addition to the fact that the internet is already full of information about various kinds of Telegram bots, the messenger opened its API for developers, and now everyone can create their own bot. It may seem that deploy a telegram bot in C # is difficult, but I want to show that it is not. In this article, I will give an example of publishing it on AWS.

#aws #telegram #csharp 

What is GEEK

Buddha Community

Deploy A Telegram Bot in C# with AWS Lambda
Rory  West

Rory West

1626661865

How to Easily Deploy Telegram Bot Using AWS Lambda

Telegram has become popular these days and has more than 500 million users. One of the main “tricks” of Telegram is its supposed security — according to Pavel Durov, all correspondence between users is encrypted. Moreover, no one will have access to your messages. But this article is not about that.

Today I would like to talk about an equally cool feature in Telegram, namely bots. In addition to the fact that the internet is already full of information about various kinds of Telegram bots, the messenger opened its API for developers, and now everyone can create their own bot. It may seem that deploy a telegram bot in C ## is difficult, but I want to show that it is not. In this article, I will give an example of publishing it on AWS.

#aws-lambda #telegram-bot #aws

Cross-account access to invoke AWS lambda using AWS CDK

If you are here, you may have a pretty good knowledge of how to use AWS CDK for defining cloud infrastructure in code and provisioning it through AWS. So let’s get started on how to grant permission to your lambda function to access the resources in another AWS account.

Let’s say you have two accounts called Account A and Account B, and you need to give permission to lambda function in Account A (ex: 11111111)to access the resources in Account B(22222222). You can easily do this by assuming an IAM Role in Account B and then uses the returned credentials to invoke AWS resources in Account B.

#acces #account #aws #lambda #aws lambda #aws cdk

Deploy A Telegram Bot in C# with AWS Lambda

Today I would like to talk about an equally cool feature in Telegram, namely bots. In addition to the fact that the internet is already full of information about various kinds of Telegram bots, the messenger opened its API for developers, and now everyone can create their own bot. It may seem that deploy a telegram bot in C # is difficult, but I want to show that it is not. In this article, I will give an example of publishing it on AWS.

#aws #telegram #csharp 

Cache secrets using AWS Lambda extensions

What is the AWS Lambda extension?

A month back AWS announced a preview of Lambda Extensions, a new way to easily integrate Lambda with your favorite monitoring, observability, security, and governance tools. Extensions can be published as Lambda layers, there are two types are extension:

  • Internal extensions → Run as part of the runtime process, in-process with your code. Internal extensions enable use cases such as automatically instrumenting code.
  • External extensions → Allow you to run separate processes from the runtime but still within the same execution environment as the Lambda function. External extensions can start before the runtime process and can continue after the runtime shuts down. These extensions run as companion processes to Lambda functions.

#aws #aws-secrets-manager #lambda #aws lambda

Anissa  Barrows

Anissa Barrows

1626923759

Deploy script for AWS Lambda (in TypeScript)

In this video we create a deployment script for AWS Lambda to automate the lambda deployment process.

The script:

#aws lambda #aws #lambda #typescript