← Blog

Writing archive

Blog page 29

Older notes, lessons, and series entries from the growing technical library.

Archive

Posts page 29

Showing 1,345-1,392 of 1,422

2 min readSeries: AWS from Zero · Part 78

List every incomplete S3 multipart upload

Inventory unfinished multipart uploads with their keys, upload IDs, owners, and start times.

#aws#cli#s3#storage#operations#cost
2 min readSeries: AWS from Zero · Part 77

Apply an S3 Object Lock legal hold

Turn a legal hold on for one object version and verify its state.

#aws#cli#s3#storage#security#compliance
2 min readSeries: AWS from Zero · Part 76

Set default S3 Object Lock retention

Configure a short Governance-mode default retention rule for new object versions.

#aws#cli#s3#storage#security#compliance
2 min readSeries: AWS from Zero · Part 75

Create an S3 bucket with Object Lock

Create a new versioned bucket with Object Lock enabled at creation time.

#aws#cli#s3#storage#security#compliance
2 min readSeries: AWS from Zero · Part 74

Audit an S3 replication configuration

Inspect replication role, rule priorities, filters, destinations, and delete marker behavior.

#aws#cli#s3#storage#replication
2 min readSeries: AWS from Zero · Part 73

Create a basic S3 replication rule

Apply a versioned S3 replication configuration using an existing replication role.

#aws#cli#s3#storage#replication#versioning
2 min readSeries: AWS from Zero · Part 72

Prepare S3 buckets for replication

Enable versioning on source and destination buckets before adding an S3 replication rule.

#aws#cli#s3#storage#replication#versioning
2 min readSeries: AWS from Zero · Part 71

Inspect S3 event notification configuration

Read all Lambda, SQS, SNS, and EventBridge notifications configured on a bucket.

#aws#cli#s3#storage#events
2 min readSeries: AWS from Zero · Part 70

Configure S3 Storage Class Analysis

Create an analytics configuration that studies access patterns under one prefix.

#aws#cli#s3#storage#analytics#cost
2 min readSeries: AWS from Zero · Part 69

Enable S3 request metrics for a bucket

Create an S3 metrics configuration for the whole bucket and inspect it.

#aws#cli#s3#storage#observability#cloudwatch
2 min readSeries: AWS from Zero · Part 68

List and inspect S3 Inventory configurations

Audit the inventory jobs configured on an S3 bucket.

#aws#cli#s3#storage#operations
2 min readSeries: AWS from Zero · Part 67

Create an S3 Inventory configuration

Define a daily CSV inventory of current object versions for a source bucket.

#aws#cli#s3#storage#operations
2 min readSeries: AWS from Zero · Part 66

Use the S3 accelerated endpoint from AWS CLI

Configure an AWS CLI profile to use S3 Transfer Acceleration and test an upload.

#aws#cli#s3#storage#performance#cost
2 min readSeries: AWS from Zero · Part 65

Enable S3 Transfer Acceleration

Turn on S3 Transfer Acceleration for a compatible bucket and verify its status.

#aws#cli#s3#storage#performance#cost
2 min readSeries: AWS from Zero · Part 64

Call a Requester Pays S3 bucket

Use the request-payer option for listing and downloading from a Requester Pays bucket.

#aws#cli#s3#storage#cost
2 min readSeries: AWS from Zero · Part 63

Enable Requester Pays on an S3 bucket

Configure Requester Pays and understand which requests require an explicit requester flag.

#aws#cli#s3#storage#cost
2 min readSeries: AWS from Zero · Part 62

Inspect S3 server access logging status

Read the current logging destination and prefix for an S3 bucket.

#aws#cli#s3#storage#observability
2 min readSeries: AWS from Zero · Part 61

Enable S3 server access logging safely

Configure a source bucket to deliver server access logs into a dedicated destination bucket.

#aws#cli#s3#storage#observability
2 min readSeries: AWS from Zero · Part 60

Remove S3 static website configuration

Delete the website subresource and verify that a bucket is no longer configured for website hosting.

#aws#cli#s3#storage#web
2 min readSeries: AWS from Zero · Part 59

Create an S3 website redirect object

Upload a zero-byte object that redirects S3 website requests to another path.

#aws#cli#s3#storage#web
2 min readSeries: AWS from Zero · Part 58

Add an S3 website error document

Configure index and error documents together for an S3 website endpoint.

#aws#cli#s3#storage#web
2 min readSeries: AWS from Zero · Part 57

Configure an S3 static website index

Set an index document for S3 static website hosting and inspect the website configuration.

#aws#cli#s3#storage#web
2 min readSeries: AWS from Zero · Part 56

Use S3 sync delete without surprises

Preview how sync --delete removes destination objects that are absent locally.

#aws#cli#s3#storage
2 min readSeries: AWS from Zero · Part 55

Filter a recursive S3 copy

Copy a directory recursively while excluding everything except selected file patterns.

#aws#cli#s3#storage
2 min readSeries: AWS from Zero · Part 54

Choose a safe presigned URL expiry

Compare short and long S3 presigned URL lifetimes and understand credential limits.

#aws#cli#s3#storage#security
2 min readSeries: AWS from Zero · Part 53

Create a presigned S3 download URL

Generate a temporary signed URL for downloading one private S3 object.

#aws#cli#s3#storage#security
2 min readSeries: AWS from Zero · Part 52

Audit all S3 lifecycle rules

List lifecycle rule IDs, status values, filters, transitions, and expiration actions.

#aws#cli#s3#storage
2 min readSeries: AWS from Zero · Part 51

Automatically abort stale multipart uploads

Create a lifecycle rule that aborts incomplete multipart uploads after seven days.

#aws#cli#s3#storage
2 min readSeries: AWS from Zero · Part 50

Expire noncurrent S3 versions with lifecycle

Limit version-storage growth by expiring noncurrent object versions after a retention period.

#aws#cli#s3#storage#versioning
2 min readSeries: AWS from Zero · Part 49

Transition S3 objects to Standard-IA with lifecycle

Add a lifecycle transition for objects under a prefix after 30 days.

#aws#cli#s3#storage
2 min readSeries: AWS from Zero · Part 48

Expire old S3 objects with a lifecycle rule

Create an S3 lifecycle rule that expires objects under one prefix after 30 days.

#aws#cli#s3#storage
2 min readSeries: AWS from Zero · Part 47

Abort an incomplete S3 multipart upload

Find and abort an unfinished multipart upload so its stored parts stop accumulating cost.

#aws#cli#s3#storage
2 min readSeries: AWS from Zero · Part 46

Complete an S3 multipart upload

Assemble uploaded S3 parts in order and verify the completed object.

#aws#cli#s3#storage
2 min readSeries: AWS from Zero · Part 45

Upload one S3 multipart part

Upload a numbered multipart part and capture the ETag required for completion.

#aws#cli#s3#storage
2 min readSeries: AWS from Zero · Part 44

Start an S3 multipart upload

Initiate a multipart upload and capture its upload ID for later part operations.

#aws#cli#s3#storage
2 min readSeries: AWS from Zero · Part 43

Verify stored S3 checksums without downloading

Retrieve checksum fields with head-object and checksum-mode ENABLED.

#aws#cli#s3#storage
2 min readSeries: AWS from Zero · Part 42

Upload an S3 object with a SHA-256 checksum

Ask S3 to calculate and store a SHA-256 checksum during an object upload.

#aws#cli#s3#storage
2 min readSeries: AWS from Zero · Part 41

Count S3 objects and total their size

Use an AWS CLI JMESPath query to count listed S3 objects and sum their bytes.

#aws#cli#s3#storage
2 min readSeries: AWS from Zero · Part 40

Control S3 listing pagination

Use max-items and starting-token to understand AWS CLI pagination over S3 objects.

#aws#cli#s3#storage
2 min readSeries: AWS from Zero · Part 39

Group S3 keys with a delimiter

Use an S3 delimiter to produce folder-like CommonPrefixes in object listings.

#aws#cli#s3#storage
2 min readSeries: AWS from Zero · Part 38

List S3 objects under one prefix

Use list-objects-v2 with a prefix to inspect one logical area of a bucket.

#aws#cli#s3#storage
2 min readSeries: AWS from Zero · Part 37

Choose an S3 storage class during upload

Upload an object directly to S3 Standard-IA and inspect its storage class.

#aws#cli#s3#storage
2 min readSeries: AWS from Zero · Part 36

Replace S3 metadata while copying an object

Use copy-object with metadata-directive REPLACE to create a copy with new metadata.

#aws#cli#s3#storage
2 min readSeries: AWS from Zero · Part 35

Replace and remove S3 object tags

Safely replace an S3 object's full tag set and then remove all object tags.

#aws#cli#s3#storage
2 min readSeries: AWS from Zero · Part 34

Add tags to an S3 object

Attach object tags with put-object-tagging and read them back from the CLI.

#aws#cli#s3#storage
2 min readSeries: AWS from Zero · Part 33

Configure S3 CORS for one web origin

Add a narrow S3 CORS rule for browser GET and HEAD requests from one origin.

#aws#cli#s3#storage#web
2 min readSeries: AWS from Zero · Part 32

Check whether an S3 bucket policy is public

Use get-bucket-policy-status to ask S3 whether a bucket policy is considered public.

#aws#cli#s3#storage#security#policy
2 min readSeries: AWS from Zero · Part 31

Read an S3 bucket policy line by line

Create a least-privilege bucket policy document locally and inspect its IAM policy structure.

#aws#cli#s3#storage#security#policy