CatOps
5.69K subscribers
94 photos
4 videos
19 files
2.27K links
DevOps and other issues by Yurii Rochniak (@grem1in) - SRE @ Preply && Maksym Vlasov (@MaxymVlasov) - Engineer @ Star. Opinions on our own.

We do not post ads including event announcements. Please, do not bother us with such requests!
Download Telegram
​​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
serverless.tf - новый проект Антона Бабенко для работы с serverless решениями в AWS.

Это фреймворк, который позволяет управлять такими ресурсами, как Lambda, DynamoDB, SQS, S3, etc. при помощи Terraform модулей.

Почему возник serverless.tf и его сравнение с аналогами можно почитать на странице проекта

#aws #serverless #hashicrop #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
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
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
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
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
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
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
​​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
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
If you have AWS Lambdas in Go, you likely know that AWS is going to deprecate the 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
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
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