Skip to content
Skills Library
DevOps & cloud · Planning

aws

/aws

Expert Amazon Web Services (AWS) cloud assistance covering IAM, EC2, S3, ECS/EKS, Lambda, VPC, and CloudWatch. Use when designing, deploying, and managing scalable AWS cloud architectures.

Licence
MIT
Last repository change
01.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
1
Deprecation

No signals detected. Repository changed on 01.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Expert Amazon Web Services (AWS) cloud assistance covering IAM, EC2, S3, ECS/EKS, Lambda, VPC, and CloudWatch. Use when designing, deploying, and managing scalable AWS cloud architectures.

Original author description

Expert Amazon Web Services (AWS) cloud assistance covering IAM, EC2, S3, ECS/EKS, Lambda, VPC, and CloudWatch. Use when designing, deploying, and managing scalable AWS cloud architectures.

How it works

  1. When to Use
  2. Quick Start
  3. Core Concepts
  4. Common Patterns
  5. Best Practices
  6. Troubleshooting
  7. References
Original SKILL.md headings · 159 lines, 569 words
SKILL.md preview
---
name: aws
description: Expert Amazon Web Services (AWS) cloud assistance covering IAM, EC2, S3, ECS/EKS, Lambda, VPC, and CloudWatch. Use when designing, deploying, and managing scalable AWS cloud architectures.
---

# AWS

Amazon Web Services (AWS) is a comprehensive cloud platform providing scalable compute, serverless architectures, managed databases, and enterprise AI infrastructure.

## When to Use

- **Enterprise Cloud Infrastructure**: Global compute (EC2, ECS, EKS), storage (S3), and database (Aurora, DynamoDB) solutions.
- **Serverless & Event-Driven Applications**: AWS Lambda, EventBridge, SQS, SNS, and API Gateway for zero-idle cost scaling.
- **High-Security Multi-Account Architectures**: AWS Organizations, IAM Identity Center, Control Tower, and KMS.
- **Edge Computing & Global Content Delivery**: CloudFront CDN, Route 53 DNS, and AWS WAF.

## Quick Start

```bash
# Verify credentials and caller identity
aws sts get-caller-identity

# List S3 buckets
aws s3 ls

# Sync local assets directory to private S3 bucket
aws s3 sync ./dist s3://my-app-assets-bucket/ --delete
```

## Core Concepts

### Serverless Architecture with AWS Lambda & SQS

Event-driven microservice processing incoming messages:

```python
import json
import boto3
import os

dynamodb = boto3.resource('dynamodb')
table = dynamodb.Table(os.environ['ORDERS_TABLE'])

def handler(event, context):
    processed_count = 0

    for record in event['Records']:
        body = json.loads(record['body'])
        order_id = body['order_id']
        amount = body['amount']

        # Persist transaction to DynamoDB
        table.put_item(Item={
            'PK': f"ORDER#{order_id}",
            'amount': str(amount),
            'status': 'CONFIRMED',
            'timestamp': record['attributes']['ApproximateFirstReceiveTimestamp']
        })
        processed_count += 1

    return {
        'statusCode': 200,
        'body': json.dumps({'processed': processed_count})
    }
```

### Least-Privilege IAM Policy

Scoping permissions strictly to resource ARNs:

```json
{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowS3InvoiceBucketAccess",
      "Effect": "Allow",
      "Action": ["s3:GetObject", "s3:PutObject"],
      "Resource": "arn:aws:s3:::corporate-invoices-prod/*"
    },
    {
      "Sid": "AllowKMSDecryption",
      "Effect": "Allow",
      "Action": "kms:Decrypt",
      "Resource": "arn:aws:kms:us-east-1:123456789012:key/abc-123",
      "Condition": {
        "StringEquals": {
          "kms:CallerAccount": "123456789012"
        }
      }
    }
  ]
}
```

### High-Availability VPC Network Architecture

Subnet layout for zero-trust network segregation:

```text
[Internet Gateway]
       │
[Public Subnets (NAT Gateway, ALB)] ──► 10.0.1.0/24, 10.0.2.0/24
       │
[Private Application Subnets (ECS, EKS, Lambda)] ──► 10.0.10.0/24, 10.0.11.0/24
       │
[Isolated Database Subnets (Aurora, Redis)] ──► 10.0.20.0/24, 10.0.21.0/24
```

## Common Patterns

### Least-Privilege IAM Policy for Application Service Roles

**Problem**: Granting wildcard `*` permissions exposes AWS accounts to severe compromise.

**Solution**:
Scoped IAM policy restricting actions to specific resources:

```json
{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": ["s3:GetObject", "s3:PutObject"],
      "Resource": "arn:aws:s3:::my-production-bucket/uploads/*"
    },
    {
      "Effect": "Allow",
      "Action": "dynamodb:GetItem",
      "Resource": "arn:aws:dynamodb:us-east-1:123456789012:table/UserSessions"
    }
  ]
}
```

## Best Practices

**Do**:

- Organize workloads into multi-account architectures using AWS Organizations and AWS Control Tower.
- Enforce least-privilege IAM policies without wildcard actions (`"Action": "*"`) or wildcard resources.
- Enable S3 Block Public Access and Default KMS Encryption across all storage buckets.
- Deploy databases and application containers into private subnets with egress via NAT Gateways.

**Don't**:

- Use AWS root account credentials for daily management or API tasks; lock with hardware MFA.
- Leave CloudWatch log groups with indefinite retention; configure explicit retention policies (e.g. 30 days).
- Hardcode AWS credentials; use IAM Roles for EC2/ECS/Lambda or OIDC for GitHub Actions.

## Troubleshooting

| Error                                                                 | Cause                                                             | Solution                                                                         |
| :-------------------------------------------------------------------- | :---------------------------------------------------------------- | :------------------------------------------------------------------------------- |
| `AccessDenied (Service: Amazon S3; Status Code: 403)`                 | IAM user/role lacks permission or S3 Bucket Policy blocks access. | Verify IAM policy permissions and check bucket Block Public Access settings.     |
| `ExpiredToken: The security token included in the request is expired` | Temporary STS credentials (AWS SSO or assumed role) have expired. | Re-authenticate: `aws sso login` or refresh STS tokens.                          |
| `VPC Resource Timeout / No internet access in Lambda`                 | Lambda placed in private subnet without NAT Gateway.              | Route private subnet 0.0.0.0/0 traffic through a NAT Gateway in a public subnet. |

## References

- [AWS Documentation](https://docs.aws.amazon.com/)

Versions

RepositoryScoreLicence
This page · G1Joshi/Agent-Skills100MIT
vanducng/skills100MIT
Aadarsh-x54/deep-agents-with-langchain100MIT
vercel-labs/emulate100Apache-2.0
claude-dev-suite/claude-dev-suite100MIT
lynricsy/hyperskills100MIT
glapsfun/cnative-skills100MIT
j4flmao/agent-skills95MIT
MARUCIE/openclaw-foundry95MIT

Database snapshot: 13.11.2026 · package version 9042b20d9218 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 85aws-expert
    Use when working with core AWS services outside the serverless and IaC specialist skills — EC2, S3, VPC/networking, IAM policies, RDS, ECS, CloudWatch, Secrets Manager — via the AWS CLI/console/boto3. Triggers - "launch an EC2 instance", "S3 bucket policy", "create a VPC", "IAM…
  • 100aws-cli
    AWS CLI v2 command syntax and scripting: secure authentication (aws login, Identity Center SSO, assume-role profiles, instance/task roles), output formats, JMESPath queries, pagination, waiters, IAM operations, S3, Lambda, RDS, CloudFormation, ECS, EKS, CloudWatch, SSM, Route…
  • 100cloud-infrastructure
    Use when provisioning cloud resources, choosing between AWS services (Lambda vs ECS vs EKS), writing CDK/IaC, designing serverless or container architectures, configuring IAM/security groups, or optimizing cloud costs.
  • 100aws-cli
    The AWS Command Line Interface (v2) manages Amazon Web Services from the terminal. Use when the user needs to run S3, EC2, Lambda, CloudWatch, IAM or other AWS commands, sign in with SSO or short-term credentials, write AWS automation scripts, or debug an `aws` command and its output.
  • 90aws-patterns
    AWS production patterns: ECS Fargate with Terraform, VPC 3-tier architecture, IAM least privilege with OIDC (no long-lived credentials), ALB + target groups, RDS Multi-AZ, ElastiCache cluster, S3 lifecycle policies, CloudWatch alarms, Secrets Manager rotation. Use when designing…
  • 100aws-advisor
    Expert AWS Cloud Advisor for architecture design, security review, and implementation guidance. Leverages AWS MCP tools for accurate, documentation-backed answers. Use when user asks about AWS architecture, security, service selection, migrations, troubleshooting, or learning…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.