This page is only for existing customers of the S3 Glacier service using Vaults and the original REST API from 2012.
If you're looking for archival storage solutions we suggest using the S3 Glacier storage classes in Amazon S3, S3 Glacier Instant Retrieval, S3 Glacier Flexible Retrieval, and S3 Glacier Deep Archive. To learn more about these storage options, see S3 Glacier storage classes
Step 1: Before You Begin with S3 Glacier
Before you can start with this exercise, you must sign up for an AWS account (if you don't already have one), and then download one of the AWS SDKs. See the following sections for instructions.
Set Up an AWS account and an Administrator User
If you have not already done so, you must sign up for an AWS account and create an administrator user in the account.
To complete the setup, follow the instructions in the following topics.
Set Up an AWS account and Create an Administrator User
Sign up for AWS
When you sign up for Amazon Web Services (AWS), your AWS account is automatically signed up for all services in AWS, including S3 Glacier. You are charged only for the services that you use. For more information about S3 Glacier usage rates, see the Amazon S3 Glacier pricing page
If you already have an AWS account, skip to Download the Appropriate AWS SDK. If you don't have an AWS account, use the following procedure to create one.
If you do not have an AWS account, complete the following steps to create one.
To sign up for an AWS account
Open https://portal.aws.amazon.com/billing/signup
. Follow the online instructions.
Part of the sign-up procedure involves receiving a phone call and entering a verification code on the phone keypad.
When you sign up for an AWS account, an AWS account root user is created. The root user has access to all AWS services and resources in the account. As a security best practice, assign administrative access to a user, and use only the root user to perform tasks that require root user access.
To create an administrator user, choose one of the following options.
Choose one way to manage your administrator | To | By | You can also |
---|---|---|---|
In IAM Identity Center (Recommended) |
Use short-term credentials to access AWS. This aligns with the security best practices. For information about best practices, see Security best practices in IAM in the IAM User Guide. |
Following the instructions in Getting started in the AWS IAM Identity Center User Guide. | Configure programmatic access by Configuring the AWS CLI to use AWS IAM Identity Center in the AWS Command Line Interface User Guide. |
In IAM (Not recommended) |
Use long-term credentials to access AWS. | Following the instructions in Create an IAM user for emergency access in the IAM User Guide. | Configure programmatic access by Manage access keys for IAM users in the IAM User Guide. |
Download the Appropriate AWS SDK
To try the getting started exercise, you must decide which programming language you want to use, and then download the appropriate AWS SDK for your development platform.
The getting started exercise provides examples in Java and C#.
Downloading the AWS SDK for Java
To test the Java examples in this developer guide, you need the AWS SDK for Java. You have the following download options:
-
If you are using Eclipse, you can download and install the AWS Toolkit for Eclipse by using the update site http://aws.amazon.com/eclipse/
. For more information, see AWS Toolkit for Eclipse . -
If you are using any other IDE to create your application, download the AWS SDK for Java
.
Downloading the AWS SDK for .NET
To test the C# examples in this developer guide, you need the AWS SDK for .NET. You have the following download options:
-
If you are using Visual Studio, you can install both the AWS SDK for .NET and the AWS Toolkit for Visual Studio. The toolkit provides AWS Explorer for Visual Studio and project templates that you can use for development. To download the AWS SDK for .NET, go to http://aws.amazon.com/sdkfornet
. By default, the installation script installs both the AWS SDK and the AWS Toolkit for Visual Studio. To learn more about the toolkit, see the AWS Toolkit for Visual Studio User Guide. -
If you are using any other IDE to create your application, you can use the same link provided in the preceding step and install only the AWS SDK for .NET.