Using Amazon S3 in the Amazon CLI - Amazon Command Line Interface
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

This documentation is for Version 1 of the Amazon CLI only. For documentation related to Version 2 of the Amazon CLI, see the Version 2 User Guide.

Using Amazon S3 in the Amazon CLI

An introduction to Amazon Simple Storage Service (Amazon S3)

You can access the features of Amazon Simple Storage Service (Amazon S3) using the Amazon Command Line Interface (Amazon CLI). Amazon S3 is a highly scalable and durable object storage service. Amazon S3 is designed to provide virtually unlimited storage capacity, making it an ideal solution for a wide range of data storage and management needs.

Amazon S3 allows you to store and retrieve any amount of data, from small files to large datasets, in the form of objects. Each object is stored in a container called a bucket, which can be accessed and managed through the Amazon Web Services Management Console or programatically through the Amazon SDKs, tools, and Amazon CLI.

Including basic storage, Amazon S3 also offers a range of features including lifecycle management, versioning, scalability, and security. These integrate with other Amazon Web Services services enabling you to build cloud-based solutions that scale to your needs.

The Amazon CLI provides two tiers of commands for accessing Amazon S3:

  • s3 – Custom high-level commands made specifically for the Amazon CLI that simplify performing common tasks, such as creating, manipulating, deleting, and syncing objects and buckets.

  • s3api – Exposes direct access to all Amazon S3 API operations which enables you to carry out advanced operations.