Amazon Lambda Containers - How to Package AWS Functions as Container Images

  Рет қаралды 14,019

DevOps Toolkit

DevOps Toolkit

Күн бұрын

Amazon now supports container images as the deployment package format for its AWS Lambda Functions as a Service (FaaS) offering. Containers are finally replacing ZIP files.
Timecodes ⏱:
00:00 Intro
03:47 Setup
07:08 Building container images
12:33 Testing Lambda containers locally
15:12 Pushing images to ECR
20:51 Deploying Lambda containers
24:24 Testing Lambda functions
26:17 Final thoughts
➡ Gist with the commands: gist.github.com/7e0ada996b5d0...
🔗 AWS Lambda: aws.amazon.com/lambda/
📚 DevOps Catalog, Patterns, And Blueprints: www.devopstoolkitseries.com/p...
📚 Books and courses: www.devopstoolkitseries.com
🎤 Podcast: www.devopsparadox.com/
💬 Live streams: / devopsparadox
➡ Follow me on Twitter: / vfarcic
➡ Follow me on LinkedIn: / viktorfarcic

Пікірлер: 39
@SuMiSc
@SuMiSc 3 жыл бұрын
Nice intro!
@DevOpsToolkit
@DevOpsToolkit 3 жыл бұрын
I'm glad you like it. Any suggestion of the topic you'd like to see next?
@SuMiSc
@SuMiSc 3 жыл бұрын
You talk a lot about autodeploy. All you show looks nice and definitely motivate do the same. And I wonder what's under the hood. Tell about it, pls. I mean hooks, scripts, etc.
@DevOpsToolkit
@DevOpsToolkit 3 жыл бұрын
@@SuMiSc Is there something specific you're interested in? How I build container images? How I set up Gitpod (the tools installed and the configs)? Something else?
@SuMiSc
@SuMiSc 3 жыл бұрын
It's up to you. You are an expert here ) I like Git. So Gitpod sounds good
@DevOpsToolkit
@DevOpsToolkit 3 жыл бұрын
That makes it easy since I already went through Gitpod :) kzbin.info/www/bejne/h4eUl4yqYpyGgrc
@andrebittencourt5512
@andrebittencourt5512 3 жыл бұрын
Excellent content! Thanks a lot, keep going you are helping more people than you might know!
@DevOpsToolkit
@DevOpsToolkit 3 жыл бұрын
Thank you for the encouragement.
@manidevops8501
@manidevops8501 3 жыл бұрын
The Explanation is so clear... FAAS should be more easier in container than packing in zip. I enjoyed the way to did everything on terminal... @gitpods simple and effective developing environment. Cheers @The Devops Toolkit Series.
@EdwardPike
@EdwardPike 2 жыл бұрын
The music on your intro credits is great.
@DevOpsToolkit
@DevOpsToolkit 2 жыл бұрын
Thanks
@josephsmall5349
@josephsmall5349 2 жыл бұрын
Thank you for the excellent video!
@DanteBarboza
@DanteBarboza 4 ай бұрын
You saved my life, thank you
@DevOpsToolkit
@DevOpsToolkit 4 ай бұрын
I would not go as far as saying that i saved your life 🙂
@DanteBarboza
@DanteBarboza 4 ай бұрын
@@DevOpsToolkit Well not literally, but you were a lot of help 😉
@vane3660
@vane3660 Жыл бұрын
Hello, excellent video, do you have the idea to use the lambda function to get the image and them with a batch file or other way deploy to update or create the ecs task definition??
@DevOpsToolkit
@DevOpsToolkit Жыл бұрын
I'm not working much with ecs so I might not be the best person to answer that question. I transition all my workloads to Kubernetes and do not consider ecs a good option any more.
@dmsanz_youtube
@dmsanz_youtube 3 жыл бұрын
Great video. Have you used Localstack? I saw the pro version mentions support for lambda containers. I wonder if that means that it's possible to do what you did but deploying the container locally
@DevOpsToolkit
@DevOpsToolkit 3 жыл бұрын
I haven't tried it (yet). Is it something like a local version of AWS meant for development?
@dmsanz_youtube
@dmsanz_youtube 3 жыл бұрын
@@DevOpsToolkit yes, exactly that. It's for running and testing AWS locally. I come from Azure and there are certain services such as azure Service Bus that can't be executed locally, no docker, no emulator. With AWS fortunately, for many, there's this localstack where you can run everything locally (offline if you want) interacting with it through the AWS CLI as if you were pointing to the "real" one. Thanks again for your videos!
@DevOpsToolkit
@DevOpsToolkit 3 жыл бұрын
I heard about it a while ago, but never dig into it. One more thing on my ever growing TODO list...
@DevOpsToolkit
@DevOpsToolkit 2 жыл бұрын
Just published a video about LocalStack: kzbin.info/www/bejne/bpnMaoNnm8uUh80
@jimmcdonald1253
@jimmcdonald1253 3 жыл бұрын
Excellent introduction. Very well done and easy to follow. You set up API Gateway as a trigger...how about adding a section showing how to call through the API Gateway endpoint?
@DevOpsToolkit
@DevOpsToolkit 3 жыл бұрын
Great suggestion! Adding it to my TODO list...
@MrRetroboyish
@MrRetroboyish 10 ай бұрын
Can I get some example use cases for lambda + containerization?
@DevOpsToolkit
@DevOpsToolkit 10 ай бұрын
There should be link to the gist with all the commands i executed in the description of the video.
@fpvclub7256
@fpvclub7256 2 жыл бұрын
How would you suggest managing Lambda deployments in AWS? Are there any gitOps tools or patterns that you're aware of that would help us? #no-argo-for=lambda :D
@DevOpsToolkit
@DevOpsToolkit 2 жыл бұрын
Most (if not all) GitOps tools are designed to work inside Kubernetes. If you use Lambda for some apps but also Kubernetes for something else, I would suggest defining Lambda as Kubernetes resources, do synchronization with Argo CD or Flux, and let tools like Crossplane or AWS ACK do the rest of the job. Or you can skip GitOps and do it through pipelines. If you do it like that, any IaC tool should be OK.
@cpmcmanaman
@cpmcmanaman 2 жыл бұрын
Hi V, Did you delete the github repository lambra-container-demo?
@DevOpsToolkit
@DevOpsToolkit 2 жыл бұрын
You have a typo. It's not lambRa-... but lambDa-.... The address is github.com/vfarcic/lambda-container-demo.
@cpmcmanaman
@cpmcmanaman 2 жыл бұрын
@@DevOpsToolkit Oh rock and roll!! Thanks :) Great demo!! :)
@kush_the_uncle8296
@kush_the_uncle8296 2 жыл бұрын
I am the 100th like :)
@adlythebaud1412
@adlythebaud1412 3 жыл бұрын
Random question: Are you AWS certified?
@DevOpsToolkit
@DevOpsToolkit 3 жыл бұрын
I'm not. The last time I got certified was 20 years ago. I think it was something around .Net :(
Amazon Lightsail Containers - AWS Service That Favors Simplicity
24:31
DevOps Toolkit
Рет қаралды 2,9 М.
How to Run a Python Docker Image on AWS Lambda
13:08
pixegami
Рет қаралды 27 М.
KINDNESS ALWAYS COME BACK
00:59
dednahype
Рет қаралды 131 МЛН
Looks realistic #tiktok
00:22
Анастасия Тарасова
Рет қаралды 90 МЛН
Kaniko - Building Container Images In Kubernetes Without Docker
28:48
DevOps Toolkit
Рет қаралды 47 М.
GO without SERVERS? How to Deploy Go to Lambda
15:47
Melkey
Рет қаралды 16 М.
В России ускорили интернет в 1000 раз
0:18
Короче, новости
Рет қаралды 1,8 МЛН
1$ vs 500$ ВИРТУАЛЬНАЯ РЕАЛЬНОСТЬ !
23:20
GoldenBurst
Рет қаралды 1,6 МЛН
Спутниковый телефон #обзор #товары
0:35
Product show
Рет қаралды 2,2 МЛН
Samsung Galaxy Unpacked July 2024: Official Replay
1:8:53
Samsung
Рет қаралды 6 МЛН