What are the Storage Classes?
Usage of Data:
Data is of different types and it has different use cases.
- Some data may need to be accessed and used very frequently, say, in few days or hours after storing.
- Some may not be accessed for a long time, say, for months, or few for many years. Eg – Sales data that are > 1 year old
- Some are just stored as an archive. Eg – Database backups
Similarly, there are different aspects to a storage service such as performance, availability, durability, frequently or infrequently accessed data and long-term data storage
Depending on the access frequency of the data, S3 provides six different storage classes viz., Standard, Standard-IA, One Zone-IA, Intelligent-Tiering, Glacier and Glacier Deep Archive. Thus, allowing users not to pay for the features they don’t use. User can choose the storage class depending on the kind of use case.
Data and its Management
Any organization or business now-a-days generates lots of data and finds heavy usage in running the business. With digital disruption, every organization data is getting piled up rapidly. So, how can these enormous amounts of data be handled. There are two ways of storing them:
- Local Storage
- Cloud Storage
Creating and maintaining a local Storage involves a huge investment in the form of hardware, software and human effort.
Often, business is provided with an alternative to store its data in Cloud Storage. There are many third party cloud service providers that can be leveraged.
Cloud Storage is a method of storing data in various Data centres situated at various geographical locations around the globe. They are owned and maintained by hosting companies. Responsibility of maintaining and securing the data lies with the hosting organizations.
Some of the cloud storage providers are:
- Amazon Web Services S3
- Azure cloud storage by Microsoft
- Google Storage
- IBM Cloud Storage
- TCS Cloud Storage
What is Bucket Policy
A bucket policy is a resource-based AWS Identity and Access Management (IAM) policy. It is used to grant or restrict users to access the bucket having a policy, You need some basic knowledge on policies to create a policy and know how it works.
The policy applied to bucket is applied to all the objects in it.
A Bucket policy is defined using a valid JSON which can be written on own if you have a good knowledge on Policies or you could use the policy generator service for generation of JSON.
Cloud Storage vs Local Storage
Some of the main advantages of cloud storage over local storage are:
- Cost-effectiveness, availability, and maintenance, as cloud providers take care of all maintainance
- Scalability, as upscaling or downscaling the storage is a few clicks away and can be automated
- Security, as data remains safe with disaster-recovery mechanisms in place
- Accessibility, allowing users to access data instantly any where any time.
What is Amazon S3?
Amazon simple storage service well known as Amazon S3 is an object storage service launched in 2006 by Amazon. To know more about S3 take a look:
Amazon S3 Data consistency model
Amazon S3 follows client centric consistency model, this is emphasized on how data is seen by the clients after it is created or updated or deleted.
Amazon S3 provides read-after-write consistency for PUTS of new objects into an S3 bucket i.e., A newly inserted data item will be immediately visible to clients. with a limitation that if you make a GET or HEAD request to an object before creating it, Amazon S3 provides eventual consistency i.e., If no new updates are made to a particular piece of data, eventually all reads to that item will return the last updated value.
S3 offers eventual consistency for overwrite PUTS and DELETES in all regions.
This read-after-write consistency allows you to build distributed systems with less latency
Amazon S3 provide eventual consistency in US standard region for all requests.
Advantages of AWS S3
Amazon S3 is the leading cloud storage platform in the market for the following reasons:
S3 storage’s durability, availability and scalability are unmatched.
Security is one major advantage of S3 supporting 3 different forms of encryption that can be applied at object level.
Amazon has good Content Distribution Network(CDN). With Amazon CloudFront, S3 can be configured to cache the data across any number of Amazon’s global data centres.
S3 is very much useful in hosting static websites.
Amazon S3 combined with Amazon’s Quicksight UI forms a powerful Big Data Tool.
One of the major benefits of Amazon S3 is the ability to implement version controlled backups of your data within S3 buckets.
Competitive pricing is one major aspect giving edge to S3 as a cloud storage.
Amazon S3 can be accessed from your Amazon VPC using VPC endpoints. These are easy to configure and provide reliable connectivity to Amazon S3 without requiring an internet gateway instance.
AWS S3 Pricing
A new customer can get a free usage tier for one year which includes
5 GB of Amazon S3 storage in the Standard Storage class
20,000 Get Requests
2,000 Put Requests
15 GB of data transfer out each month for one year.
The Storage prices vary with region and it is different for different storage classes with Standard storage having high price and Glacier with lowest per gb price.
Pricing also depends on the data stored or requests made, transfers into and out of bucket, and also for transfer acceleration, cross region replication.
You will see more on the storage classes in the upcoming topics.
To find the various pricing tiers, follow S3 Pricing.
Amazon Web Services AWS MCQ Questions and Answers that may help you to crack your next interview. Read all the questions below and let us know if there is anything you would like to add.
Q1. Developers and organizations all around the world leverage ______ extensively.
Q2. Cloud services that are built and used by a single organization is known as _______.
Q3. In Amazon S3, what does RRS stand for?
(1)Reduced Repeated Storage
(2)Reduced Refined Storage
(3)Repeated Redundancy Storage
(4)Reduced Redundancy Storage
Answer:-(4)Reduced Redundancy Storage
Q4. EC2 stands for _________.
(1)Electronic Compute Cloud
(2)Elastic Compute Cloud
(3)Elastic Cloud Computer
(4)Electronic Cloud Computer
Answer:-(2)Elastic Compute Cloud
Q5. Which of the following is not true about Elastic Load Balancing?
(1)achieves greater fault tolerance
(2)detects unhealthy instances and reroutes
(3)can be enabled only in a single availability zone
(4)automatically distributes traffic
Answer:-(3)can be enabled only in a single availability zone
Q6. Autoscaling is enabled through ____________.
(4)Virtual Private Cloud
Q7. Which of the following service is used for fast and reliable application updates and bug fixes?
Q8. How can you integrate IAM with data centers security?
(1)None of the options
(4)AWS Direct Connect
Q9. What is the maximum size of the Amazon S3 bucket?
Q10. What are the uses of Amazon Glacier?
(1)access infrequent data and archive data
(2)auto scaling and Load Balancing
(3)store frequently access data
Answer:-(1)access infrequent data and archive data
Q11. Which of the following is not true about Amazon Glacier?
(1)Optimized for data that is infrequently accessed
(2)Secure and durable storage for data archiving and backup
(3)Services enables rapid disaster recovery
(4)Optimized for data for which retrieval times of several hours are suitable
Answer:-(3)Services enables rapid disaster recovery
Q12. Amazon S3 is a _______________.
(2)Key-Based object store
(4)Content Delivery Network
Answer:-(2)Key-Based object store
Q13. Which of the following services is free?
Q14. Charges for code commit are based on the active users.
Q15. Amazon CloudFormation is a ___________.
(2)Deployment and management service
(3)Content delivery service
Answer:-(2)Deployment and management service
Q16. Which service in AWS allows you to create and delete stacks of AWS resources which are defined in templates?
Q17. Route 53 can be used to route users to infrastructure outside of AWS.
Q18. What does ARN stand for?
(1)Amazon Risk free Network
(2)Amazon Resource Name
(3)Amazon Reserved Network
(4)Amazon Resource Network
Answer:-(2)Amazon Resource Name
Q19. Which of these services are used to distribute content to end users using a global network of edge locations?
(2)Virtual Private Cloud
Q20. What does S3 stand for in Amazon S3?
(1)Simple Storage Service
(2)Single Storage Service
(3)Super Storage Service
(4)Storage Simple Service
Answer:-(1)Simple Storage Service