{"id":197,"date":"2019-01-31T08:15:57","date_gmt":"2019-01-31T08:15:57","guid":{"rendered":"https:\/\/www.testpreptraining.com\/tutorial\/?page_id=197"},"modified":"2022-03-03T11:06:41","modified_gmt":"2022-03-03T11:06:41","slug":"basics-of-amazon-simple-storage-service-amazon-s3","status":"publish","type":"page","link":"https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-solutions-architect-associate-table-of-content\/basics-of-amazon-simple-storage-service-amazon-s3\/","title":{"rendered":"Basics of Amazon Simple Storage Service (Amazon S3)"},"content":{"rendered":"\n<p>In this, we will learn the basics of Amazon Simple Storage Service (Amazon S3).<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Buckets \u2013 <\/strong><\/h4>\n\n\n\n<ul class=\"wp-block-list\"><li>It is a container for objects stored in Amazon Simple Storage Service (Amazon S3).<\/li><li>Every object is contained in a bucket.<\/li><li>URL addressing, as if object named photos\/puppy.jpg stored in johnsmith bucket, then URL is http:\/\/johnsmith.s3.amazonaws.com\/photos\/puppy.jpg<\/li><li>Buckets helps to <ul><li>organize the S3 namespace at the highest level <\/li><\/ul><ul><li>identify the account responsible for storage and data transfer charges <\/li><\/ul><ul><li>play a role in access control <\/li><\/ul><ul><li>serve as the unit of aggregation for usage reporting. <\/li><\/ul><\/li><li>Buckets can create in a specific region.<\/li><li>Can also configure a bucket every time an object is added to it<\/li><li>S3 generates a unique version ID and assigns it to the object.<\/li><\/ul>\n\n\n\n<h6 class=\"wp-block-heading\">Rules for naming S3 buckets in all AWS Regions:<\/h6>\n\n\n\n<ul class=\"wp-block-list\"><li>Bucket names must be unique across all existing bucket names in Amazon S3.<\/li><li>Bucket names must comply with DNS naming conventions.<\/li><li>Thirdly, Bucket names must be at least 3 and no more than 63 characters long.<\/li><li>Bucket names must not contain uppercase characters or underscores.<\/li><li>Then, Bucket names must start with a lowercase letter or number.<\/li><li>Bucket names must be a series of one or more labels. Adjacent labels are separated by a single period (.). Bucket names can contain lowercase letters, numbers, and hyphens. Each label must start and end with a lowercase letter or a number.<\/li><li>Bucket names must not format as an IP address (for example, 192.168.5.4).<\/li><li>When you use virtual hosted\u2013style buckets with Secure Sockets Layer (SSL), the SSL wildcard certificate only matches buckets that don&#8217;t contain periods. To work around this, use HTTP or write own certificate verification logic. We recommend that you do not use periods (&#8220;.&#8221;) in bucket names when using virtual hosted\u2013style buckets.<\/li><\/ul>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Objects \u2013 <\/strong><\/h4>\n\n\n\n<ul class=\"wp-block-list\"><li>Fundamental entities stored in Amazon Simple Storage Service (Amazon S3).<\/li><li>Consist of object data and metadata.<\/li><li>Data portion is opaque to Amazon S3 or stored as it is.<\/li><li>Metadata is a set of name-value pairs that describe the object and include <ul><li>the date last modified <\/li><\/ul><ul><li>standard HTTP metadata &#8211; Content-Type <\/li><\/ul><\/li><li>Can specify custom metadata at the time the object is stored.<\/li><li>An object is uniquely identified within a bucket by a key (name) and a version ID.<\/li><\/ul>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Keys \u2013 <\/strong><\/h4>\n\n\n\n<ul class=\"wp-block-list\"><li>Unique identifier for an object within a bucket.<\/li><li>Every object in a bucket has exactly one key.<\/li><li>Every object in Amazon S3 can uniquely address as <ul><li>Combination of a bucket, key, and version ID uniquely identify each object <\/li><\/ul><ul><li>web service endpoint, bucket name, key, and optionally, a version. <\/li><\/ul><\/li><li>Example, in the URL http:\/\/doc.s3.amazonaws.com\/2006-03-01\/AmazonS3.wsdl, &#8220;doc&#8221; is the name of the bucket and &#8220;2006-03-01\/AmazonS3.wsdl&#8221; is the key.<\/li><\/ul>\n\n\n\n<h6 class=\"wp-block-heading\"><strong>Regions <\/strong><\/h6>\n\n\n\n<ul class=\"wp-block-list\"><li>You can choose the geographical region where S3 will store the buckets you create.<\/li><li>Choose a region to\n<ul>\n<li>optimize latency<\/li>\n<\/ul>\n<ul>\n<li>minimize costs<\/li>\n<\/ul>\n<ul>\n<li>address regulatory requirements<\/li>\n<\/ul>\n<\/li><li>Objects stored in a region never leave the region unless you explicitly transfer them to another region.<\/li><\/ul>\n\n\n\n<h6 class=\"wp-block-heading\"><strong>S3 Operations<\/strong><\/h6>\n\n\n\n<ul class=\"wp-block-list\"><li>S3 API has operations<\/li><li>Create\/Delete a bucket<\/li><li>Write an object<\/li><li>Read an object<\/li><li>Delete an object<\/li><li>List keys in a bucket<\/li><\/ul>\n\n\n\n<p><strong>REST Interface Usage<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Native interface for S3<\/li><li>Uses standard HTTP or HTTPS requests to create and delete buckets, list keys, and read and write objects.<\/li><li>Maps standard HTTP methods to CRUD operations as\n<ul>\n<li>Create is HTTP PUT (at times POST);<\/li>\n<\/ul>\n<ul>\n<li>Read is HTTP GET;<\/li>\n<\/ul>\n<ul>\n<li>Delete is HTTP DELETE;<\/li>\n<\/ul>\n<ul>\n<li>Update is HTTP POST (at times PUT).<\/li>\n<\/ul>\n<\/li><li>Can also interact with S3 by AWS SDKs for iOS, Android, JavaScript, Java, .NET, Node.js, PHP, Python, Ruby, Go, and C++, the AWS CLI and the AWS Management Console.<\/li><\/ul>\n\n\n\n<p><strong>S3 Data Durability and Availability<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Durability answers \u201cWhether my data still be there in the future?\u201d\u00a0<\/li><li>Availability answers \u201cCan I access my data right now?\u201d<\/li><li>Offers both for data.<\/li><li>S3 standard storage designed for 99.999999999% durability and 99.99% availability of objects over a given year.<\/li><\/ul>\n\n\n\n<p><strong>S3 Data Consistency<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Extremely consistent system<\/li><li>data automatically replicates across multiple servers and locations within a region,<\/li><li>changes in data may take some time to propagate to all locations<\/li><\/ul>\n","protected":false},"excerpt":{"rendered":"<p>In this, we will learn the basics of Amazon Simple Storage Service (Amazon S3). Buckets \u2013 It is a container for objects stored in Amazon Simple Storage Service (Amazon S3). Every object is contained in a bucket. URL addressing, as if object named photos\/puppy.jpg stored in johnsmith bucket, then URL is http:\/\/johnsmith.s3.amazonaws.com\/photos\/puppy.jpg Buckets helps to&#8230;<\/p>\n","protected":false},"author":1,"featured_media":199,"parent":53,"menu_order":5,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"categories":[2],"tags":[16,17,7,14,5],"class_list":["post-197","page","type-page","status-publish","has-post-thumbnail","hentry","category-amazon-aws","tag-amazon-s3","tag-amazon-storage-solution-service","tag-aws","tag-aws-exam-dumps","tag-aws-solutions-architect"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Basics of Amazon Simple Storage Service (Amazon S3) - Tutorials<\/title>\n<meta name=\"description\" content=\"Learn Basics of Amazon Simple Storage Service (Amazon S3) with advanced learning techniques and practice tests Now!\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-solutions-architect-associate-table-of-content\/basics-of-amazon-simple-storage-service-amazon-s3\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Basics of Amazon Simple Storage Service (Amazon S3) - Tutorials\" \/>\n<meta property=\"og:description\" content=\"Learn Basics of Amazon Simple Storage Service (Amazon S3) with advanced learning techniques and practice tests Now!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-solutions-architect-associate-table-of-content\/basics-of-amazon-simple-storage-service-amazon-s3\/\" \/>\n<meta property=\"og:site_name\" content=\"Testprep Training Tutorials\" \/>\n<meta property=\"article:modified_time\" content=\"2022-03-03T11:06:41+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.testpreptraining.ai\/tutorial\/wp-content\/uploads\/2019\/01\/Amazon-S3.png\" \/>\n\t<meta property=\"og:image:width\" content=\"800\" \/>\n\t<meta property=\"og:image:height\" content=\"380\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-solutions-architect-associate-table-of-content\/basics-of-amazon-simple-storage-service-amazon-s3\/\",\"url\":\"https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-solutions-architect-associate-table-of-content\/basics-of-amazon-simple-storage-service-amazon-s3\/\",\"name\":\"Basics of Amazon Simple Storage Service (Amazon S3) - Tutorials\",\"isPartOf\":{\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#website\"},\"datePublished\":\"2019-01-31T08:15:57+00:00\",\"dateModified\":\"2022-03-03T11:06:41+00:00\",\"description\":\"Learn Basics of Amazon Simple Storage Service (Amazon S3) with advanced learning techniques and practice tests Now!\",\"breadcrumb\":{\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-solutions-architect-associate-table-of-content\/basics-of-amazon-simple-storage-service-amazon-s3\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-solutions-architect-associate-table-of-content\/basics-of-amazon-simple-storage-service-amazon-s3\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-solutions-architect-associate-table-of-content\/basics-of-amazon-simple-storage-service-amazon-s3\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.testpreptraining.ai\/tutorial\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"AWS Certified Solutions Architect Associate (SAA-C03)\",\"item\":\"https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-solutions-architect-associate-table-of-content\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Basics of Amazon Simple Storage Service (Amazon S3)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#website\",\"url\":\"https:\/\/www.testpreptraining.ai\/tutorial\/\",\"name\":\"Testprep Training Tutorials\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.testpreptraining.ai\/tutorial\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#organization\",\"name\":\"Testprep Training\",\"url\":\"https:\/\/www.testpreptraining.ai\/tutorial\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.testpreptraining.com\/tutorial\/wp-content\/uploads\/2020\/07\/tpt-logo-6.png\",\"contentUrl\":\"https:\/\/www.testpreptraining.com\/tutorial\/wp-content\/uploads\/2020\/07\/tpt-logo-6.png\",\"width\":583,\"height\":153,\"caption\":\"Testprep Training\"},\"image\":{\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Basics of Amazon Simple Storage Service (Amazon S3) - Tutorials","description":"Learn Basics of Amazon Simple Storage Service (Amazon S3) with advanced learning techniques and practice tests Now!","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-solutions-architect-associate-table-of-content\/basics-of-amazon-simple-storage-service-amazon-s3\/","og_locale":"en_US","og_type":"article","og_title":"Basics of Amazon Simple Storage Service (Amazon S3) - Tutorials","og_description":"Learn Basics of Amazon Simple Storage Service (Amazon S3) with advanced learning techniques and practice tests Now!","og_url":"https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-solutions-architect-associate-table-of-content\/basics-of-amazon-simple-storage-service-amazon-s3\/","og_site_name":"Testprep Training Tutorials","article_modified_time":"2022-03-03T11:06:41+00:00","og_image":[{"width":800,"height":380,"url":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-content\/uploads\/2019\/01\/Amazon-S3.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-solutions-architect-associate-table-of-content\/basics-of-amazon-simple-storage-service-amazon-s3\/","url":"https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-solutions-architect-associate-table-of-content\/basics-of-amazon-simple-storage-service-amazon-s3\/","name":"Basics of Amazon Simple Storage Service (Amazon S3) - Tutorials","isPartOf":{"@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#website"},"datePublished":"2019-01-31T08:15:57+00:00","dateModified":"2022-03-03T11:06:41+00:00","description":"Learn Basics of Amazon Simple Storage Service (Amazon S3) with advanced learning techniques and practice tests Now!","breadcrumb":{"@id":"https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-solutions-architect-associate-table-of-content\/basics-of-amazon-simple-storage-service-amazon-s3\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-solutions-architect-associate-table-of-content\/basics-of-amazon-simple-storage-service-amazon-s3\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-solutions-architect-associate-table-of-content\/basics-of-amazon-simple-storage-service-amazon-s3\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.testpreptraining.ai\/tutorial\/"},{"@type":"ListItem","position":2,"name":"AWS Certified Solutions Architect Associate (SAA-C03)","item":"https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-solutions-architect-associate-table-of-content\/"},{"@type":"ListItem","position":3,"name":"Basics of Amazon Simple Storage Service (Amazon S3)"}]},{"@type":"WebSite","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#website","url":"https:\/\/www.testpreptraining.ai\/tutorial\/","name":"Testprep Training Tutorials","description":"","publisher":{"@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.testpreptraining.ai\/tutorial\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#organization","name":"Testprep Training","url":"https:\/\/www.testpreptraining.ai\/tutorial\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#\/schema\/logo\/image\/","url":"https:\/\/www.testpreptraining.com\/tutorial\/wp-content\/uploads\/2020\/07\/tpt-logo-6.png","contentUrl":"https:\/\/www.testpreptraining.com\/tutorial\/wp-content\/uploads\/2020\/07\/tpt-logo-6.png","width":583,"height":153,"caption":"Testprep Training"},"image":{"@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/pages\/197","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/comments?post=197"}],"version-history":[{"count":7,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/pages\/197\/revisions"}],"predecessor-version":[{"id":51862,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/pages\/197\/revisions\/51862"}],"up":[{"embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/pages\/53"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/media\/199"}],"wp:attachment":[{"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/media?parent=197"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/categories?post=197"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/tags?post=197"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}