dev-resources.site
for different kinds of informations.
[SAA] AWS EBS, EFS and EC2 insntace storage
Published at
1/24/2024
Categories
ebs
efs
ec2instancestore
Author
jacktt
Main Article
Author
6 person written this
jacktt
open
EBS (a.k.a. Elastic Block Store)
- They are bound to a specific AZ (in specific region)
- You can attach an EBS Volume to your EC2 instances while they run
- It allows your instances to persist data, even after their termination
- They can only be mounted to one instance at a time (at the CCP level)
- An EC2 instance can attach more than one EBS
- It's a network drive (i.e. not a physical drive)
- It uses the network to communicate the instance, which means there might be a bit of latency
- It can be detached from an EC2 instance and attached to another one quickly
- It's locked to an Availability Zone
- To move a volume across, you first need to snapshot it
- Have a specified capacity (size in GBs and IOPS)
- You get billed for all provisioned capacity
- You can increase the capacity of the drive over time
- Types
- gp2/gp3 (SSD): General purpose SSD that balances price and performance for a wide variety of workloads
- io 1/io 2 (SSD): Highest-performance SSD for mission-critical low-latency or high-throughput workloads
- st I (HDD): Low cost HDD volume designed for frequently accessed, throughput-intensive workloads
- sc I (HDD): Lowest cost HDD volume designed for less frequently accessed workloads
- Only gp2/gp3/io 1/io 2 can be used as boot volumes
- Amazon EBS Multi-Attach enables you to attach a single Provisioned IOPS SSD (io1 or io2) volume to multiple instances that are in the same Availability Zone
- Multi-Attach enabled volumes can be attached to up to 16 Linux instances built on the Nitro System that are in the same Availability Zone.
- The maximum number of Amazon EBS volumes that you can attach to an instance depends on the instance type and instance size
- Multi-Attach for io1 volumes is available in the following Regions only: US East (N. Virginia), US West (Oregon), and Asia Pacific (Seoul)
- Multi-Attach for io2 is available in all Regions that support io2
- By default, the Root volume type will be deleted as its "Delete On Termination" attribute checked by default. Any other EBS volume types will not be deleted as its "Delete On Termination" attribute disabled by default.
- To encrypt an unencrypted EBS volume:
- Create an EBS snapshot of your EBS volume
- Copy the snapshot and tick the option to encrypt the copied snapshot
- Then, use the encrypted snapshot to create a new EBS volume
- With Elastic Volumes, you can dynamically increase the size, increase or decrease the performance, and change the volume type of your Amazon EBS volumes without detaching them. You can not scale down after increasing volume size.
- All current volume types support Elastic Volume
EFS
- Can be attached up-to 100 EC2 instances across AZ (not regions)
- Scales automatically, pay-per-use
EC2 instance store
- If you need a high-performance hardware disk that does not require persistence, you should use EC2 Instance Store instead of EBS
- Note:
- Instance store volumes are attached only at instance launch. You can't attach instance store volumes after launch. You can’t detach an instance store volume from one instance and attach it to a different instance.
- An instance store volume exists only during the lifetime of the instance to which it is attached
- The data on an instance store volume persists even if the instance is rebooted. However, the data does not persist if the instance is stopped, hibernated, or terminated
- Instance store is ideal for temporary storage of information that changes frequently, such as buffers, caches, scratch data, and other temporary content
- It can also be used to store temporary data that you replicate across a fleet of instances, such as a load-balanced pool of web servers
efs Article's
30 articles in total
EC2 instances with pre-configured EFS (elastic file system ) using Terraform modules
read article
EFS for Centralized Shared Storage
read article
Installing Python Dependencies on AWS Lambda Using EFS
read article
Tip: Choosing EFS Over S3 for File Storage in AWS
read article
AWS Storage - Part 2: EFS and FSx
read article
Storage options for EKS: Comparing Amazon EFS, EBS, S3 and FSx for ONTAP
read article
[SAA-C03: Part 4] - Unlocking EC2 Storage: Mastering EBS, AMIs, and Beyond for Optimal Performance
read article
Elastic File Service
read article
Eclipse Che on AWS with EFS
read article
Eclipse Che on AWS with EFS
read article
30 days of AWS - Part 4: AWS Storage
read article
Optimizing Oracle Database Migration to Amazon RDS with EFS Integration
read article
Mount Up! A Step-by-Step Guide to Creating and Using Amazon EFS on Ubuntu
read article
Outgrowing Your File System? Meet AWS EFS
read article
Getting Started with AWS and Terraform: Multi-Attaching Elastic File System (EFS) Volumes to EC2 instances using Terraform
read article
Utilizando EFS para persistĂŞncia de arquivos do container ECS/Fargate
read article
[SAA] AWS EBS, EFS and EC2 insntace storage
currently reading
How to extend an EBS volume in AWS and then grow EFS Filesystem
read article
Amazon FSx: Empowering Your File Storage in the Cloud
read article
How to construct ECS service with EFS volume using CDK
read article
Create and mount an Amazon EFS file system (Amazon EFS) to an Amazon Elastic Compute Cloud (Amazon EC2) instance
read article
AWS EFS Elastic vs Burstable throughput (benchmark)
read article
AWS - Amazon File Cache
read article
Amazon Elastic File System
read article
EFS - Elastic File System
read article
How to access EFS folders from the Windows File Explorer using WSL2
read article
How to Solve AWS EFS “Operation Not Permitted” Errors in EKS
read article
Delete Old Backup/Logfiles/Temp files from EFS using Lambda, PowerShell & Event Bridge
read article
Introduction to AWS EFS
read article
AWS EFS (Elastic File Storage)
read article
Featured ones: