AWS CLI
S3 Commands
Store and retrieve objects in S3. Learn bucket operations, sync commands, and best practices for cloud storage management.
9 commands
Pro Tips
Use 'aws s3 sync' instead of 'cp' for directories - it only copies changed files.
Add '--dryrun' to sync/cp commands to see what would be transferred without doing it.
Use 's3://' for high-level commands (s3 sync) and 's3api' for low-level API operations.
Common Mistakes
Public buckets can leak sensitive data. Check bucket policies and ACLs regularly.
S3 delete is permanent (unless versioning is enabled). Enable versioning for important buckets.