aws exam cram Flashcards
(159 cards)
S3 standard
“Multi-AZ, single region
- durability: 99.999999999% (eleven 9s)
- availability: 99.9%”
S3 object storage classes
"- standard - intelligent tiering - infrequent access - one-zone infrequent access - glacier - glacier deep archive "
S3 standard IA
“Good for infrequently accessed data
Multi-AZ, single region
- durability: 99.999999999% (eleven 9s)
- availability: 99.9%
lower cost of storage, but has an
additional cost of $0.01/GB retrieved”
Glacier
"Cold storage Eleven 9s of durability Much less expensive than hot storage Retrieval time varies based on retrieval options: - expedited: < 5 minutes - standard: 3-5 hours - bulk: 5-12 hours"
S3 one-zone IA
“Good for infrequently accessed data when you can trade off cost for reduced availability
Single AZ, so only 99.5% available
Less expensive than S3 IA; designed for eleven 9s of durability within a single AZ (if AZ is destroyed, data will be lost)”
S3 lifecycle policies
“Can transition objects from standard to IA to Glacier after a certain period (restrictions apply – for instance, an object can’t be transitioned to glacier less than 30 days after it is transitioned to IA)
Transitions follow a waterfall model: standard -> IA -> intelligent tiering -> one-zone IA -> glacier -> glacier deep archive
Costs are associated with transitions to glacier.
Can delete objects after a certain number of days; different tiers have requirements for how long objects must be stored; early deletion can result in charges for the entire minimum period”
Glacier deep archive
"Cold storage Eleven 9s of durability Less expensive than glacier Retrieval time varies based on retrieval options: - standard: 12 hours - bulk: 48 hours"
S3 versioning
“With versioning enabled on a bucket, overwriting an object generates a version ID for the object; old versions are preserved.
Deleting an object on a version-enabled bucket creates a delete marker; old versions are still preserved.
Can retrieve old versions of objects using their IDs.
Must use a lifecycle policy to prevent infinite proliferation of objects.”
S3 lifecycle policies - minimum storage durations
”- Standard: none
- Standard IA: 30 days
- One-zone IA: 30 days
- Intelligent tiering: 30 days
- Glacier: 90 days
- Glacier Deep Archive: 180 days”
S3 transfer acceleration
“Use CloudFront to speed up transfer to/from S3 (there is a cost associated with this)
Transfer Acceleration Speed Comparison tool can tell you how much speedup to expect.”
S3 object lock
“Available for all storage classes
Retention policies:
- governance: no one can delete during retention period unless they have special privileges
- compliance: no one can delete during retention period, not even root account
Legal hold: once put on an object, the object can’t be deleted until the hold is removed”
S3 static websites
”- enable web hosting
- set permissions
- create index document
optionally:
- configure redirects
- custom error document
- enable web traffic logging
Really should use CloudFront in front of the site”
S3 events
“Can be routed to:
- SNS topic
- SQS queue
- Lambda function”
EFS storage classes
”- Standard
- Infrequent access (reduced cost, higher latency, charge for R/W ops)
“
S3 security best practices
”- block public access
- avoid policies with wilcard identities or wildcard actions
- apps should use IAM roles to access S3 buckets (don’t include credentials in apps)
- MFA delete - requires MFA to delete a bucket to prevent accidental deletions
- aws:SecureTransport - requires all connections to use TLS when accessing bucket contents
- use VPC endpoints to keep traffic to/from S3 inside your VPC”
EFS throughput
”- bursting: volume builds up crediets based on the filesystem size; credits allow bursting for limited time periods
- provisioned: good for high I/O small filesystems (so you don’t have to overprovision the storage space)”
EFS performance mode
”- general purpose (7K iops)
- max I/O (more throughput and iops, but more latency)”
EFS encryption
“Encryption at rest supported via AWS-managed keys
EFS supports encryption of data in transit; use the -o tls mount option”
Mounting EFS
”- use /etc/fstab inside of linux VMs
- use the EFS mount helper, which simplifies the process by automatically editing /etc/fstab”
AWS Data Sync
“Uses a super-efficient, purpose-built data transfer protocol that can run 10 times as fast as open source data transfer.
Can sync to S3 or EFS across the Internet or via Direct Connect, and can also sync from AWS to data stored on-premises.
Can be used for DR replication
Run an agent in your datacenter to perform the data transfer”
Importing data to AWS
”- Snowball
- Snowmobile
- Kinesis Data Firehose
- S3 Transfer Acceleration
- AWS Storage Gateway
- AWS DataSync”
Snowmobile
100PB of storage capacity housed in a 45-foot long High Cube shipping container that measures 8 foot wide, 9.6 foot tall and has a curb weight of approximately 68,000 pounds. The ruggedized shipping container is tamper-resistant, water-resistant, temperature controlled, and GPS-tracked.
Snowball
“Physical device shipped to your location; comes in 50TB and 80TB sizes (slightly less usable)
Snowball variants also exist for edge storage and edge computing, combining storage and vCPUs.”
Disaster recovery strategies
”- Backup/restore
- Pilot light
- Warm Standby
- Multisite”