aws-patterns

Guide AWS architecture design for Lambda, S3, VPC, and IAM best practices.

2|Updated Jan 2, 2026
One-click install
npx skills add https://github.com/mindmorass/reflex --skill aws-patterns
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: aws-patterns
Source: https://github.com/mindmorass/reflex/tree/main/plugins/reflex/skills/aws-patterns
Command: npx skills add https://github.com/mindmorass/reflex --skill aws-patterns

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides practical guidance for architects designing secure, scalable AWS infrastructure using established best practices across core services.

Core Features & Use Cases

  • Lambda Functions: recommended handler structure, error handling, and observability guidelines.
  • S3 Bucket Configuration: security controls, versioning, encryption, and access policies.
  • VPC Design & Networking: multi-subnet layouts, routing, and isolation patterns.
  • IAM & Security: least-privilege policies and secure secret management.
  • Use Case: plan a new serverless application with proper Lambda, S3, and VPC patterns to minimize risk and cost.

Quick Start

Use the aws-patterns skill to review a Lambda deployment plan and ensure it follows security, networking, and cost-optimization best practices.

Frequently Asked Questions about aws-patterns

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I design a secure AWS Lambda function following best practices?

Design Lambda functions with recommended handler structure, error handling, and observability guidelines. Use least-privilege IAM roles, enable CloudWatch logging, and implement retry logic with exponential backoff to minimize security risks and operational blind spots.

What's the best way to configure S3 buckets for security and compliance?

Apply S3 security controls including encryption, versioning, and access policies. Enable server-side encryption, block public access, use bucket policies for least-privilege access, and enable MFA delete to protect data integrity and prevent unauthorized access.

How do I set up a VPC with proper networking and isolation patterns?

Design multi-subnet VPC layouts with public and private subnets, configure routing tables and network ACLs, and use security groups for traffic isolation. This approach minimizes exposure and ensures workloads communicate only through intended paths.

What IAM permissions should I grant for least-privilege access?

Apply least-privilege IAM policies that grant only required actions on specific resources. Use policy conditions, resource ARNs, and regular audits to prevent over-permissioning and reduce blast radius if credentials are compromised.

Can I optimize AWS costs while maintaining security and scalability?

Use cost-aware design patterns across Lambda, S3, and VPC services. Right-size instances, leverage reserved capacity where applicable, configure S3 lifecycle policies, and monitor spending through CloudWatch to balance performance with budget constraints.