Рет қаралды 6,295
▬▬▬▬▬▬ 🚀 Chapters ▬▬▬▬▬▬
Part 1 - Intro - • AWS Solution Architect...
Part 2 - AWS SignUp, AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY_ID - • AWS Solution Architect...
Part 3 - IAM Policy | IAM User - • AWS Solution Architect...
Part 4 - Create Custom IAM Role and Policy - • AWS Solution Architect...
Part 5 - IAM Group - • AWS Solution Architect...
Part 6 - AWS MFA(Multi Factor Authentication) - • AWS Solution Architect...
Part 7 - AWS IAM Assume Role - • AWS Solution Architect...
Part 8 - AWS IAM Access Analyzer - • AWS Solution Architect...
Part 9 - AWS Organization - • AWS Solution Architect...
Part 10 - AWS CLI - • AWS Solution Architect...
Part 11 - AWS Config, Credentials file and profiles - • AWS Solution Architect...
Part 12 - Setting Up and Accessing Your First EC2 Instance - • AWS EC2 Essentials: Se...
Part 13 - Setting Up and Accessing Windows EC2 Instance - • AWS EC2 Essentials: Se...
Part 14 - Setup EC2, VPC, Subnet, Route Table, Internet Gateway, NAT Gateway,Jump host - • EC2 Essentials: Setup ...
Part 15 - EC2 User data(Windows, Ubuntu, Amazon linux) - • AWS EC2 User data - Wi...
Part 16 - Security Groups(Inbound and Outbound Rules) - • AWS Security Groups | ...
Part 17 - EC2 Launch Template - • EC2 Launch Template - ...
Part 18 - EC2 Auto scalin - • AWS EC2 Auto Scaling E...
Part 19 - AWS Load Balancer Masterclass: Complete Setup & Demo - • AWS Load Balancer Mast...
Part 20 - EC2 EBS volume - • Ultimate AWS EBS Volum...
Part 21 - EC2 spot instances • Master EC2 Spot Instan...
▬▬▬▬▬▬ 🚀 Membership ▬▬▬▬▬▬
Join this channel to get access to perks:
/ @rahulwagh
▬▬▬▬▬▬ 📖 Video Description: ▬▬▬▬▬▬
EC2 EBS Volume Detailed Guide
Welcome to our detailed tutorial on Amazon EC2 EBS Volumes! In this video, we will cover everything you need to know about EBS volumes, including:
1. Create EBS Volume
◦ Step-by-step guide on how to create an EBS volume in the AWS Management Console.
2. Attaching EBS Volume to EC2
◦ Detailed instructions on how to attach your newly created EBS volume to an EC2 instance.
3. Increasing the EBS Volume
◦ Learn how to increase the size of your EBS volume without any downtime.
4. Creating the Snapshot of EBS Volume
◦ How to create a snapshot of your EBS volume.
◦ Using the snapshot to create a new EBS volume and attaching it to a new EC2 instance.
Volume Types Explained
• gp3: The latest generation of general-purpose SSD, offering predictable performance and lower costs compared to gp2.
• gp2: Balance of price and performance, suitable for most workloads.
• io1: High-performance SSD with consistent IOPS, ideal for databases and mission-critical applications.
• io2: Enhanced durability and performance, suitable for applications that require high durability and performance.
Why Create EBS Volume in the Same Region?
It's crucial to create your EBS volume in the same region as your EC2 instance to ensure low-latency and high-performance access. Cross-region data transfers can lead to increased latency and additional data transfer costs.
Mounting the EBS Volume
Here are the commands you'll need to mount your EBS volume to an EC2 instance:
1. Run the command to show the volumes: lsblk
2. List the disk partition on the system: sudo fdisk -l
3. Check the file system: sudo file -s /dev/nvme1n1
4. If the output is data, then create the file system: sudo mkfs -t xfs /dev/nvme1n1
5. Recheck the file system: sudo file -s /dev/nvme1n1
6. Create a mount point directory for the volume: sudo mkdir /mydata
7. Mount the volume: sudo mount /dev/nvme1n1 /mydata
8. Run df -h to view the data: df -h