What is S3 URI in Simple Storage Service?

0

Every S3 Object has S3 URI when we open "Properties" page.

  1. What exactly S3 URI is?

  2. Is it Universal Location of S3 object? If so, then all S3 objects are stored across multiple AZs, then how it define exact URL of any object?

Can anyone share good AWS Documentation reference to know more about S3 URI?

Thank you in advance.

Best regards, Ashish Barot

  • Hi Ashish, if the answer works for you. Could you help to accept the answer. Otherwise, feel free to ask what other help is required. Thanks!

질문됨 2년 전11009회 조회
1개 답변
1

Hi Ashish!

S3 URI is the unique resource identifier within the context of the S3 protocol. They follow this naming convention : S3://bucket-name/key-name

For example , if you have a bucket named mybucket and a file called puppy.jpg within it. The S3 URI would appear as - **S3://mybucket/puppy.jpg **

In terms of uses, it is used when interfacing with AWS Restful APIs or more commonly AWS SDK to access specified S3 bucket/object.

For example, to upload the file c:\sync\logs\log1.xml to the root of the vincent-test-bucket bucket, you can use the AWS CLI command below.

aws s3 cp c:\sync\logs\log1.xml s3://vincent-test-bucket/

Regards to your second question, you are right, it is the universal unique location of the s3 object. When you store objects using S3 standard tier , multiple copies of the object will be stored within multiple AZs across the region where the bucket is created. This URI endpoint serves a single point of access to your object with it's replication across the multiple AZ. Any changes made to it will be persisted across all it's copies.

For more detailed documentatiion on S3 URI, you can reference this link

Cheers.

Vincent

AWS
답변함 2년 전
  • Thank you very much Vincent for your quick reply with nice explanation.

    I will check the URL shared by you.

    Regards, Ashish Barot

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠