메뉴
Amazon Simple Storage Service
콘솔 사용 설명서 (API Version 2006-03-01)

Amazon S3에 객체 업로드

중요

이 문서는 이전 Amazon S3 콘솔의 사용 설명서입니다. 새로운 Amazon S3 콘솔용 사용 설명서를 찾는 경우 새로운 Amazon S3 콘솔 사용 설명서에 오신 것을 환영합니다를 참조하십시오.  

폴더를 업로드하면 Amazon S3에서 지정된 폴더의 모든 파일 및 하위 폴더를 버킷으로 업로드한 다음 업로드된 파일 이름과 폴더 이름의 조합인 키 값을 할당합니다. 예를 들어, sample1.jpgsample2.jpg라는 두 개의 파일을 포함하는 폴더 /images를 업로드하는 경우 Amazon S3에서 파일을 업로드한 다음 해당 객체 키 이름인 images/sample1.jpgimages/sample2.jpg를 할당합니다. 키 이름에는 폴더 이름이 접두사로 포함됩니다.

폴더에 없는 하나 이상의 파일을 업로드하는 경우 Amazon S3에서 파일을 업로드하고 생성되는 객체에 대해 파일 이름을 키 값으로 할당합니다.

이 단원에서는 AWS Management Console을 사용하여 하나 이상의 파일이나 전체 폴더를 Amazon S3로 업로드하는 방법에 대해 설명합니다. Amazon S3에서는 지정된 버킷에 모든 파일을 저장합니다.

To upload files and folders into Amazon S3

  1. AWS Management Console에 로그인하고 https://console.aws.amazon.com/s3/에서 Amazon S3 콘솔을 엽니다.

  2. In the buckets list, click the name of bucket where you want to upload an object and then click Upload.

  3. (Optional) In the Upload - Select Files wizard, if you want to upload an entire folder, click Enable Enhanced Uploader to install the necessary Java applet. After you choose the Enhanced Uploader, if the uploader is not ready to use after two minutes, you might need to change your platform (Windows or Mac) or browser configuration to get the Java applet to work. For instructions on changing your platform and browser configuration, see Enhanced Uploader 사용.

    You only need to do this step once per console session. After you click Enable Enhanced Uploader and then don't want to use it, you can either refresh the browser, or close and reopen the browser to reset the uploader to the default.

    The Enhanced Uploader uses a Java applet.

    참고

    If you are behind a firewall, you will need to install your organization's supported proxy client for the Java applet to work.

  4. Click Add Files.

  5. In the dialog box that appears, click the file or files that you want to upload, and then click Open.

    • If you enabled the advanced uploader in step 2, you see a Java dialog box titled Select files and folders to upload, as shown.

    • If not, you see the File Upload dialog box associated with your operating system.

  6. If you are ready to upload the object immediately, without providing further details about the object, click Start Upload. Otherwise, click Set Details.

  7. The Set Details dialog box gives you the options to set the storage class and choose whether to encrypt your object with server side encryption (SSE).

    Each object in Amazon S3 has a storage class associated with it. For information on Amazon S3 storage classes, see Storage Classes in the Amazon Simple Storage Service 개발자 가이드.

    When using server-side encryption (SSE) Amazon S3 encrypts your data at the object level as it writes it to disks in its data centers and decrypts it for you when you access it. For more information about using SSE in Amazon S3 go to Protecting Data Using Server-Side Encryption in the Amazon Simple Storage Service 개발자 가이드.

    1. If you select Use Server Side Encryption you have two SSE options; Use the Amazon S3 service master key or Use an AWS Key Management Service master key.

      Selecting the AWS Key Management Service option enables you to select the Master Key from a dropdown list with the following options:

      • aws/s3 (default)— This is the default AWS KMS master key.

      • Enter a key ARN— You can give external accounts the ability to use this object protected by a AWS KMS key. To do this, you'll need to provide the Amazon Resource Name (ARN) for the external account in the ARN / ID field. Administrators of an external account that have usage permissions to an object protected by your AWS KMS key can further restrict access by creating a resource-level IAM policy. The other options in this dropdown list are all AWS KMS master keys that you have previously created. For more information about creating a AWS KMS key, go to Creating Keys in the AWS Key Management Service Developer Guide.

      참고

      Only keys in the same region as this bucket are available for encrypting objects in this bucket.

    2. When you've finished setting the object details, click Set Permissions.

  8. In the Set Permissions dialog box, do the following:

    • Select (the default) or clear the Grant me full control check box.

    • To grant read access to anonymous requests, select the Make everything public check box on the Upload - Set Permissions panel. By default, the check box is cleared, so no access is granted.

    참고

    By default, the owner of the upload has full control over all uploaded objects.

  9. To grant access to other users and groups for the objects you are uploading, click Add more permissions.

    In the grantee row that appears:

    • For each permission you grant, an entry is made in the object's Access Control List (ACL). For more information, see Using ACLs in the Amazon Simple Storage Service 개발자 가이드.

    • If you click Add more permissions, a new Grantee row appears. Each Grantee row maps to a grant in the Access Control List (For more information, see Using ACLs) associated with the object. You can grant permission to a user or one of the predefined Amazon S3 groups.

  10. [Grantee] 상자에 선택 가능한 기본 제공 그룹이 있습니다.

    • Everyone - 이 그룹을 사용하여 익명 액세스를 허용합니다.

    • Authenticated Users - 이 그룹은 Amazon AWS 계정을 가진 사용자로 구성됩니다. Authenticated User 그룹 권한을 부여할 때 유효한 서명된 요청이 적절한 작업을 수행할 수 있습니다. AWS 계정 또는 IAM 사용자로 요청에 서명할 수 있습니다.

    • Log Delivery – 서버 액세스 로그를 저장하기 위해 버킷을 사용하면 이 그룹이 버킷에 대한 쓰기 액세스를 허용합니다. 자세한 정보는 버킷 로깅 관리를 참조하십시오.

    • Me - 이 그룹은 AWS 루트 계정을 말하며 IAM 사용자는 가리키지 않습니다.

    [Grantee] 필드에 계정 정식 사용자 ID 또는 이메일 주소를 입력하여 AWS 계정에 권한을 부여할 수 있습니다. AWS 계정을 등록할 때 사용한 것과 같은 이메일 계정이어야 합니다. 다음 권한을 피부여자에게 부여할 수 있습니다.

    • Open/Download - 로그인된 경우 계정이 객체에 액세스할 수 있도록 합니다.

    • View Permissions - 객체와 관련된 권한을 볼 수 있습니다.

    • Edit Permissions - 객체와 관련된 권한을 편집할 수 있습니다.

  11. To set metadata, click Set Metadata.

    In the Upload - Set Metadata do the following:

    1. If you want the Amazon S3 to infer the content type of the uploaded objects, select the Figure out content types automatically check box (default).

    2. To add custom metadata, click Add more metadata and enter the key-value pairs that you want.

    Amazon S3 object metadata is represented by a key-value pair. User metadata is stored with the object and returned when you download the object. Amazon S3 does not process custom metadata. Custom metadata can be as large as 2 KB, and both the keys and their values must conform to US-ASCII standards. Any metadata starting with prefix x-amz-meta- is treated as user-defined metadata. When you add user-defined metadata, select x-amz-meta- from the Key box and then append the metadata name to it.

  12. Click Start Upload.

    You can watch the progress of the upload from within the Transfers panel.

    작은 정보

    To hide the Transfer panel, click None. To open it again, click Transfers.

    When objects upload successfully to Amazon S3, they appear in the Objects and Folders list.

To view file content and properties

  • Do either or both of the following:

    • To view the file content, in the Objects and Folders list, double-click the object.

    • To view object properties, in the Objects and Folders list, choose the object and then choose Properties.

      참고

      By default your Amazon S3 resources are private. Only the object owner can click the object link and view the object. If you share this link with others, for example add this link to your web pages, Amazon S3 will deny access. The clickable links on your webpage will work only if you make the object public (see 객체 권한 편집) or you use a pre-signed URL for the clickable link. For more information about pre-signed URL, go to Share an Object with Others in the Amazon Simple Storage Service 개발자 가이드.