Storage and Databases Flashcards
what is not recommended when it comes to store in EC2 instances
Data storage is not recommended in EC2 instances. Block-level storage volumes behaves like physical hard drives
How data is stored in EC2 instance
INSTANT STORe - provides temporary block-level storage for amszon EC2 instance.
How does instance store behave
A disk storage physically attached to the host computer of Ec2 instance and therefore has the same lifespan as an instance. If EC2 instance is terminated, we lose all data
What is the solution provided by Amazon for storage
Amazon Elastic Block Store (Amazon EBS) - provides block level storage volumes for EC2 instances. Data available even if EC2 stops
What is needed for creating Amazon EBS
To create an EBS volume, you need config (such as types and volumes) and provision it.
What is important for EBS
to back-up the data as it needs data for persisting. We can create incremental backups using snapshots
what is the service that provides Object level storage?
Amazon Simple Storage Service (Amazon S3)
What does object storage contains
Data - the actual data like images/videos/etc
Metadata - information about the data, sized, etc..,
Key- Unique Id
Where does Amz S3 stores data
in Buckets
what is the maximum storage space
Unlimited
What is the maximum size for an Object
5 TB
How does EBS snapshot works?
It works as an incremental backup. That is, when the first backup happens all datas are copies. During subsequent backups only the changed/updated data are backed up
Amazon S3
Amazon Simple Storage Service
What factors to consider when selecting Amazon S3 classes?
- How often you need to retrieve the data
- How available you want the data to be
How many S3 classes categories?
8 types
s3 standard
- Designed for frequently accessed data
- stores data in min of 3 avail. zones
- High cost compared to others and needed for dynamic contents, analysis etc