Storage Flashcards
Can EBS Volume mount across AZ’s?
NO
EBS must be in same AZ as the EC2
What happens to EBS ROOT and DATA volumes when you terminate the EC2 instance ?
ROOT will be deleted
DATA will not be deleted.
Which EBS volumes can be used as BOOT vol when you create EC2?
gp2, gp3, io1, io2, and Magnetic (Standard).
Can you attatch the EBS volume to more than one EC2?
Yes if using EBS MULTI-ATTATCH
Best Storage for high IOPS
Does ALB provide a static IP4?
No.
Only Network Load Balancer provides both static DNS name and static IP. While, Application Load Balancer provides a static DNS name but it does NOT provide a static IP. The reason being that AWS wants your Elastic Load Balancer to be accessible using a static endpoint, even if the underlying infrastructure that AWS manages changes.
What size should you use multi part upload in s3?
> 100MB recomended
> 5GB MUST USE
An S3 bucket gives write access to all users via bucket policy but you want one user to not have write access. how do you achieve that?
add an explicit DENY on PutObject in the users IAM Policy. This will take precedence over bucket policy
You want the content of an S3 bucket to be fully available in different AWS Regions. That will help your team perform data analysis at the lowest latency and cost possible. What S3 feature should you use?
S3 Replication
S3 Storage Classes
Glazier Instant Retrieval. For backups, but need instant retrieval. Min storage 90 days.
Glazier Flexible Retrieval. 3 retrieve modes. Expedited (1-5 min). Std (3-5hr). Bulk (5-12hr)
Glazier Deep Archive - Cheapest. 2 modes. Std (12 hrs). Bulk (48hrs).. Min store 180 days.
Inteligent Tiering. Small monthly monitor fee. Auto move data between tiers. No retrieve charges
Standard - General Purpose: 99.99% available. For frequent access data. Low latency.
Standard - Infrequent Access, For less frequent access.cheaper. Charge on retrieval. 99.9%
One Zone - Inffrequent Acccess - Cheapest. 99.95% available.
What are the s3 Glazier Flexible Retrieval modes?
Expedited (1-5 min).
Std (3-5hr).
Bulk (5-12hr)
What are the s3 Glazier Deep Archive Retrieval modes?
2 modes. Std (12 hrs). Bulk (48hrs).. Min store 180 days.
Which S3 storage class would you use for data that’s accessed infrequently
Standard IA
Which S3 storage class would you use for data that you don’t need fast access ?
Glacier or Glacier Deep Archive
How do you get recomendations on when to transition objects to which storage class?
AWS S3 Analytics. Enabling this prodcues a daily CSV report but can take up to 24-48 hours to see results.
Recomended for Standard and Standard IA
Doesjt work for OneZone IA or Glazier
What destinations can S3 push notifications to ?
Lambda/
SQS/
SNS/
EventBridge -> ALL events
How many PUT and GETs per second can S3 do by default.
3500 PUT/DELETE
5500 READ/HEAD
PER SECOND PER BUCKET PREFIX.
How to speed up S3 transfers cross REGION.
S3 Transfer Acceleration
Uses Edge Locations