EBS and ECS Flashcards
What are the EBS SSD volume types?
General-purpose SSD
- gp2
Provisioned IOPS SSD
- gp3
- io1
- io2
What are the EBS HDD volume types?
- st1: Throughput Optimised HDD
- sc1: Cold HDD
EBS SSD gp2 characteristics
General-purpose SSD
- Suitable for boot disks and general applications
- Up to 16.000 IOPS per volume
- Up to 99.9% durability
EBS SSD gp3 characteristics
Provisioned IOPS SSD
- Suitable for high-performance applications
- Predictable 3.000 IOPS baseline performance and 125 MiB/s regardless of volume size
- Up to 99.9% durability
EBS SSD io1 characteristics
Provisioned IOPS SSD
- Suitable for OLTP and latency-sensitive applications
- 50 IOPS/GiB
- Up to 64,000 IOPS per volume
- High performance and most expensive
- Up to 99.9% durability
EBS SSD io2 characteristics
Provisioned IOPS SSD
- Suitable for OLTP and latency-sensitive applications
- 500 IOPS/GiB
- Up to 64,000 IOPS per volume
- Up to 99.999% durability
- Latest generation Provisioned IOPS volume
EBS HDD st1 characteristics
Throughput Optimised HDD
- Suitable for big data, DWH, ETL
- Max throughput is 500 MB/s per volume
- Can’t be a boot volume
- Up to 99.9% durability
EBS HDD sc1 characteristics
Cold HDD
- Max throughput is 250 MB/s per volume
- Less frequently accessed data
- Can’t be a boot volume
- Lowest cost
- Up to 99.9% durability
Volumes exist on … and Snapshots exist on …
EBS and S3
Are Snapshots incremental?
Yes. Only the blocks that have changed since your last Snapshot are moved to S3. The first Snapshot may take some time to create.
How can I take a consistent snapshot?
Stop the instance and detach the volume
Can I share snapshots between accounts and regions?
You can share snapshots between AWS accounts as well as between regions, but first, you need to copy that snapshot to the target region.
Can I resize or change an EBS volume type on the fly?
Yes, you can resize EBS volumes on the fly as well as change the volume type
Instance Store volumes are also known as…
Ephemeral Storage
What happens with the data if you stop an Instance Store instance or the underlying host fails?
The data in the Instance Store volumes will be lost
What happens with the data if you stop an EBS-backed instance?
EBS-backed instances can be stopped. You will not lose the data in this instance it is stopped
What happens with the data if you reboot an EBS-backed or Instance Store instance?
You can reboot both EBS and instance store volumes and you will not lose your data
What happens with boot volumes in EBS-backed or Instance Store instances on termination?
By default, both boot volumes will be deleted on termination. However, with EBS volumes, you can tell AWS to keep the root device volume.
Are snapshots of encrypted volumes encrypted?
Yes
Are volumes created from encrypted snapshots encrypted?
Yes
Is the data in flight moving between the instance and the volume encrypted?
Yes
How to encrypt a root device?
- Create a snapshot of the unencrypted root device volume
- Create a copy of the snapshot and select the encrypt option
- Create an AMI from the encrypted snapshot
- Use that AMI to launch new encrypted instances
EC2 Hibernation
- Preserves the in-memory RAM on persistent storage (EBS)
- Much faster to boot up because you don’t need to reload the OS
- Instance RAM must be less than 150MB
- Instance families included: C3, C4, C5, M3, M4…
- Available for Windows, Amazon Linux AMI and ubuntu
- Instances can’t be hibernated for more than 60 days
- Available for On-Demand instances and Reserved instances
What protocol does EFS support?
NFS v4