Downloading Objects in S3
Sign up for FREE to access this course
Click the Sign Up button button below to create your free account and get instant access to this course. If you already have an account, simply click the Sign In button to get access.
We can easily download an S3 object by clicking on the object to open its properties. For example, we uploaded the aws.zip file previously, so I can click on this object and open its properties:
Once the properties for the S3 object has opened, we can click the Download button as shown below:
Depending on your browser settings, the object will either be downloaded to your default download location or a prompt will appear asking you where to save the file.
As always, we can also use the S3 API or other tools, such as the AWS CLI or the AWS SDKs, to download objects from your S3 bucket. Even though we are not covering exactly how to do that in this course, you should be aware that it is possible to do pretty much everything you do in the console with commands. This means you can automate just about everything you do in AWS... but more on that in another course.Side-tracked!
For zip files, the Open button will also download the zip file but if you had uploaded another file like a PDF, it would simply open the PDF in a new tab.
What is an S3 URI?
An Amazon S3 URI (Uniform Resource Identifier) is a string that uniquely identifies an S3 object or bucket. An S3 URI has the following format:
<bucket-name> is the name of the S3 bucket where the object is stored, and the
<object-key> is the unique identifier for the object within the bucket.
For example, the S3 URI
s3://myfirstbucket129/aws.zip identifies an object with the key
aws.zip in the
You can use S3 URIs to access S3 objects and buckets in various ways. For example, you can use an S3 URI to download an object from your S3 bucket using the AWS CLI, or you can use an S3 URI as the source or destination for an AWS Data Pipeline or an AWS Glue job.
Sign up to access the rest of this lesson
You must either log in or sign up to access this lesson.