AWS S3 Management

AWS S3 Management

Guides an AI agent to create and manage S3 buckets with versioning, encryption, access control, lifecycle policies, replication and presigned URLs.

Skill files7 files

references/

scripts/

templates/

SKILL.md100 lines
1
---
2
name: aws-s3-management
3
description: >
4
Manage S3 buckets with versioning, encryption, access control, lifecycle
5
policies, and replication. Use for object storage, static sites, and data
6
lakes.
7
---
8
9
# AWS S3 Management
10
11
## Table of Contents
12
13
- [Overview](#overview)
14
- [When to Use](#when-to-use)
15
- [Quick Start](#quick-start)
16
- [Reference Guides](#reference-guides)
17
- [Best Practices](#best-practices)
18
19
## Overview
20
21
Amazon S3 provides secure, durable, and highly scalable object storage. Manage buckets with encryption, versioning, access controls, lifecycle policies, and cross-region replication for reliable data storage and retrieval.
22
23
## When to Use
24
25
- Static website hosting
26
- Data backup and archival
27
- Media library and CDN origin
28
- Data lake and analytics
29
- Log storage and analysis
30
- Application asset storage
31
- Disaster recovery
32
- Data sharing and collaboration
33
34
## Quick Start
35
36
Minimal working example:
37
38
```bash
39
# Create bucket
40
aws s3api create-bucket \
41
--bucket my-app-bucket-$(date +%s) \
42
--region us-east-1
43
44
# Enable versioning
45
aws s3api put-bucket-versioning \
46
--bucket my-app-bucket \
47
--versioning-configuration Status=Enabled
48
49
# Block public access
50
aws s3api put-public-access-block \
51
--bucket my-app-bucket \
52
--public-access-block-configuration \
53
BlockPublicAcls=true,IgnorePublicAcls=true,\
54
BlockPublicPolicy=true,RestrictPublicBuckets=true
55
56
# Enable encryption
57
aws s3api put-bucket-encryption \
58
--bucket my-app-bucket \
59
--server-side-encryption-configuration '{
60
"Rules": [{
61
"ApplyServerSideEncryptionByDefault": {
62
"SSEAlgorithm": "AES256"
63
}
64
// ... (see reference guides for full implementation)
65
```
66
67
## Reference Guides
68
69
Detailed implementations in the `references/` directory:
70
71
| Guide | Contents |
72
|---|---|
73
| [S3 Bucket Creation and Configuration with AWS CLI](references/s3-bucket-creation-and-configuration-with-aws-cli.md) | S3 Bucket Creation and Configuration with AWS CLI |
74
| [S3 Lifecycle Policy Configuration](references/s3-lifecycle-policy-configuration.md) | S3 Lifecycle Policy Configuration |
75
| [Terraform S3 Configuration](references/terraform-s3-configuration.md) | Terraform S3 Configuration |
76
| [S3 Access with Presigned URLs](references/s3-access-with-presigned-urls.md) | S3 Access with Presigned URLs |
77
78
## Best Practices
79
80
### ✅ DO
81
82
- Enable versioning for important data
83
- Use server-side encryption
84
- Block public access by default
85
- Implement lifecycle policies
86
- Enable logging and monitoring
87
- Use bucket policies for access control
88
- Enable MFA delete for critical buckets
89
- Use IAM roles instead of access keys
90
- Implement cross-region replication
91
92
### ❌ DON'T
93
94
- Make buckets publicly accessible
95
- Store sensitive credentials
96
- Ignore CloudTrail logging
97
- Use overly permissive policies
98
- Forget to set lifecycle rules
99
- Ignore encryption requirements
100

© AJ Geddes · MIT · source · posted by @OpenSourceBuffGuy on promptparty.com

@OpenSourceBuffGuy

I find openly licensed prompts and post them here.

0 followers · 14,621 prompts

More by @OpenSourceBuffGuy

See all
Sea turtle carrying floating film studio island prompt image

Sea turtle carrying floating film studio island

Draws a giant sea turtle carrying a floating island film studio through a starry sky, where fairies polish rough film strips into golden film.

image-prompt, nano-banana, 3d-render, cartoon, fantasy-world, creatures, animals, whimsical, dreamy, cinematic, dramatic-lighting, vibrant-colors, bokeh, miniature, widescreen, night-scene, illustration, concept-art, surreal, storytelling, clay-3d

Desert buggy escapes drones past industrial outpost prompt image

Desert buggy escapes drones past industrial outpost

Builds a 15-second desert chase video where a racer in an armored buggy escapes drones past an industrial outpost, using five reference images with set jobs.

video-prompt, hailuo, action, multi-shot, timed-beats, camera-movement, reference-image, character-consistency, negative-prompt, cinematic, sci-fi, cars, landscape, aerial-view, tracking-shot, photorealistic, sound-effects, structured-output, long-form, widescreen

1 view
Cozy Pixel Art Farm Island Village prompt image

Cozy Pixel Art Farm Island Village

Draws a cozy 16-bit pixel-art farming village across six small islands joined by bridges, with exact counts for buildings, animals and crops.

image-prompt, gpt-image, pixel-art, isometric, game-assets, concept-art, maps, worldbuilding, cozy, vibrant-colors, ocean, landscape, wide-shot, widescreen, game-development, video-games, structured-output, whimsical, summer, high-angle, aerial-view, animals, negative-prompt, cityscape

1 view

Reviews

Loading reviews…

Discussion

Loading comments…