aws-s3

Configure Amazon S3 buckets with policies and lifecycle rules.

46|4|Updated Jan 27, 2026
One-click install
npx skills add https://github.com/BagelHole/DevOps-Security-Agent-Skills --skill aws-s3-bagelhole
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: aws-s3
Source: https://github.com/BagelHole/DevOps-Security-Agent-Skills/tree/main/infrastructure/cloud-aws/aws-s3
Command: npx skills add https://github.com/BagelHole/DevOps-Security-Agent-Skills --skill aws-s3-bagelhole

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill simplifies the management of object storage on AWS, addressing the complexities of configuring S3 buckets, their access policies, and lifecycle management for optimal storage and security.

Core Features & Use Cases

  • Bucket Configuration: Create and configure S3 buckets with essential settings like versioning and public access blocking.
  • Policy Management: Define and apply bucket policies to control access and enforce security requirements like HTTPS.
  • Lifecycle Rules: Implement rules for transitioning objects to cheaper storage tiers or expiring them after a set period.
  • Use Case: Securely store application logs by creating an S3 bucket, enabling versioning, blocking public access, and setting up a lifecycle rule to archive logs older than 30 days to Glacier.

Quick Start

Use the aws-s3 skill to create a new S3 bucket named 'my-secure-logs' in the 'us-west-2' region and enable versioning.

Frequently Asked Questions about aws-s3

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

FAQPage Schema
How do I configure Amazon S3 bucket policies to enforce HTTPS access?

To configure Amazon S3 bucket policies to enforce HTTPS access, you define and apply a bucket policy that explicitly denies non-secure requests. This manages access control and enforces security requirements for object storage.

What is the best way to automate S3 lifecycle rules for archiving old logs to Glacier?

Automating S3 lifecycle rules for archiving old logs to Glacier requires implementing rules that transition objects to cheaper storage tiers after a set period. This effectively automates data archival for cost optimization.

Can I block public access and enable versioning on an S3 bucket at the same time?

Yes, you can block public access and enable versioning on an S3 bucket simultaneously. Configuring S3 buckets involves applying essential settings like public access blocking and versioning to ensure secure, durable object storage.

Why do I need S3 lifecycle management for my application data?

You need S3 lifecycle management to optimize storage costs and automate data deletion or archival. By transitioning objects to cheaper storage tiers or expiring them after a set period, you satisfy requirements for cost-optimized object storage.

Does S3 lifecycle management support automated deletion of objects after a specific time?

Yes, S3 lifecycle management supports automated deletion of objects by expiring them after a set period. Implementing these lifecycle rules allows you to automatically manage data retention and remove obsolete objects.