Coderjony
Coderjony
  • 35
  • 139 424
Building, Debugging and Packaging AWS Lambda Functions with Python - Step by Step | AWS | Serverless
This tutorial will guide you through building, debugging, and packaging an AWS Lambda function using Python. You will learn how to install Python on your machine and set up a development environment using Visual Studio Code. By the end of the tutorial, you will have a solid understanding of how Lambda functions work in AWS and how to create them with Python.
Follow along step-by-step as we guide you through setting up Amazon Cognito, configuring AWS Amplify, and implementing authentication functionalities within your Angular app. Watch now and start implementing Amazon Cognito authentication with AWS Amplify today!
🛠️ Resources:
Notion page link - resonant-cement-f3c.notion.site/Creating-and-Debugging-Python-Lambda-functions-Step-by-Step-b2fb474678fb4920b14d4e809c09e18c
📚 Chapters
00:00 Introduction
01:46 Setting up python environment
05:47 Creating an IAM role for the Lambda function
07:46 Building first Lambda function
16:12 Debugging first lambda function
26:00 Building second Lambda function (with boto3)
34:35 Creating virtual environment and installing boto3
40:16 Debugging second Lambda function
45:19 Building third Lambda function (with boto3 and third-party dependencies)
46:21 Installing third-party packages
47:53 Debugging third Lambda function
52:34 Packaging and deploying third Lambda function
👨‍🏫 About the Presenter:
I'm Ankush Jain. Full Stack Engineer with 12+ years of experience in Software Development. I love building web applications and cloud solutions. My technology stack mostly revolves around .NET, JavaScript, AWS & DevOps.
👩‍💻 Learn with us:
Stay tuned for more AWS tutorials, cloud computing insights, and practical tech demos. Subscribe now and enhance your understanding of cloud infrastructure and server performance! 💻✨
🔗 Connect with us:
Twitter: ankushjain358
LinkedIn: www.linkedin.com/in/ankush-jain-developer/
Website: coderjony.com
👍 Like, share, and subscribe for more AWS tutorials, and stay tuned for upcoming content on cloud computing, development, and more!
#python #pythonprogramming #lambda #awslambda #debugging #serverlesscomputing #serverless
🎥 Watch Next:
czcams.com/video/zTSGrd3HD0k/video.html
🔔 Don't forget to hit the bell icon to receive notifications for our latest tutorials and updates! Happy coding! 🚀
zhlédnutí: 89

Video

Implementing Amazon Cognito Authentication in Angular using AWS Amplify | Practical Demo
zhlédnutí 1,9KPřed 3 měsíci
In this tutorial, learn how to integrate Amazon Cognito authentication seamlessly into your Angular applications using AWS Amplify. Amazon Cognito provides secure and scalable user authentication and authorization solutions, while AWS Amplify simplifies the integration process by offering a set of libraries to build scalable applications faster. Follow along step-by-step as we guide you through...
Implementing Amazon Cognito Authentication in Flutter Apps using AWS Amplify | Hands-on tutorial
zhlédnutí 2,7KPřed 4 měsíci
In this tutorial, learn how to integrate Amazon Cognito authentication seamlessly into your Flutter applications using AWS Amplify. Amazon Cognito provides secure and scalable user authentication and authorization solutions, while AWS Amplify simplifies the integration process by offering a set of libraries to build scalable applications faster. Follow along step-by-step as we guide you through...
Deploying .NET API on Amazon Linux EC2 | Custom Domain | SSL certificate with Let's Encrypt
zhlédnutí 1,8KPřed 6 měsíci
In this video, I will show you how to deploy your ASP.NET Core application on Amazon Linux EC2 with a custom domain and SSL certificate. Follow step-by-step instructions for a seamless setup, ensuring your application is secure and accessible. This guide covers everything from EC2 hosting to configuring a Let's Encrypt SSL certificate, providing valuable insights required for the deployment on ...
Running Node.js API on Amazon Linux EC2 with Custom Domain and SSL Certificate | Let's Encrypt | AWS
zhlédnutí 1,2KPřed 8 měsíci
In this tutorial, I'll guide you through the process of setting up a Node.js API on an Amazon Linux EC2 instance, complete with a custom domain and SSL certificate for enhanced security. Whether you're a beginner or an experienced developer, this step-by-step guide will help you deploy your Node.js application with confidence. 🛠️ Resources: Notion page link - resonant-cement-f3c.notion.site/Run...
Amazon Cognito Tutorial for Beginners | AWS Cognito
zhlédnutí 18KPřed 8 měsíci
This video will teach you about Amazon Cognito User Pools and their benefits. I'll also walk you through the process of creating a user pool step by step. You will also learn about the hosted UI, multi-factor authentication, and web identity federation. I'll also demonstrate how to utilize Amazon Cognito to secure your APIs with Cognito Tokens. You will learn about SDKs (.NET, Java, Python, Nod...
Burstable EC2 Instances - Practical Demo, CPU Credits, and Baseline Utilization Explained In-Depth
zhlédnutí 730Před 8 měsíci
In this insightful CZcams video, we delve into the Burstable EC2 Instances, providing you with a practical demo and a thorough understanding of key concepts such as CPU Credits and Baseline Utilization. 🚀 🛠️ Useful Resources: Notion page link - www.notion.so/Understanding-Burstable-EC2-instances-a50fbc46d17e46259ad88e7fc851077f 🔍 Video Highlights: - Practical Demo: Hands-on demonstration of Bur...
10 - How to Deploy & Test | Serverless .NET API | AWS Lambda | API Gateway | Amazon Cognito
zhlédnutí 202Před 10 měsíci
In this video, you'll learn the following: - Deploying the GitHub solution on AWS using AWS CDK. - Testing the deployed APIs effectively using ThunderClient. 👨‍💻 GitHub Repository - github.com/ankushjain358/serverless-dotnet-apis-with-amazon-cognito 🌐 Demo Page Link - resonant-cement-f3c.notion.site/10-How-to-Deploy-Test-d3835d74505a437eb4355c7c21724a63 📢 Blog Post - coderjony.com/blogs/buildin...
09 - Proxy Integration | Authentication & Authorization in .NET Lambda Function With Amazon Cognito
zhlédnutí 301Před 10 měsíci
In this video, you'll learn the following: - Understanding the differences between a Class Library handler and an ASP.NET Core API Lambda Function. - Creating a Class Library handler Lambda Function from scratch. - Deploying the Class library handler Lambda Function using Visual Studio. - Understanding the importance of application-level security. - Creating or utilizing an existing Cognito Aut...
08 - Proxy Integration | Separate Lambda Functions for Each Endpoint | Serverless .NET API
zhlédnutí 136Před 10 měsíci
In this video, you'll learn the following: - Differentiating between a Class Library Lambda Function (Class library handlers) and an ASP.NET Core API Lambda Function. - Creating a Class Library handler Lambda Function from scratch. - Deploying the Class library handler Lambda Function using Visual Studio. - Creating an API Gateway route and linking it to the Lambda function through Proxy Integr...
07 - Fine-Grained Authorization With Custom Scopes Using Amazon Cognito | Serverless .NET API
zhlédnutí 652Před 10 měsíci
In this video, you will explore the following: - Why do we need Custom Scopes in the API? - Understanding the concept of a Resource Server. - An in-depth look at OAuth Custom Scopes. - The process of creating a Resource Server within Amazon Cognito. - How to add Custom Scopes to a Resource Server. - Creating an ASP.NET Core API for implementing fine-grained access control using Cognito Custom S...
06 - Securing .NET API With Amazon Cognito | Role Based Authorization | AWS Lambda | API Gateway
zhlédnutí 1KPřed 10 měsíci
In this video, you'll gain knowledge about the following: - Creating an ASP.NET Core API and configuring it to run as a Lambda Function. - Understanding the importance of application-level security. - Implementing Role-Based Authorization in ASP.NET Core API. - Creating a Lambda Function in the AWS Console and deploying the ASP.NET Core API to Lambda using Visual Studio. - Creating a Cognito Au...
05 - Securing .NET API With Amazon Cognito | Authentication | AWS Lambda | Amazon API Gateway
zhlédnutí 2,6KPřed 10 měsíci
In this video, you'll learn the following: - Creating an ASP.NET Core API and configuring it to run as a Lambda Function. - Understanding the importance of application-level security. - Creating a Lambda Function in the AWS Console and deploying the ASP.NET Core API to Lambda using Visual Studio. - Creating a Cognito Authorizer to enable security. - Creating an API Gateway route and linking it ...
04 - Creating Amazon Cognito User Pool & App Client | Serverless .NET API | AWS Lambda | API Gateway
zhlédnutí 1KPřed 10 měsíci
In this video, you'll learn the following: - Creating an Amazon Cognito User Pool with an App Client. - The process of creating a user in Amazon Cognito. - Setting up an Admin Group within Amazon Cognito 👨‍💻 GitHub Repository - github.com/ankushjain358/serverless-dotnet-apis-with-amazon-cognito 🌐 Demo Page Link - resonant-cement-f3c.notion.site/4-Creating-Amazon-Cognito-user-pool-and-app-client...
03 - Introduction to Amazon Cognito User Pools | Serverless .NET API | AWS Lambda | API Gateway
zhlédnutí 383Před 10 měsíci
In this video, you will learn the following: - What is Amazon Cognito - The differences between the Cognito User Pool and Identity Pool - Key features of Amazon Cognito User Pool - How to Secure API Gateway using Cognito Authorizer 👨‍💻 GitHub Repository - github.com/ankushjain358/serverless-dotnet-apis-with-amazon-cognito 🌐 Demo Page Link - resonant-cement-f3c.notion.site/3-Introduction-to-Amaz...
02 - Building and Deploying Your First Serverless .NET API Using AWS Lambda & Amazon API Gateway
zhlédnutí 1,8KPřed 10 měsíci
02 - Building and Deploying Your First Serverless .NET API Using AWS Lambda & Amazon API Gateway
01 - Introduction to Serverless .NET APIs | AWS Lambda | API Gateway | Amazon Cognito
zhlédnutí 939Před 10 měsíci
01 - Introduction to Serverless .NET APIs | AWS Lambda | API Gateway | Amazon Cognito
Creating Business Emails using Amazon SES | Sending & Receiving Emails with Amazon SES | AWS Guide
zhlédnutí 19KPřed rokem
Creating Business Emails using Amazon SES | Sending & Receiving Emails with Amazon SES | AWS Guide
AWS S3 Bucket Versioning | S3 Delete Marker | Restore S3 File | AWS Tutorial
zhlédnutí 1,3KPřed rokem
AWS S3 Bucket Versioning | S3 Delete Marker | Restore S3 File | AWS Tutorial
Deploying ASP.NET Core Web Apps on AWS Elastic Beanstalk
zhlédnutí 6KPřed rokem
Deploying ASP.NET Core Web Apps on AWS Elastic Beanstalk
How to consume APIs with OAuth2.0 scopes | Example with Google Services API
zhlédnutí 1,1KPřed rokem
How to consume APIs with OAuth2.0 scopes | Example with Google Services API
Creating an internal domain using Amazon Route53 Private Hosted Zone and accessing it from EC2
zhlédnutí 799Před rokem
Creating an internal domain using Amazon Route53 Private Hosted Zone and accessing it from EC2
Step by Step How to Access Your EC2 Instance with SSH client, EC2 Instance Connect & Session Manager
zhlédnutí 4,2KPřed rokem
Step by Step How to Access Your EC2 Instance with SSH client, EC2 Instance Connect & Session Manager
Proxy and Non-proxy Integration in Amazon API Gateway | Demo with .NET Lambda Functions
zhlédnutí 1,8KPřed rokem
Proxy and Non-proxy Integration in Amazon API Gateway | Demo with .NET Lambda Functions
Getting Access Token from Amazon Cognito using Postman | Authorization Code Grant and Implicit Grant
zhlédnutí 22KPřed rokem
Getting Access Token from Amazon Cognito using Postman | Authorization Code Grant and Implicit Grant
Building a Serverless ASP.NET Core Web API using AWS Lambda and Amazon API Gateway REST API
zhlédnutí 11KPřed rokem
Building a Serverless ASP.NET Core Web API using AWS Lambda and Amazon API Gateway REST API
Installing Flutter on Windows and Creating your first Flutter application | Step by Step Guide
zhlédnutí 116Před rokem
Installing Flutter on Windows and Creating your first Flutter application | Step by Step Guide
Building Flutter Application using AWS CodePipeline
zhlédnutí 1KPřed rokem
Building Flutter Application using AWS CodePipeline
Running Linux inside Windows using WSL | Demo with .NET Core App running in WSL Ubuntu
zhlédnutí 863Před rokem
Running Linux inside Windows using WSL | Demo with .NET Core App running in WSL Ubuntu
Getting Started with AWS CDK using C# .NET | Step by Step Tutorial
zhlédnutí 2,7KPřed rokem
Getting Started with AWS CDK using C# .NET | Step by Step Tutorial

Komentáře

  • @niveditareddy1410
    @niveditareddy1410 Před 11 hodinami

    Thank you for the clear steps. I understand AWS SES can send and receive emails. However, is it possible to send email via AWS SES and receive email on my personal mail server?

  • @vamsikrishna-dq3du
    @vamsikrishna-dq3du Před 13 hodinami

    Great Efforts!! So much informative with good explanation, Thanks.

  • @Crunkmastaflexx
    @Crunkmastaflexx Před 19 hodinami

    ty brother

  • @FahimKhan-ww4xm
    @FahimKhan-ww4xm Před 2 dny

    This was cool but I have a question. What if on startup I am fetching few values from dynamo db for my project, will this approach work in case of lambda+api gateway ?

    • @coderjony9694
      @coderjony9694 Před dnem

      Yes, it would work. But since lambda is serverless, and if you are planning to cache that value for subsequent calls, it won't make much sense, as after idle timeout, the lambda compute is destroyed. Better to do everything n controller's action. But, again it depends on what you want to do.

  • @manikanta-sr3zc
    @manikanta-sr3zc Před 5 dny

    Thank you so much and clearly understood

  • @mazheriqbal826
    @mazheriqbal826 Před 7 dny

    excellent explaination with step by step.

  • @wavydeer7423
    @wavydeer7423 Před 8 dny

    Just want to say you just helped me after hours of debugging, thanks for this video

  • @gajendrasahuu5595
    @gajendrasahuu5595 Před 8 dny

    👍👍👍👍❤️

  • @jnsridhar
    @jnsridhar Před 10 dny

    excellently done.thanks

  • @parvaallahyary9641
    @parvaallahyary9641 Před 12 dny

    excellent

  • @lajithkumar4492
    @lajithkumar4492 Před 14 dny

    Thank you very much . i have 2 doubts, i) if installed .net 8 future if i wanted to upgrade to .net 9 whethere reinstall .net required ii) if letsencrypt expired after 3 months it will auto renew,, Waiting for your reply

    • @coderjony9694
      @coderjony9694 Před 11 dny

      1. For upgrade, yes, you need to install .NET 9 on EC2. 2. Since we are also installing certbot, your certificate will be automatically renewed as soon as it reaches near expiry.

    • @lajithkumar4492
      @lajithkumar4492 Před 11 dny

      @@coderjony9694thank you very much last time this is is best tutorial i have seen ever can i use this in production environment? Thanks

  • @thapasujan07
    @thapasujan07 Před 22 dny

    Thank you Sir for your efforts. 💚

  • @deanboock6187
    @deanboock6187 Před 24 dny

    Great job, thank you!

  • @user-gr1zj8ft9d
    @user-gr1zj8ft9d Před měsícem

    brother maine saara process thik se perform kar diya aur mere ko recieve bhi ho raha history me but inbox me deliver ni ho rahe and koi error bhi ni dekha rha , iska koi solution hai

  • @user-gr1zj8ft9d
    @user-gr1zj8ft9d Před měsícem

    do these email need to be warmed up before using

  • @forexpaveacademyevenakidca853

    Much appreciated ❤

  • @user-rn3kk5kb5d
    @user-rn3kk5kb5d Před měsícem

    can you please make demo for spring boot app

  • @ozgek51
    @ozgek51 Před měsícem

    Congratulations, you have made it easier to understand. Thank you.

  • @MuhammadUsman-lp4sm
    @MuhammadUsman-lp4sm Před měsícem

    Great tutorial, very well explained!

  • @eyaboukhatem4874
    @eyaboukhatem4874 Před měsícem

    can you pls create demo with react native & aws amplify aws iot 🙏

  • @shamirmohammad3737
    @shamirmohammad3737 Před měsícem

    Your instructions working fine. thank you Anyway, how can I receive formatted email? is there any source that could help me?

  • @AceCorban
    @AceCorban Před měsícem

    This was super helpful and easy to follow. I made a couple mistakes that I think mostly revolved around not updating the handler name to reference my project name when deploying it, which took me down a deep rabbit hole of errors and posts (which also helped me discover a hidden authorization error with my user setup). But in the end, that helped me understand the configuration stuff quite a bit better.

  • @shilpashree4367
    @shilpashree4367 Před měsícem

    Excellent ! helped me to prepare for an interview. it was so informative in short time span

  • @EmilyB-x4g
    @EmilyB-x4g Před 2 měsíci

    This was AMAZING!!!!! Thank you so much for putting this together!!!

  • @TheMikeAngelus
    @TheMikeAngelus Před 2 měsíci

    Brother, why the hell do you have 22k+ unread emails?! Great tutorial though, thank you!

  • @IdiotIdiot-xc7ke
    @IdiotIdiot-xc7ke Před 2 měsíci

    It’s a great series. An in depth explanation of how to set up project and the environment would have been immensely helpful. It’s really hard to follow even the basics. Can you create more of a beginner friendly series? Any help is appreciated. Great work though!

  • @coha1947
    @coha1947 Před 2 měsíci

    That's cool. Thank you

  • @Tuc594
    @Tuc594 Před 2 měsíci

    You make it look so simply and easy, i'm almost killing myself trying to create this freaking email. It doesn't verify, it stays on "verification pending" and after that "unverifyed" 😡😡😡😡😡

    • @coderjony9694
      @coderjony9694 Před 17 dny

      Watch it again...may be you skipped something.

    • @Tuc594
      @Tuc594 Před 17 dny

      @@coderjony9694 it's okay, i figured out, thanks, my bad if i insulted you in someway with my comment

  • @hughchen703
    @hughchen703 Před 2 měsíci

    Thanks for the amazing video!

  • @tarekdhl6446
    @tarekdhl6446 Před 2 měsíci

    hey great work thanks , When you try to access your local site from another device on the network,Is he working in local network ????

    • @coderjony9694
      @coderjony9694 Před 17 dny

      It should, but the other device has to install the certificate.

  • @informer9261
    @informer9261 Před 2 měsíci

    sir if token expires how to add refresh roken or how to signout

    • @coderjony9694
      @coderjony9694 Před 17 dny

      Explore Amplify SDK - There are methods for all these.

  • @CodeCraft101
    @CodeCraft101 Před 2 měsíci

    Great work, very very helpful. Thanks

  • @rianimafuku3889
    @rianimafuku3889 Před 2 měsíci

    thanks for the video!

  • @ryanhols
    @ryanhols Před 2 měsíci

    why is it that nginx is different for us

  • @rajeevrazdan4786
    @rajeevrazdan4786 Před 2 měsíci

    Hi Ankush, pls share your number. I might have a small project for you.

  • @boxerbhai5282
    @boxerbhai5282 Před 2 měsíci

    Nice vdo But what about with High availability? Show setting up with high availability with setting up all autoscsling, ALB, ETC... and what about custom with swapping dev and prod? Thanks 👍

    • @coderjony9694
      @coderjony9694 Před 17 dny

      This video covers deployment on Elastic Beanstalk Single Instance mode only, not HA.

  • @asifnisarr
    @asifnisarr Před 2 měsíci

    How to get the BearerToken / Access Token without sign-in step? for example to be used in Test automation (or pipeline jobs running on CI/CD)

    • @coderjony9694
      @coderjony9694 Před 2 měsíci

      In that case, you need to use Client Credentials flow.

  • @iamAdnan1
    @iamAdnan1 Před 3 měsíci

    you have covered all the details! good work.

  • @valeriosacco1301
    @valeriosacco1301 Před 3 měsíci

    Great content! It would be also interesting see how to deploy it with cdk or terraform.

  • @draja2006
    @draja2006 Před 3 měsíci

    Great Video bro, But i have an issue when i want to attach the role , My ModifyIAM role i dont see the role which i created, Please help me resolve this issue

    • @coderjony9694
      @coderjony9694 Před 2 měsíci

      Make sure the IAM Role you create should have EC2 service as a Trusted Entity.

  • @siyabonga.fortune
    @siyabonga.fortune Před 3 měsíci

    Would love to see more on creating and managing groups and advanced features like identify pools

  • @siyabonga.fortune
    @siyabonga.fortune Před 3 měsíci

    Thank you so much 🔥, looking forward to future videos of Cognito, it really is AWESOME.

  • @JaredCaprio
    @JaredCaprio Před 3 měsíci

    Amazing! Good job!

  • @syumak635
    @syumak635 Před 3 měsíci

    Getting error message - Error: [/usr/lib/dotnet/host/fxr] does not exist

  • @marcello-6351
    @marcello-6351 Před 3 měsíci

    Great video, thanks! Could you make one about Authorization as well? e.g. Flutter widgets available only to admin users, restricted server side (e.g. Lambda) functions

  • @RohitGupta-ps1tf
    @RohitGupta-ps1tf Před 3 měsíci

    how to achieve phone number login by amplify

  • @vigneshayyandurai7507
    @vigneshayyandurai7507 Před 3 měsíci

    Thanks a lot

  • @informer9261
    @informer9261 Před 3 měsíci

    sir please make more videos angular with aws

  • @informer9261
    @informer9261 Před 3 měsíci

    THANK YOU SIR THE ABOVE VIDEO IS USEFUL,sir please make an video of file uploading from angular to s3 bucket directly

  • @ericliu2325
    @ericliu2325 Před 3 měsíci

    you failed to mention that i needed to install AWS Toolkit extension so that "Publish to AWS lambda..." shows up

    • @coderjony9694
      @coderjony9694 Před 3 měsíci

      I forgot, not failed 😀

    • @ericliu2325
      @ericliu2325 Před 3 měsíci

      @@coderjony9694 you should put a caption somewhere saying you need to install that toolkit and then create a video on how to set that up and connect your was account ;)