Discover and read the best of Twitter Threads about #serverless

Most recents (24)

The no. 1 question I get about #serverless is around testing - how should I test these cloud-hosted functions? Should I use local simulators? How do I run these in my CI/CD pipeline?

Here are my thoughts on this 🧵
There's value in testing YOUR code locally, but don't bother with simulating AWS locally, too much effort to set up and too brittle to maintain. Seen many teams spend weeks trying to get localstack running and then waste even more time whenever it breaks in mysterious ways 😠
Much better to use temporary environments (e.g. for each feature, or even each commit). Remember, with serverless components you only pay for what you use, so these environments are essentially free 🤘
Read 19 tweets
Pretty excited to see Lambda Function URLs ship! (I got to help name this one): aws.amazon.com/blogs/aws/anno… It's a long long time coming, with years of "diving deep" into where this fits in the broader picture of Lambda. I think ppl will love it. #serverless 1/
It fits along side the native Lambda invoke API, Amazon API Gateway, and then ALB, all of which provide some sort of https event source to Lambda. each has its place. There's likely reasons to use it plus others throughout your infrastructure 2/
Simplicity wise?? you really don't get much easier than what @alex_casalboni's post shows. check/check done. It's there, it scales, its HA, you dont pay extra for it, etc. It's easy-button easy. 3/
Read 7 tweets
before I dive in here, did you know that @awscloud Audit Manager exists?

probably not. tl:dr > it helps map your usage to various regulations & standards to give you a better idea of your risk & compliance posture

some thoughts & a blog post analysis 👇

🧵 #cloud #security
@awscloud this 👇 is the workflow for @awscloud Audit Manager. it's not bad for the basics

🧵 #cloud #security The AWS Audit Manager workflow: - review, customize, or crea
@awscloud what started me down this path was this post on the @awssecurityinfo blog, "Streamlining evidence collection with AWS Audit Manager"

aws.amazon.com/blogs/security…

anything that helps smooth out the evidence gathering process is usually a big win, let's dig in

🧵 #cloud #security
Read 9 tweets
Which would you expect would be faster, SNS directly invoking a Lambda function? Or SNS to SQS to a Lambda function?

Here's a fun thread documenting what I've learned!
🧵👇
#Serverless
In a totally unscientific test (N=3), I’ve observed SNS messages delivered directly to Lambda functions are slower than an SNS message sent to SQS, then delivered to Lambda.

Check out the following trace:
Here, the SNS message is published from the initial lambda function (purple spans). You then see the fan-out, with the yellow span indicating the time for SNS to invoke my function, and the two blue spans representing the time for SNS to SQS and then invoking my function.
Read 6 tweets
Morning Twitter. Let's talk about M3O (m3o.com) 👇#m3o #cloud #opensource #serverless
Let's start with the what. M3O is a next generation cloud platform. We're rebuilding the cloud for everyone. Reimagining existing cloud infrastructure and public APIs as higher level building blocks.
This includes serverless databases, user management, app hosting, functions, search, cloud storage, pubsub messaging, sms, email, geocoding and more. All the things you need to build products rapidly and at scale.
Read 14 tweets
#serverless paradigm encourages you to use any programming language. However, some choices have benefits in terms of speed/cost. AWS supports @rustlang runtime for AWS Lambda. Writing SLS functions is super easy. Let's dive into this.. 🧵
The magic is done through lambda_runtime crate (crates.io/crates/lambda_…): your function code is passed as a closure to handler_fn (1) which returns a Handler struct
which is passed to run function that starts Lambda runtime and waits for events (2). Once they come, they are sent to your function, as the event parameter, which conveniently is a JSON Value, hence the need to use serde_json crate (3).
Read 6 tweets
I'm currently working on preparation for the tech talk about #eventdriven architecture and would like to share some articles that I found helpful
Introduction to Event-Driven Architecture by Kacey Bui link.medium.com/A3vSLOI5Amb contains basic information about EDA, its main parts and what is more important list of benefits and drawbacks of #eventdriven approach. I would also like to note the great illustrations in the article
Journey to Event Driven confluent.io/blog/journey-t… by @confluentinc - series of 4 articles with detailed overview of Event Driven Architecture and its history, related architectural patterns, events in connection with #serverless, questions of performance and scalability
Read 9 tweets
The responses to Kelsey's tweet illustrate a fascinating disconnect between traditional and #serverless mindsets. If you approach "serverless" like any other compute platform, you're going to be disappointed. Here's why… 🧵
Let me start by clarifying what I mean by a "traditional" mindset. I don't mean "legacy", and I certainly don't mean "wrong". I think of it as the encapsulation and orchestration of compute processes within a single execution stack. This includes both VMs and containers.
The traditional mindset assumes some measure of vertical scaling (e.g. concurrency) within an environment, often relying on some form of statefulness/stickiness, and then graduating to horizontal scaling to achieve higher throughput. Again, nothing wrong with this approach.
Read 18 tweets
2021: A year in review for AWS Lambda Powertools Python 🧵 #Python #Serverless
v1.10.0: Logger, Tracer, Validator, and Parameters

Highlights
- Parameter: AppConfig support @IsenbergRan
- Logger: Support for extra parameter @heitor_lessa

github.com/awslabs/aws-la…
v1.10.1 / v1.10.2 / v1.10.3 / v1.10.4 - Bug fixes, code coverage, typing and documentation

Highlights
- Internal benchmarks @NMoutschen
- Migrate documentation from Gatsby to MkDocs material @am29d
Read 26 tweets
Here is my Ode to the Cloud 2021. Happy New Year, everyone! 🍾🥂🎆 #cloud #serverless
Two thousand twenty-one, a strange year we have seen,
Mixed with lots of highs and lows, and bags of in between.
And even though, most of us, just want to scream out loud,
Plenty of interesting things, did happen in the #cloud.
Jassy went to Amazon 'cause Bezos went to space,
And all without missing a beat, Selipsky took his place.
Munns decided startups, is where his help should aim,
So Talia, James, and others, all stepped up their game.
Read 28 tweets
☁️ Quéres ser un desarrollador en la nube y no sabes por donde empezar?

Durante los próximos 40 días te voy a compartir TODOS los días videos en ESPAÑOL sobre este tema.

🙏🏽 Si conoces a alguien que quiera aprender sobre esto, compartí este hilo.

🧵 1/38
Empecemos por lo primero, que es la nube ☁️?
Es un termino que usamos mucho pero que pasamos poco tiempo definiendo.

En este video te lo contamos!



🧵 2/38
Hay una serie de pasos que te van a ayudar a convertirte en un desarrollador en la nube.

🚀 Este es un buen video para empezar tu viaje hacia la nube. ☁️



🧵 3/38
Read 39 tweets
Great thoughts & opinions in 👇 and in Jeremy's bit.ly/3prk4OA

To me, @awscloud should focus on providing a #Serverless adoption & application experience (AX) than simply improving DX by mixing a bit of UX and getting nowhere. 🧵
1/
As a cloud prvoider and with the scale of services and adoption, for #AWS, it's difficult to play the balancing act.

Too few service cause frustration and too many services lead to confusion. Adding more new services is not always a healthy situation.
2/
As Jeremy mentioned, the maturity of the existing services is crucial. He also beautifully described what a DX is in the cloud world. It's not about adding some UX and calling it DX.
3/
Read 9 tweets
#Serverless enthusiasts were lucky this month. November had lots of interesting meetup videos regarding the serverless framework. Check out the most watched videos below.

blog.meetupfeed.io/serverless-nov…
Get familiar with fan-out, queuing, decoupling and many many more! @julian_wood strives to help developers learn how they can use serverless technologies in order to transform the way they build and run applications.
@ServerlessParis

meetupfeed.io/talk/advanced-…
Wondering how you can create highly scalable, loosely coupled systems? Check out Event-driven architectures using Amazon’s EventBridge. Explore different options of testing with @serverlesssarah @ServerlessParis @theodo

meetupfeed.io/talk/integrati…
Read 6 tweets
Yesterday I turned 43 and realized I've been in #tech for 24 years (I got paid to create my first "professional" website in 1997). Here's 24 things I've learned over the past 24 years. Perhaps you'll find them useful on your journey. 🧵
24. Plan work around your life, not life around your work - I worked 70+ hr weeks in my 20s & early 30s. While I'm sure there's a correlation between that & my "successes", there's also a lot of regret for missed time with family & friends.
23. Be a T-shaped human - There are 3 types of knowledge: the shit you know, the shit you know you don't know, and the shit you don't know you don't know. Specialize in a few things, and gain wisdom by learning the basics of many others.
Read 25 tweets
As i've pivoted into my new role working with AWS's startup customers one thing that is really exciting is to see the natural adoption of event driven architectures for new companies at day 1. more to do here, but companies are recognizing the patterns early in their MVPs 1/
Still seeing people get a bit caught on the topic of queues vs. buses vs. pub/sub vs. streams. but generally speaking here's my framework for this when building a #serverless app: 2/
1. Queues: great where you might have unexpected significant spikes or want to really throttle down stream. also best if an event has a single consumer app 3/
Read 7 tweets
Why I minimize emulator use when developing #serverless applications. A thread.

Early on in my serverless career I was one of the the many who attempted to emulate as much of the cloud as possible on my machine. 1/8
I used LocalStack, LambCI, Serverless Plugins, SAM local, Local DynamoDB, and others. The problem I found was two-fold. The first was that the emulators, even the AWS ones, were a shadow of the actual service they were emulating. 2/8
Especially with third-party emulators, there was no way to ensure they were processing data the same as the actual services. I would find myself struggling to fix a bug that was introduced, not by my code, but by the emulator. 3/8
Read 8 tweets
Where is @edjgeek speaking at #reInvent? Glad you asked!!

SVS208 (Breakout) - Building real-world #serverless applications with AWS SAM and Capital One. @georgemao and I talk about AWS SAM in the real world and the new SAM Accelerate features!
SVS305R1/R2 (Chaltalk) - CI & CD workflows for serverless applications. In this session I cover best practices for CI/CD for #serverless. Including utilizing new tools like SAM Pipelines!
SVS315 (Chalktalk) - Amazon S3 to AWS Lambda: A flexible pattern for serverless applications. In this session we talk about basic and more advanced patterns for utilizing the #serverless S3 -> Lambda pattern (and more)
Read 4 tweets
I presented the #ValueFlywheel today at #MapCamp - it's an illustration of using #WardleyMaps to visualize tech & product drivers and move forward with pace and precision. I live mapped it, which was fun. Here's an early copy of the map. 1/
The top-level is visible by the executive and the mid-level by the technical leadership. Often the two are not aligned - but they have to be. We often go to Cloud but don't really think about how we are going to behave when we get there. 2/
The #ValueFlywheel is a concept that I created with @MarkMcCann and @bigheadoreilly - 1/ Clarity of Purpose 2/ Challenge with mapping 3/ Next Best Action and 4/ Long Term Value - mapping plays a role in all four phases. 3/
Read 8 tweets
Everyone got so excited about Graviton2 Lambda functions & Step Functions AWS-SDK integration yesterday that you might have missed this one about triggering Lambda functions from SQS queues in *different* accounts. This is important, a short 🧵 #serverless aws.amazon.com/about-aws/what…
Having multiple AWS accounts to handle different parts of your application (from both a lifecycle and service perspective) isn't just good practice, it's also AWS recommended. 👍 2/9
This is because AWS account separation is the best isolation model for security, scalability, regional controls, service limit management, billing 👈, and much more. 3/9
Read 9 tweets
This is HUGE - for #serverless developers especially, but really for anyone building applications today!

I want to pull out some key points from this post:

1/10
"Cloudflare R2 Storage includes full S3 API compatibility"

This was a genius move by Cloudflare. Wonder where they got the inspiration (blinks in DocumentDB, OpenSearch)

2/10
"R2 builds on Cloudflare’s commitment to the Bandwidth Alliance, providing zero-cost egress for stored objects — no matter your request rate."

Simplifies cost calculation and reduces overall cost. Great for developers. Love to see it.

3/10
Read 10 tweets
✅ After a bit more than 4.5 years, tomorrow will be my last day leading Developer Advocacy for #serverless at @awscloud. I'll be staying at AWS and taking on a new role starting next week. 🧵1/
For me this journey started back in 2016 in discussions about how to bridge a perceived gap in serverless GTM(go to market). Effectively there was none. Yet Lambda at that time was doing what you want a product to do, organically 🚀📈 2/
A huge thanks obviously to @ajaynairthinks and @timallenwagner for figuring this all out with me and agreeing to bring me in. And a special thanks to Ajay for years of leadership/mentorship. One of the best leaders at @awscloud hands down. The majority of Lambda has been his 3/
Read 10 tweets
@fitzsimons_dev @dynamodb Oh! You're one of today's lucky 10,000!

DynamoDB streams are GREAT! I use them in almost every place I use a DDB table with #Serverless. I suggest doing non-essential work via stream vs in one long function call, so the end user gets the fastest experience possible.

Here's a 🧵
@fitzsimons_dev @dynamodb 1. Sending a confirmation email after a user registers.

This is an important function, but users shouldn't have to wait for my API to call an email provider before getting a response from the backend. Stream it to another function!
@fitzsimons_dev @dynamodb 2. Stateful/synchronizing needs! Lambda functions are a distributed system, no way around that (unless you set function concurrency to 1, but I digress). So you need to build idempotency into your app.

Example 👇
Read 15 tweets
containers on @awscloud: a rant 🧵

problem: I want to run a single container every so often

☁️ #cloud #devops
I start with a search. the first result is straight forward and promising

I click on "Containers on AWS"

☁️🧵 #cloud #devops
I land here. it's not bad though a bit of a pitch, "AWS is the #1 place for you to run containers and 80% of all containers in the cloud run on @awscloud" << but will MINE?!?

☁️🧵 #cloud #devops
Read 45 tweets

Related hashtags

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3.00/month or $30.00/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!