Posts tagged "aws"
26 articles covering aws — browse the collection below.
Updating Tags on an OpenSearch Serverless Collection Replaces the Resource
AWS::OpenSearchServerless::Collection requires replacement when you update tags — a surprising CloudFormation behavior that can break cross-account setups and cause downtime.
Cross-Account Data Ingestion into OpenSearch Serverless with AWS CDK
How to set up OpenSearch Serverless for cross-account data ingestion using AWS CDK, VPC endpoints, and IAM role assumption — filling the gaps in AWS documentation.
Run Custom Build Commands During CDK Synthesis with Code.fromCustomCommand
Learn how to use CDK's Code.fromCustomCommand to run custom build scripts, download artifacts, or use non-standard toolchains like Rust or Go during CDK synthesis.
Scale CloudWatch Alarms with Metrics Insights Queries
Use CloudWatch Metrics Insights to monitor multiple resources by querying their tags.
Serve Markdown for LLMs and AI Agents Using Amazon CloudFront
Learn how to serve Markdown to LLM and AI agent clients while keeping HTML for human visitors, using CloudFront Functions, Lambda, and S3 — the AWS equivalent of Cloudflare's 'Markdown for Agents' feature.
Running Scripts Across Multiple AWS Accounts with AWS SSO
Execute AWS CLI commands across multiple AWS accounts and regions from your local machine using AWS SSO.
Importing DynamoDB Items from a CSV File Using the AWS CLI
Easily re-import your DynamoDB items from a CSV file using a simple bash script and the AWS CLI — no complex tooling required.
Migrating a CDK Construct to projen and jsii
Learn how to convert your existing AWS CDK construct to use projen for easier maintenance and jsii for multi-language publishing
Using Spring Boot On AWS Lambda: Clever or Dumb?
Should you run Spring Boot on AWS Lambda? Detailed analysis of advantages, disadvantages, cold start impact, and GraalVM alternatives for Java serverless functions.
Serverless Sending and Receiving E-Mails, the CDK Way
Automate email forwarding with AWS SES using CDK constructs. Verify domains, setup receipt rules, and forward emails to Gmail—all with Infrastructure as Code.
5 Ways To Bundle a Lambda Function Within an AWS CDK Construct
5 ways to bundle Lambda functions in CDK constructs: inline code, separate files, pre-build bundling, NodejsFunction, and Serverless App Repository integration.
Automatically Generate a Nice Looking Serverless REST API Documentation
Generate beautiful REST API documentation from OpenAPI specs using ReDoc, openapi-generator, or swagger-codegen. Automate docs for serverless AWS Lambda APIs.
Using DynamoDB Local and Testcontainers in Java within Bitbucket Pipelines
Automate DynamoDB testing with Testcontainers and DynamoDB Local in Bitbucket Pipelines. Complete setup guide including Ryuk configuration and AWS SDK settings.
Going Serverless - Why and How (2)
Serverless best practices: keep functions small, use asynchronous communication, scale responsibly, and manage timeouts with Step Functions. Essential guide for production systems.
Going Serverless - Why and How (1)
Start your serverless journey with this comprehensive guide. Learn why serverless matters, how to use Infrastructure as Code with SAM, and set up automated deployments.
Caching in AWS Lambda
Improve AWS Lambda performance and reduce costs with caching strategies. Compare simple caching, DynamoDB cache, Redis, and ElastiCache for serverless functions.
Remove old CloudWatch log groups of Lambda functions
Automatically remove orphaned CloudWatch log groups from deleted Lambda functions. Python script using CloudFormation stack to identify and clean up old logs.
My first time on a bigger stage
Essential lessons from giving a conference talk at Atlas Camp 2018: why storytelling matters, how much preparation time you really need, and presentation techniques that work.
Shut down CloudFormation stack resources over night using AWS Lambda
Save AWS costs by automatically shutting down development stack resources overnight using Lambda functions and CloudFormation parameters. Reduce expenses by 50% or more.
Creating Different Environments With AWS CloudFormation
Create separate dev, staging, and production environments with AWS CloudFormation using parameters and deploy scripts. Learn the naming strategy to keep resources organized.
Keeping your AWS budget under control
Control AWS spending with AWS Budgets. Set up cost alerts and forecasted thresholds to prevent surprise charges. Simple 5-minute setup saves you from overspending.
Use Jersey and Spring in AWS Lambda
Integrate Jersey and Spring Framework in AWS Lambda using aws-serverless-java-container. Complete guide with code examples for building REST APIs on Lambda with Java.
How to reduce your CloudFormation template size
Overcome the 51,200 byte CloudFormation template limit using AWS::Include and cfn-include preprocessor. Split large templates into modular reusable components.
Starter Projects For AWS Lambda Using NodeJS And Java
AWS Lambda starter projects for NodeJS and Java with CloudFormation templates. Get boilerplate code to quickly deploy Lambda functions with API Gateway integration.
Fast AWS Lambda Code Updates And Improved Lambda Logs
Speed up AWS Lambda code updates from 2.5 minutes to 15 seconds with lambda-updater. Plus, easily trace logs across multiple Lambda functions using lambdalogs tool.
5 Things To Consider For Writing A Lambda Function
5 essential tips for writing AWS Lambda functions: choosing a runtime, using CloudFormation, attaching policies correctly, and improving cold starts.