aws

aws is a cursor rule for Cursor from nedcodes-ok/cursorrules-collection. It costs 447 tokens per session, scanned A, original, MIT.

Rules for designing applications on AWS, Amazon's cloud platform. They cover permissions, serverless functions, networking, storage, and common AWS services.

In plain words
What is it for?
Use it to plan IAM permissions, Lambda and API Gateway services, SQS messaging, VPC networks, S3 storage, and DynamoDB data models.
Why use it?
They help avoid overly broad access, exposed infrastructure, hard-coded credentials, inefficient networking, and fragile service-to-service designs. The guidance also addresses deployment and operational concerns.

Cursor rule for Cursor

Written for Cursor: a Cursor rule (.mdc). Also seen: mentions Cursor.

Good fit Use it to plan IAM permissions, Lambda and API Gateway services, SQS messaging, VPC networks, S3 storage, and DynamoDB data models.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/nedcodes-ok/cursorrules-collection/aws
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/nedcodes-ok/cursorrules-collection

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for aws

README.md
[![agentmods](https://agentmods.dev/badge/rules/nedcodes-ok/cursorrules-collection/aws/github.svg)](https://agentmods.dev/rules/nedcodes-ok/cursorrules-collection/aws)
Your own site
<a href="https://agentmods.dev/rules/nedcodes-ok/cursorrules-collection/aws"><img src="https://agentmods.dev/badge/rules/nedcodes-ok/cursorrules-collection/aws/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for aws

Your own site · 80×15
<a href="https://agentmods.dev/rules/nedcodes-ok/cursorrules-collection/aws"><img src="https://agentmods.dev/badge/rules/nedcodes-ok/cursorrules-collection/aws.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 447 This file is loaded in full into every session.
When invoked 447 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00447 $0.00447
Opus 5.5 $0.00179 $0.00179
Sonnet 5.5 $0.00089 $0.00089
Haiku 4.5 $0.00045 $0.00045

Measured 2mo ago against content hash 4b5e6aa6840b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

aws scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

rules-mdc/tools/aws.mdc · 50 lines

What it actually says

AWS Cursor Rules

You are an expert AWS cloud architect. Follow these rules:

IAM

  • Least privilege: start with zero permissions, add as needed
  • Never use root account or access keys for root
  • IAM roles over long-lived access keys — everywhere
  • Use policy conditions: restrict by source IP, MFA, resource tags
  • Service-linked roles for AWS service integrations

Serverless

  • Lambda: single-purpose functions, under 15 seconds
  • Cold starts: keep Lambda deployment packages small, use layers
  • API Gateway with Lambda proxy for HTTP APIs
  • Use Lambda Powertools for logging, tracing, and metrics
  • SQS between services for async decoupling — never direct Lambda-to-Lambda
  • DynamoDB for serverless state — design single-table when possible

Networking

  • Private subnets for compute, public only for load balancers
  • VPC endpoints for S3, DynamoDB, and other AWS services — avoid NAT costs
  • Security groups: whitelist specific ports, no 0.0.0.0/0 ingress
  • Use AWS PrivateLink for cross-account service access

Storage

  • S3 lifecycle policies: transition to Glacier/IA for old data
  • S3 bucket policies: block public access by default
  • EBS: gp3 over gp2 — same price, better performance
  • Use presigned URLs for temporary S3 access from clients

Reliability

  • Multi-AZ for all stateful services (RDS, ElastiCache)
  • Auto Scaling groups with health checks for compute
  • CloudWatch alarms for error rates, latency P99, and saturation
  • Route 53 health checks for DNS failover

Cost

  • Tag everything: team, environment, project — enables cost allocation
  • Reserved capacity or Savings Plans for steady-state workloads
  • Spot instances for fault-tolerant batch processing
  • Review Cost Explorer weekly — catch surprises early
  • Delete unused EBS volumes, old snapshots, idle load balancers
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 50 lines · 447 tokens per session scan A 4b5e6aa6840b

Subscribe to this mod's changes

aws is a cursor rule published in the GitHub repository nedcodes-ok/cursorrules-collection (38 stars, last pushed 9mo ago), licensed MIT. It adds 447 tokens to every session, about $0.0018 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

aws compared with cursor rules from other repositories

aws next to 6 cursor rules from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
awsnedcodes-ok/cursorrules-collectionCursor rule389mo agoMITA447Cursor
cloudflare-workers-autousrrname/cursorrulesCursor rule117mo agoISCA0Cursor
23-app-startuporbitalsonic/AndroidPilotCursor rule11mo agononeA0Cursor
21-ads-billingorbitalsonic/AndroidPilotCursor rule11mo agononeA0Cursor
22-platform-firebaseorbitalsonic/AndroidPilotCursor rule11mo agononeA0Cursor
30-screen-languageorbitalsonic/AndroidPilotCursor rule11mo agononeA0Cursor
01-feature-checklistorbitalsonic/AndroidPilotCursor rule11mo agononeA36Cursor