
Build Open Source Software Developers Want to Use
Guide to building high-impact open-source projects with production-grade quality, strong DevEx, CI/CD, and community engagement.
54 articles tagged with “Python”

Guide to building high-impact open-source projects with production-grade quality, strong DevEx, CI/CD, and community engagement.

AWS Secrets Manager vs SSM Parameter Store compared: cost, rotation, encryption, versioning, and IaC support to help you choose.

Compare three ways to deploy MCP servers on AWS: Lambda with Web Adapter, Pure Lambda, and Fargate. Includes CDK templates.

14 real-world AWS Lambda security best practices: input validation, IAM least privilege, secrets management, and tenant isolation.

Use AWS CloudWatch Synthetics to catch production issues before users do. Learn to implement and schedule synthetic canaries.

Running an MCP server on AWS Lambda with FastAPI and FastMCP. It works, but cold starts and observability make it rough.

Use AWS Lambda with AppSync Events for serverless WebSockets. Covers CDK setup, real-time events, and Powertools integration.

Stop building internal tools nobody wants. Platform engineering tips to boost adoption, DevX, feedback, and internal open-source mindset

Discover how AWS Service Catalog helps Platform Engineers balance flexibility, security, and governance—transforming delivery at scale

Avoid common AWS Serverless architecture pitfalls! Learn 5 outdated patterns & the best practices to replace them for better services

learn about AWS Web Application Firewall (WAF) and use CDK code to protect an REST API served by an API Gateway and enable metrics and logs

In this VERY opinionated post, I will share my thoughts about AWS Lambda extensions, the good and the bad, and when you should use or should not use them.

Build a secure Fargate ECS cluster with an application load balancer and a Streamlit web application using Python CDK and OpenAI.

Build a chatbot with Amazon Bedrock agents using Powertools for AWS. Learn to automate Lambda API calls via OpenAPI with bedrock agents.

Learn of CloudFormation custom resources, their types, and best practices using AWS CDK, Powertools for AWS, Pydantic, and crhelper.

AWS security best practices for service to service authentication, authorization and cross-account access with IAM policies and python code.

Reduce AWS Lambda cold starts and optimize costs with dynamic provisioned concurrency. Master it with our AWS CDK Python guide.

Learn from my experience developing a performance-oriented serverless service. I'll share insights on multi-language strategies.

Generate OpenAPI documentation for serverless APIs automatically, keep it in sync with code, and safeguard against API breaking changes

Generate OpenAPI documentation for Python Lambda APIs using Powertools for AWS Lambda and Pydantic. Automate your API spec with CDK.

Learn to use CloudWatch metrics for mobile alerts, enhancing app engagement with AWS Lambda Powertools. Ideal for developers and engineers

Export CloudWatch logs to DataDog, Grafana, or other observability tools using serverless architecture for simpler management.

Build CloudWatch dashboards with AWS CDK to monitor serverless services using metrics, custom metrics, log insights, and alarms.

Deploy AWS AppConfig feature flags using CDK L2 constructs. Manage feature toggles for serverless apps with type-safe configurations.

In this article you will learn about dead letter queue best practices and how to handle failures in a correct and automated manner.

Learn how to handle Amazon SQS batch processing failures and master automatic retries with AWS Lambda Powertools for Python.

Handle Amazon SQS batches in a safe manner that encourages retries with AWS Lambda Powertools for Python and AWS CDK code examples.

Discover serverless API idempotency's significance and implementation using AWS Lambda, AWS CDK, and Lambda Powertools for Python.

In this post, you will learn how to generate Python templates with cookiecutter and build new template projects from scratch.

This blog post will teach you to leverage Amazon EventBridge to create serverless scheduled tasks using AWS CDK in Python.

Learn to automate TTS, text to speech, with Amazon Polly in minutes using the provided GitHub Serverless service to improve accessibility.

Learn to structure AWS Lambda functions with three architectural layers for clean, testable, and maintainable serverless code in Python.

Learn AWS Serverless testing best practices for advanced asynchronous flows that may or may not contain Lambda functions.

Learn AWS Serverless & Lambda testing best practices using the testing pyramid: unit, infrastructure, integration and end to end tests.

Serverless and Lambda testing challenges, how they differ from traditional testing, and best practices for overcoming them.

AWS Lambda layers explained: when to use them, the pros and cons, packaging tips, and best practices for Python serverless projects.

Learn how to define time-based feature flags that will change the behavior of your AWS service at different times, hours and weekdays.

Build and deploy AWS Lambda custom container images with AWS CDK in Python. Covers Docker setup, ECR, and deployment best practices.

Build and deploy AWS Lambda layers with Docker and AWS CDK in Python. Covers packaging, versioning, and layer management best practices.

Before going to production, go through this checklist. The checklist spans security, backups, crisis recovery, CI/CD, and support readiness.

Now that AWS re:Invent 2022 is officially over, let's go over the exciting new services and features launched from a Serverless perspective.

Step-by-step guide to deploying AWS infrastructure with GitHub Actions and AWS CDK, including OIDC authentication and CI/CD pipelines.

Best practices and guidelines for working with AWS CDK, learned from using AWS CDK, from development to production over the past 3 years.

How one open-source pull request led to a promotion to System Architect and a talk at the AWS TLV Summit. Advance your career with OSS.

Creating a cloud platform engineering team in your organization accelerates SaaS development. Learn about the challenges and best practices.

This blog will help you to start your very own AWS Serverless Python service with a working pipeline and CDK with just two clicks!

This blog post will describe a feature flags development process for getting feature flags right in: design, testing, production, retirement

AWS Lambda handler best practices series. This blog focuses on AWS Lambda feature flags and configuration best practices.

AWS Lambda input validation and parsing best practices using Pydantic and Powertools for AWS Lambda to ensure type-safe handlers.

AWS Lambda environment variables best practices for static configuration, type safety, and validation with Pydantic in Python.

AWS Lambda custom metrics best practices: publish CloudWatch metrics and business KPIs with Powertools for AWS Lambda in Python.

AWS Lambda observability best practices for distributed tracing, metrics, and monitoring using Powertools for AWS Lambda in Python.

Master AWS Lambda logging best practices with structured logs, correlation IDs, and Python Powertools for production-ready observability.

Reduce Python code complexity using this simple refactoring trick. Write cleaner, more maintainable Lambda handler code with less effort.
Ready to level up?
Whether you need architecture guidance, a platform strategy, or a second pair of expert eyes — I'm here to help.