Nothing Special   »   [go: up one dir, main page]

Store and Retrieve A File: Step 1. Enter The Amazon S3 Console

Download as pdf or txt
Download as pdf or txt
You are on page 1of 9

7/31/2019 How to Backup files to Amazon S3 – Amazon Web Services

 

Store and Retrieve a File


with Amazon S3

This step-by-step tutorial will help you store your files in


Storing Your Files with AWS
the cloud using Amazon Simple Storage Solution (S3). Requires an Account

Amazon S3 is a service that enables you to store your data


Create a Free Account
(referred to as objects) in at massive scale. In this tutorial, in Minutes
you will create an Amazon S3 bucket, upload a file,
retrieve the file and delete the file. AWS Free Tier includes 5GB
storage, 20,000 Get Requests, and
This tutorial is doable within the AWS Free Tier. 2,000 Put Requests with Amazon
S3.

View AWS Free Tier Details »

Step 1. Enter the Amazon S3 Console

When you click here, the AWS Management Console will


open in a new browser window, so you can keep this step-
by-step guide open.  When the screen loads, enter your
user name and password to get started. Then type S3 in
the search bar and select S3 to open the console.

(click to zoom)

https://aws.amazon.com/getting-started/tutorials/backup-files-to-amazon-s3/?trk=gs_card 1/9
7/31/2019 How to Backup files to Amazon S3 – Amazon Web Services

Step 2. Create an S3 Bucket  


In this step, you will create an Amazon S3 bucket. A bucket is the container you store
your files in.

a.  In the S3 dashboard, click Create Bucket.

If this is the first time you have created a bucket, you will
see a screen that looks like the image pictured here. 

If you have already created S3 buckets, your S3 dashboard


will list all the buckets you have created. (click to zoom)

b. Enter a bucket name. Bucket names must be unique


across all existing bucket names in Amazon S3. There are
a number of other restrictions on S3 bucket names as
well. Then select a region to create your bucket in.

Select Next.
(click to zoom)
 

c.  You have many useful options for your S3 bucket


including Versioning, Server Access Logging, Tags, Object-
level Logging and Default Encryption. We won't enable
them for this tutorial. Select Next.

(click to zoom)

https://aws.amazon.com/getting-started/tutorials/backup-files-to-amazon-s3/?trk=gs_card 2/9
7/31/2019 How to Backup files to Amazon S3 – Amazon Web Services

d. You have the ability to set permission settings for your


 
S3 bucket. Leave the default values and select Next.

(click to zoom)

e.  Review your configuration settings and select Create


bucket.

(click to zoom)

Step 3. Upload a File


In this step, you will upload a file to your new Amazon S3 bucket.

a.  You will see your new bucket in the S3 console. Click on
your bucket’s name to navigate to the bucket.

(click to zoom)

b.  You are in your bucket’s home page. Select Upload.

https://aws.amazon.com/getting-started/tutorials/backup-files-to-amazon-s3/?trk=gs_card 3/9
7/31/2019 How to Backup files to Amazon S3 – Amazon Web Services

 

(click to zoom)

c. To select a file to upload, either click Add files and


select a sample file that you would like to store OR Drag
and Drop a file on the upload box. Select Next after you
have selected a file to upload.

(click to zoom)

d. You have the ability to set permission settings on your


object. For this tutorial, leave the default values and select
Next.

(click to zoom)

e. You have the ability to set property settings like storage


class, encryption, and metadata with your object. Leave
the default values and select Next.

https://aws.amazon.com/getting-started/tutorials/backup-files-to-amazon-s3/?trk=gs_card 4/9
7/31/2019 How to Backup files to Amazon S3 – Amazon Web Services

(click to zoom)
 

f. Review your configurations and select Upload. You will


see your object in your bucket’s home screen.

(click to zoom)

Step 4: Retrieve the Object


In this step, you will download the file from your Amazon S3 bucket.

a. Select the checkbox next to the file you would like to


download, then select Download.

(click to zoom)

Step 5: Delete the Object and Bucket


You can easily delete your object and bucket from the Amazon S3 console. In fact, it is a
best practice to delete resources you are no longer using so you don’t keep getting
charged for them.

https://aws.amazon.com/getting-started/tutorials/backup-files-to-amazon-s3/?trk=gs_card 5/9
7/31/2019 How to Backup files to Amazon S3 – Amazon Web Services

a. You will first delete your object. Select the checkbox


 
next to the file you want to delete and select More >
Delete.

(click to zoom)

b.  Review and confirm the object you want to delete.


Select Delete.

(click to zoom)

c. Click on Amazon S3 to view all your buckets in the


region. 

(click to zoom)

d. Click to the right of the bucket name of the bucket you


created to selected it, then click Delete. Type in the name
of your bucket and click Confirm.

https://aws.amazon.com/getting-started/tutorials/backup-files-to-amazon-s3/?trk=gs_card 6/9
7/31/2019 How to Backup files to Amazon S3 – Amazon Web Services

(click to zoom)
 

Congratulations!
You have backed up your first file to the cloud by creating an Amazon S3 bucket and
uploading your file as an S3 object. Amazon S3 is designed for 99.999999999%
durability to help ensure that your data is always available when you want it. You’ve also
learned how to retrieve your backed up file and how to delete the file and bucket.

Next Steps
Now that you have learned how to use Amazon S3 from the web console you can
progress to the next tutorial where you will learn how to use the command line to do
these same backup and recovery actions in a scripted way.

Backing Up Your Files to Amazon S3 From the Command Line »

Was this page helpful?


Yes No

Sign In to the Console


Resources for AWS Developers on AWS
Getting Started Developer Center
Learn About AWS
Training and Certification SDKs & Tools
What Is AWS? AWS Solutions Portfolio Python on AWS
What Is Cloud Computing? Architecture Center Java on AWS

https://aws.amazon.com/getting-started/tutorials/backup-files-to-amazon-s3/?trk=gs_card 7/9
7/31/2019 How to Backup files to Amazon S3 – Amazon Web Services

What Is DevOps? Product and Technical FAQs PHP on AWS


What Is a Container? Analyst Reports Javascript on AWS
 
What Is a Data Lake? AWS Partner Network
AWS Cloud Security
What's New
Blogs

Help
Contact Us
AWS Careers
File a Support Ticket
Knowledge Center
AWS Support Overview
Legal

Create an AWS Account

     

Amazon is an Equal Opportunity Employer: Minority / Women / Disability / Veteran / Gender Identity /
Sexual Orientation / Age.

Language
‫| ﻋرﺑﻲ‬
Bahasa Indonesia |
Deutsch |
English |
Español |
Français |
Italiano |
Português |
Tiếng Việt |
Türkçe |
Ρусский |
ไทย |
日本語 |
한국어 |
中文 (简体) |
中文 (繁體)

Privacy
|
https://aws.amazon.com/getting-started/tutorials/backup-files-to-amazon-s3/?trk=gs_card 8/9
7/31/2019 How to Backup files to Amazon S3 – Amazon Web Services

Site Terms
|  
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.

https://aws.amazon.com/getting-started/tutorials/backup-files-to-amazon-s3/?trk=gs_card 9/9

You might also like