SIMPLE STORAGE SERVICE
Introduction to S3
Amazon S3 is one of first services introduced by AWS. Amazon S3 provides developers and IT teams with secure,durable,and highly-scalable cloud storage. Amazon S3 is easy-to-use object storage with a simple web service interface that you can use to store and retrieve any amount of data from anywhere on the web. Amazon S3 also allows you to pay only for the storage you actually use, whicheliminatesthecapacityplanningandcapacityconstraintsassociatedwithtraditionalstorage. Block storage operates at a lower level, the raw storage device level and manages data as a set of numbered,fixed-size blocks. Object storage or File storage operates at a higher level, the operating system level, and manages data as a named hierarchy of files and folders
» S3 is Object based i.e.allows you to upload,Download,Share files
» All our Objects reside in containers called buckets.
» S3 is a universal namespace that means name of your bucket must be unique globally
» Amazon S3 is cloud object storage.Instead of being closely associated with a server, Amazon S3 storage is independent of a server and is accessed over the Internet
» You can create and use multiple buckets;you can have up to 100 per account by default, this is a soft limit,you can increase this at any time by creating a service limit increase ticket with AWS
» File Size can be from 0 Byte to 5 TB
» Single bucket can store an unlimited number of files
» Bucket names must not be formatted as an IP address(e.g.,192.168.32.1).
» You can create buckets in your near by region which is located close to a particular set of end users or customers in order to minimize latency.
» Or,Create bucket and store data far away from your primary facilities in order to satisfy disaster recovery and compliance needs
» Amazon S3 objects are automatically replicated on multiple devices in multiple facilities within a region
» Every Amazon S3 object can be addressed by a unique URL I.e;http://mybucket.s3.amazonaws.com/document.doc
» You can access using this URL also https://s3-region.amazonaws.com/uniquebucketName/object name
» Bucket names must be atleast 3 and no more than 63 characters long
|Invalid Bucket Name||Comment|
|myawsbucket||Bucket name cannot start with a period (.).|
|myawsbucket.||Bucket name cannot end with a period (.).|
|my..examplebucket||There can be only one period between labels|
S3 Storage classes
Amazon S3 Standard offers high durability, high availability, low latency, and high performance object storage for general purpose use. 99.99% availability, 99.999999999% durability, stored redundantly across multiple devices in multiple facilities and is designed to sustain the loss of 2 facilities concurrently.
For data that is accessed less frequently,but requires rapid access when needed.Lower fee than S3,but you are charged a retrieval fee.Min Obj Size is 128 Kb
Designed for durability of 99.999999999% of objects
Designed for 99.9% availability over a given year
Lower Price than S3 Standard
Designed for storing less frequently accessed data.
Minimum duration 30 days
Retrieval charges applicable
Designed to provide 99.99%durability and 99.99% availability of objects over a given year.It is most appropriate for derived data that can be easily reproduced, such as image thumbnails.
Glacier–Amazon Glacier is an extremely low-cost storage service that provides durable,secure, and flexible storage for data archiving and online backup.Storage class offers secure,durable,and extremely low-cost cloud storage for data that does not require real-time access,such as archives and long-term backups.
Archives-In Amazon Glacier,data is stored in archives. An archive can contain up to 40 TB of data,and you can have an unlimited number of archives
Vaults– Vaults are containers for archives Each AWS account can have up to1,000 vaults.
- After requesting for data three to five hours later,the Amazon Glacier object is copied to Amazon S3 RRS.
- Amazon Glacier allows you to retrieve up to 5%of the Amazon S3 data stored in Amazon Glacier for free each month.
Availability and Durability chart
|Storage Class||Durability (Designed for)||Availability (Designer For)||Other Considerations|
|STANDARD-IA||99.999999999%||99.9%||There is a retrieval fee associated with STANDARD-IA objects which makes it most suitable for infrequently accessed data.|
|GLACIER||99.999999999%||99.99%(After you restore objects)||GLACIER objects are not available for real-time access.You must first restore archived objects before you can access them.|
S3 Bucket Creation
We can Drag&Drop objects to upload the objects.
After selection of files,we can give access to other users who required permissions.
We can Manage Public Permissions or give permissions for other AWS account users
Here we can select the object Properties,We can select the Object storage class of the object,Encryption methods,Meta data and tags for the object
Then we can review and click on upload option to upload the object into S3 bucket