Storage Flashcards
What is s3?
Simple, storage, service. Store and retrieve any amount of data from anywhere on the web. A safe place to store your files. Object-based storage.
What is a universal name-space?
names must be unique globally, because it is using a web URL.
What code do you receive back if a file upload to s3 is successful?
HTTP 200 code
What is the key when referring to s3?
Simply the name of the file
What is the value when referring to s3 key?
The sequence of bytes that is the data
What is versioning in s3?
Versioning is a means of keeping multiple variants of an object in the same bucket. You can use versioning to preserve, retrieve, and restore every version of every object stored in your Amazon S3 bucket.
What does Read after Writes consistency for PUTS of new objects mean?
As soon as the file is uploaded it is available for reading immediately.
What does eventual consistency for overwrite PUTS and DELETES mean?
This means that after a file is updated, there is an eventual consistency for availability. Roughly, 1 second.
What are some s3 features that add value to the service?
Hint: TEL VMS
- tiered storage
- encryption
- lifecycle management
- versioning
- MFA for deletes
- secure data using access control lists / bucket policies
What is s3 standard?
99.9999999% availability. Stored redundantly across multiple devices in multiple facilities. Designed to sustain the loss of 2 facilities concurrently.
What is s3 IA?
IA - infrequently accessed.
You don’t use the data regularly. Lower fee, but charges retrieval fee.
What is s3 one zone IA?
When you want a lower access fee and don’t require multiple availability zone tiering.
What is s3 intelligent tiering?
designed to optimize costs by using machine learning to figure out which files will going into which type of tiering.
What is glacier?
Glacier is for data archiving. Store any amount of data, and it is super cheap.
What is glacier deep archive?
For data that is rarely needed quickly. For slower access to data, usually in the magnitude of hours.
What are features that you are charged for in s3?
- Storage
- Requests
- Storage management pricing
- Data Transfer pricing
- Transfer acceleration
- Cross-region replication
What is cross-region replication?
As soon as you upload into a bucket, the bucket that is in a different region will have the file in there as well.
What is RRS in s3?
S3 one zone IA but an older version of it. It is getting phased it out.
What make up the costs of s3?
Storage
Requests and Data Retrievals
Data Transfer
Management & Replication
What is encryption in transit, namely in domain addresses? And what type is used in s3?
https. ssl/tls
What is encryption at rest? What are the various options here?
Two different ways:
server side - amzn encrypts for you
- s3 managed keys - sse s3 - amzn provides the keys, you don’t have worry about it at all
- aws key management service - sse-kms - managed keys where you work together to create the keys
- server side encryption with customer provided keys - sse - c - where you provide amazon with the keys to encrypt the data
client side - you encrypt and upload to s3
How can you turn off versioning for a bucket with versioning currently turned on?
You can’t.
Once enabled, versioning can not disabled. In order to turn it off for a bucket, you must delete the bucket and create a new one.
What happens to the properties of the file when a new version is uploaded?
Inherits the properties of the bucket.
What happens to an object when you delete it in a versioned bucket?
A delete marker is placed on that version.
How can you delete an object in a versioned bucket?
You must delete the file while the versions are on show.
Overall all qualities of the versioning of an s3 bucket? List 5
- Stores all versions of an object (including all writes and even if you delete an object
- Great backup tool
- Once enabled, Versioning cannot be disabled, only suspended
- Integrates with LifeCycle rules
- Versioning MFA Delete Capability can be used to prove an additional layer of security
What is LifeCycle? List 2.
- Allows for the moving of objects to different tiers of storage
- Can be used in conjunction with Versioning
- Can be applied to current versions and previous versions as well
What is AWS Organizations?
Account management service that enables you to consolidate multiple AWS accounts into an organization that you create and centrally manage
List 4 best practices when using AWS Organizations?
- Always enable MFA on root account
- Always use a strong and complex password on root account
- Paying account should be used for billing services only. Do not deploy resources into the paying account.
- Enable/Disable aws services using service control processes (SCP) either on OU or on individual accounts
What are 3 ways to share s3 across accounts?
- Using bucket policies & IAM (applies across the entire bucket) - programmatic access only
- Using bucket ACLs & IAM (individual objects) - programmatic access only
- Cross-account IAM roles - programmatic AND console access
True or False. Cross-region replication of a bucket does not need versioning enabled.
False. Cross-region replication requires bucket versioning.
Does turning on cross region replication provide access to files that are already in the bucket being replicated?
No, it is only for files moving forward.
True or False. Delete markers are replicated across buckets as this is the point of the replication bucket. As are deleting the file.
False. Delete markers are intentionally not replicated across. Nor is the deletion of a file.
What is s3 transfer acceleration?
A service that utilizes the CloudFront edge network to accelerate your uploads to s3. Instead of uploading directly to S3 bucket, you use a distinct URL to upload to an edge location which will then transfer that file to s3.
What is CloudFront?
A content delivery network (CDN) that is a system of distributed servers that deliver webpages and other web content to a user based on the geographic locations of the user, the origin of the webpage, and a content delivery server.
What are the two different types of CloudFront distributions?
- Web distribution
- RTMP - used for media streaming
True or False. Edge locations are read only.
False. You can write to them as well.
How long are objects cached for when using CloudFront? Can you clear cached objects? Any strings attached to doing that?
They are cached for the life of TTL (time to live). You can clear cached objects but you will be charged.
Can you filter data from being pushed to an edge location?
Yes, by using the invalidate data tab. This comes at an extra charge.
How do you access the CloudFront location?
Use the URL given + / + key name.