Posts tagged "aws"

26 articles covering aws — browse the collection below.

Updating Tags on an OpenSearch Serverless Collection Replaces the Resource
AWS

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.

Read more
Cross-Account Data Ingestion into OpenSearch Serverless with AWS CDK
AWS

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.

Read more
Run Custom Build Commands During CDK Synthesis with Code.fromCustomCommand
AWS

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.

Read more
Scale CloudWatch Alarms with Metrics Insights Queries
AWS

Scale CloudWatch Alarms with Metrics Insights Queries

Use CloudWatch Metrics Insights to monitor multiple resources by querying their tags.

Read more
Serve Markdown for LLMs and AI Agents Using Amazon CloudFront
AWS

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.

Read more
Running Scripts Across Multiple AWS Accounts with AWS SSO
AWS

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.

Read more
Importing DynamoDB Items from a CSV File Using the AWS CLI
DynamoDB

Importing DynamoDB Items from a CSV File Using the AWS CLI

Import CSV data into an existing DynamoDB table using the AWS CLI and a simple bash script — no complex tooling like Glue required. Covers aws cli dynamodb put-item for each CSV row.

Read more
Migrating a CDK Construct to projen and jsii
AWS

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

Read more
Using Spring Boot On AWS Lambda: Clever or Dumb?
Spring Boot

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.

Read more
Serverless Sending and Receiving E-Mails, the CDK Way
CDK

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.

Read more
5 Ways To Bundle a Lambda Function Within an AWS CDK Construct
AWS Lambda

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.

Read more
Automatically Generate a Nice Looking Serverless REST API Documentation
OpenAPI

Automatically Generate a Nice Looking Serverless REST API Documentation

Generate beautiful REST API documentation from OpenAPI specs using ReDoc, openapi-generator, or swagger-codegen. Includes AWS::Serverless::Api DefinitionBody OpenAPI 3.0.1 examples with x-amazon-apigateway-integration for SAM-based Lambda APIs.

Read more
Using DynamoDB Local and Testcontainers in Java within Bitbucket Pipelines
Testcontainers

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.

Read more
Going Serverless - Why and How (2)
Serverless

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.

Read more
Going Serverless - Why and How (1)
Serverless

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.

Read more
AWS Lambda Cache: Caching Strategies for Serverless Functions
AWS Lambda

AWS Lambda Cache: Caching Strategies for Serverless Functions

Implement an AWS Lambda cache to improve performance and reduce costs. Compare in-memory caching, DynamoDB cache, Redis, and ElastiCache - and learn which Lambda caching strategy fits your use case.

Read more
Remove old CloudWatch log groups of Lambda functions
CloudWatch

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.

Read more
Conferences

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.

Read more
Shut down CloudFormation stack resources over night using AWS Lambda
AWS

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.

Read more
AWS

AWS CloudFormation Template: Creating Different Environments

Learn how to write an AWS CloudFormation template that supports multiple environments (dev, staging, production) using parameters and naming conventions. Includes CloudFormation template examples with environment variables.

Read more
Keeping your AWS budget under control
AWS

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.

Read more
Java

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.

Read more
How to reduce your CloudFormation template size
CloudFormation

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.

Read more
AWS Lambda

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.

Read more
AWS Lambda

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.

Read more
AWS Lambda

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.

Read more