How To: Lambda Function In AWS (2 Min)
In this tutorial, you'll learn how to create a lambda function in AWS.
—
Facebook: https://www.facebook.com/GokceDBsql
—
Video Transcript:
—
Hi guys, this is Abi from Gokcedb. In this video, you're going to learn How to Create a Lambda Function on AWS. Let’s start by searching for Lambda on AWS Console and then click on the first search result. Next, click on create function and give it a name. For runtime, I’m going to select Python and then hit create function.
Now, in the Code Source Section, you can start writing your Lambda function code.
Here, I’m going to return the current time using the DateTime module. Next, hit deploy and then click on the test button.
Give a test event a name and then hit save. Click on the test button again and this time you should see a response. Next, click on the configuration tab and hit Create Function URL.
For Authentication, I’m going to select none and then hit save. Now you can invoke your Lambda function by going to this function URL. Every time, I hit refresh, I get the current time which means my function is working as expected.
You can also use the Curl Command from the terminal to call this URL and get the current time.
Next, let’s click on add trigger and select event bridge from the drop-down. Here I’m going to create a new rule and call it MyRule.
For schedule expression, I’m going to type the rate one minute in parentheses which means I want to fire this trigger every minute. To check the status of the trigger, click on My Rule and make sure the status says enabled. We can also confirm that the event schedule has a fixed rate of one minute.
Next, to check the logs for our Lambda function, click on the Monitor tab and hit logs.
You can also look at the Metrics by going to the Metrics tab but they do take some time to update. Finally, to delete a Lamba function, go back to the function page and select the function you would like to delete.
Now, choose to delete from the actions drop-down.
There you have it. Make sure you like, subscribe, and turn on the notification bell. Until next time.
Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «How To: Lambda Function In AWS (2 Min)», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.
Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.
Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!
Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.