Explaining Knative, the Project to Liberate Serverless from Cloud Giants
Find out more about the technology that had everyone talking at last KubeCon and that will be (parically) GA in March.
#kubernetes #serverless
Find out more about the technology that had everyone talking at last KubeCon and that will be (parically) GA in March.
#kubernetes #serverless
serverless.tf - новый проект Антона Бабенко для работы с serverless решениями в AWS.
Это фреймворк, который позволяет управлять такими ресурсами, как Lambda, DynamoDB, SQS, S3, etc. при помощи Terraform модулей.
Почему возник serverless.tf и его сравнение с аналогами можно почитать на странице проекта
#aws #serverless #hashicrop #terraform
Это фреймворк, который позволяет управлять такими ресурсами, как Lambda, DynamoDB, SQS, S3, etc. при помощи Terraform модулей.
Почему возник serverless.tf и его сравнение с аналогами можно почитать на странице проекта
#aws #serverless #hashicrop #terraform
serverless.tf
Doing serverless with Terraform
serverless.tf is an opinionated open-source framework for developing, building, deploying, and securing serverless applications and infrastructures on AWS using Terraform.
AWS serverless patterns by Serverlessland.
Basically, this is a collection of common architecture patterns i.e. API Gateway to Lambda, Lambda and DynamoDB, API Gateway to Step Functions, etc. However, these examples also contain AWS SAM or AWS CDK templates, which you can use.
You can submit your own template as well. But no Terraform, sorry.
#aws #serverless
Basically, this is a collection of common architecture patterns i.e. API Gateway to Lambda, Lambda and DynamoDB, API Gateway to Step Functions, etc. However, these examples also contain AWS SAM or AWS CDK templates, which you can use.
You can submit your own template as well. But no Terraform, sorry.
#aws #serverless
Serverlessland
Serverless Land
Your resource for learning serverless technology.
A story of a company, which eventually moved their workloads from AWS Lambda to AWS ECS
They have a very specific use case. However, this is still an interesting view into the limitations of AWS FaaS architecture. I'm deliberately avoiding the word "serverless" here, because they moved to Fargate, which is also kinda serverless.
#aws #serverless
They have a very specific use case. However, this is still an interesting view into the limitations of AWS FaaS architecture. I'm deliberately avoiding the word "serverless" here, because they moved to Fargate, which is also kinda serverless.
#aws #serverless
prismatic.io
ECS vs Lambda: Why We Moved from Lambda to ECS | Prismatic
After comparing ECS to Lambda, we decided to move from Lambda to ECS based on Lambda's limitations. ECS was a better option for critical workloads.
A comparison of serverless deployment tools. Author describes the differences between Serverless Framework, SAM, and AWS CDK. However, this articale is more an overview of the aforementioned tools rather than competitive test.
Unfortunately, both Terraform (including Terraform CDK and Pulumi are out of comparision. Which is kinda disappointing. In my opinion, these two have more potential than the tools from this post.
#serverless #aws
Unfortunately, both Terraform (including Terraform CDK and Pulumi are out of comparision. Which is kinda disappointing. In my opinion, these two have more potential than the tools from this post.
#serverless #aws
TastefulElk
Serverless Framework vs SAM vs AWS CDK
Wondering what framework to use for your next #serverless project on #AWS? I created an identical app in Serverless Framewok, AWS SAM and AWS CDK to compare
The Serverless Rules are a compilation of rules to validate infrastructure as code templates for AWS against recommended practices.
They are available as
#aws #serverless
They are available as
cfn-lint
or tflint
plugins. So, you can check your CloudFormation or Terraform code against them.#aws #serverless
GitHub
GitHub - awslabs/serverless-rules: Compilation of rules to validate infrastructure-as-code templates against recommended practices…
Compilation of rules to validate infrastructure-as-code templates against recommended practices for serverless applications. - GitHub - awslabs/serverless-rules: Compilation of rules to validate in...
Getting back to the AWS architecture diagram from yesterday.
First of all, that was a joking post. If such an infrastructure works for them, that's OK.
The diagram is from this article, where they suggest 3 tips for working with Kinesis streams. So, if you're running Kinesis in your production systems as well, this article might be interesting for you too.
Also, they describe why did they move to such a serverless infrastructure in a series of short posts:
- An overview
- Testing and CI/CD
- Operations
There are actually more useful links for Lambda users inside those articles.
Enjoy!
#aws #serverless
First of all, that was a joking post. If such an infrastructure works for them, that's OK.
The diagram is from this article, where they suggest 3 tips for working with Kinesis streams. So, if you're running Kinesis in your production systems as well, this article might be interesting for you too.
Also, they describe why did they move to such a serverless infrastructure in a series of short posts:
- An overview
- Testing and CI/CD
- Operations
There are actually more useful links for Lambda users inside those articles.
Enjoy!
#aws #serverless
theburningmonk.com
AWS Lambda —3 pro tips for working with Kinesis streams
Learn to build production-ready serverless applications on AWS
So, if you want to know, how the real serverless looks like, here you are.
WebVM allows you to run fully functional Debian virtual machine in your browser.
The article provides an overview of the technology as well as the things that make this possible.
Obviously, there are not many businesses implementations for this at the moment, but I see great potential in it.
#serverless #wasm
WebVM allows you to run fully functional Debian virtual machine in your browser.
The article provides an overview of the technology as well as the things that make this possible.
Obviously, there are not many businesses implementations for this at the moment, but I see great potential in it.
#serverless #wasm
Leaning Technologies Developer
WebVM: server-less x86 virtual machines in the browser
We made a server-less virtual Linux environment that runs unmodified Debian binaries in the browser. This is powered by CheerpX, a WebAssembly virtualization platform. Feel free to play with it and report bugs: https://webvm.io
pgdump-aws-lambda is a ready-to-use Lambda function that creates a dump of your PostgreSQL database and streams it it S3.
There is already a native way to backup RDS databases. However, I can see a couple of use cases for this tool. For example:
- Backup databases that run on plain EC2 machines. I’m not sure if anyone does it today, but I worked in a company that did.
- Backup databases located outside AWS in case of hybrid setups. Obviously, it’s going to be challenging to configure such interconnection in a secure and reliable way, but if you’re using a hybrid setup, you already know what am I talking about.
- Use this Lambda function as a blueprint and extend its functionality. For example, obfuscate certain fields to create a non-production DB for tests, etc.
TBH, I’m not sure how it’s going to work with the 15 minutes hard limit for execution time for Lambdas, but you won’t find out unless you try, I guess.
So overall, an interesting project that I won’t likely use myself, but it might be fun to play with.
#databases #aws #serverless
There is already a native way to backup RDS databases. However, I can see a couple of use cases for this tool. For example:
- Backup databases that run on plain EC2 machines. I’m not sure if anyone does it today, but I worked in a company that did.
- Backup databases located outside AWS in case of hybrid setups. Obviously, it’s going to be challenging to configure such interconnection in a secure and reliable way, but if you’re using a hybrid setup, you already know what am I talking about.
- Use this Lambda function as a blueprint and extend its functionality. For example, obfuscate certain fields to create a non-production DB for tests, etc.
TBH, I’m not sure how it’s going to work with the 15 minutes hard limit for execution time for Lambdas, but you won’t find out unless you try, I guess.
So overall, an interesting project that I won’t likely use myself, but it might be fun to play with.
#databases #aws #serverless
GitHub
GitHub - jameshy/pgdump-aws-lambda: Lambda function for executing pg_dump and streaming the output to s3.
Lambda function for executing pg_dump and streaming the output to s3. - jameshy/pgdump-aws-lambda
A very interesting article about when to use AWS Lambda functions and when not.
The article explores a couple of serverless scenarios and whether it’s required to use a Lambda function there.
In nutshell: do not use Lambda when there’s a native integration between the components; and use it to transform data, not to transport it.
#aws #serverless
The article explores a couple of serverless scenarios and whether it’s required to use a Lambda function there.
In nutshell: do not use Lambda when there’s a native integration between the components; and use it to transform data, not to transport it.
#aws #serverless
Medium
When to use a Lambda function, and when not?
With the increasing number of direct integration between AWS services, AWS Lambda is not as essential as it used to be. So, when to use it?
A quite old article on debugging a NodeJS AWS Lambda function.
Yet, I still want to share this one, because even if you don‘t have NodeJS functions specifically, the article has some insights on how to debug Lambda functions in general.
Also, there some take away points that would be relevant for any HTTP workload, not just JS.
#aws #serverless
Yet, I still want to share this one, because even if you don‘t have NodeJS functions specifically, the article has some insights on how to debug Lambda functions in general.
Also, there some take away points that would be relevant for any HTTP workload, not just JS.
#aws #serverless
bahr.dev
How We Debugged And Fixed 'EMFILE: too many files open' On AWS Lambda NodeJS
This article shows how we debugged and fixed an 'EMFILE: too many files open' error on AWS Lambda.
A new episode of our voice chat is here (in Ukrainian)!
This time we talked a little bit about observability and deploy of AWS Lambdas. You can find it on:
- YouTube
- Spotify
- Apple Podcasts
- Google Podcasts
Enjoy!
Also, I used AI-based voice enhancement by Adobe in this episode. So, let me know if it's better this way in the chat. Also, if you want to participate in the upcoming voice chats, do not hesitate to join! We usually do those each other Thursday at 20:00 Kyiv time. The next one will probably be next week.
P.S. If you want even more than that, DOU is currently looking for hosts for their own DevOps-themed podcast! If you want to be one, make sure to fill out that form!
#voice_chat #говорилка #observability #serverless
This time we talked a little bit about observability and deploy of AWS Lambdas. You can find it on:
- YouTube
- Spotify
- Apple Podcasts
- Google Podcasts
Enjoy!
Also, I used AI-based voice enhancement by Adobe in this episode. So, let me know if it's better this way in the chat. Also, if you want to participate in the upcoming voice chats, do not hesitate to join! We usually do those each other Thursday at 20:00 Kyiv time. The next one will probably be next week.
P.S. If you want even more than that, DOU is currently looking for hosts for their own DevOps-themed podcast! If you want to be one, make sure to fill out that form!
#voice_chat #говорилка #observability #serverless
YouTube
Observability & AWS Lambda
Цього разу встигли зачепити дві теми:
- Observability
- Деплой AWS Lambda за допомогою Terraform і не тільки
Посилання на матеріали, що ми згадуємо в цьому епізоді:
- Practical introduction to OpenTelemetry tracing - talk by Nicolas Frankel at FOSDEM…
- Observability
- Деплой AWS Lambda за допомогою Terraform і не тільки
Посилання на матеріали, що ми згадуємо в цьому епізоді:
- Practical introduction to OpenTelemetry tracing - talk by Nicolas Frankel at FOSDEM…
If you’re using serverless computing in your company (it for your own project) you may be interested in the State of Serverless report by DataDog.
On things that I really appreciate about this report is that they have out their methodology in the article as well.
#serverless
On things that I really appreciate about this report is that they have out their methodology in the article as well.
#serverless
Datadog
The State of Serverless | Datadog
Our latest report, which builds on our yearly research on the serverless ecosystem, examines thousands of applications to surface insights into how serverless is being used in the real world.
If you have AWS Lambdas in Go, you likely know that AWS is going to deprecate the
The premise is that the new runtime is more performant. However, here is an article that argues why this move is bad for Go users on AWS as well as goes through some caveats you may encounter during the migration.
#go #aws #serverless
go1.x
runtime and forces its users to migrate to the generic al2.provided
runtime.The premise is that the new runtime is more performant. However, here is an article that argues why this move is bad for Go users on AWS as well as goes through some caveats you may encounter during the migration.
#go #aws #serverless
www.wolfe.id.au
RIP AWS Go Lambda Runtime | Mark Wolfe's Blog
Amazon Web Services (AWS) is deprecating the go1.x runtime on Lambda, this is currently scheduled for December 31, 2023. Customers need to migrate their Go based lambda functions to the al2.provided runtime, which uses Amazon Linux 2 as the execution environment.…
Let’s continue with Serverless. I Reviewed 1,000s of Opinions on Serverless is a collection of takes on Serverless. The author has collected and analyzed opinions on Serverless from Twitter (RIP), Reddit, Hackernews, ans other websites and broke them down into 3 categories: negative, positive, and neutral.
Tl;dr: as always, it depends. Serverless is no silver bullet. You have to architect your applications from ground up and choose tools fit for purpose - not jump on hype trains.
In any case though, there are some good comments about Lambdas and stuff in this article.
#serverless
Tl;dr: as always, it depends. Serverless is no silver bullet. You have to architect your applications from ground up and choose tools fit for purpose - not jump on hype trains.
In any case though, there are some good comments about Lambdas and stuff in this article.
#serverless
Konfigthis
I Reviewed 1,000s of Opinions on Serverless
From DHH shunning serverless, Ahrefs saving millions by using a cloud provider
at all, to Amazon raining fire on their own serverless product, serverless has
recently faced significant scrutiny.
at all, to Amazon raining fire on their own serverless product, serverless has
recently faced significant scrutiny.
An interesting insight into Facebook's internal architecture. Basically, because of their size they could create a vast serverless platform for internal use that handles trillions of requests.
This article is a summary of a whitepaper published earlier. You can find this whitepaper in PDF format here. I haven't read it yet, though.
#serverless
This article is a summary of a whitepaper published earlier. You can find this whitepaper in PDF format here. I haven't read it yet, though.
#serverless
Engineerscodex
Meta reveals their serverless platform processing trillions of function calls a day
XFaaS is Meta's private platform for "Hyperscale and Low Cost Serverless Functions." It is more efficient than AWS Lambda, Azure Functions, and Google Cloud Functions.
A nice step-by-step guide of how to test a Python AWS Lambda function locally with LocalStack.
This guide doesn't cover fixtures in LocalStack, though. In my experience, adding fixtures into LocalStack is PITA, but I have a very specific scenario where I need to create a couple of thousands of S3 objects relatively fast.
#aws #serverless #python
This guide doesn't cover fixtures in LocalStack, though. In my experience, adding fixtures into LocalStack is PITA, but I have a very specific scenario where I need to create a couple of thousands of S3 objects relatively fast.
#aws #serverless #python
Qxf2 BLOG
Testing AWS Lambda locally using LocalStack and pytest - Qxf2 BLOG
Learn how to effectively test AWS Lambda functions locally using LocalStack and pytest. Explore step-by-step instructions to streamline your Lambda function testing process.