Skip to main content

Command Palette

Search for a command to run...

Day 50: Expanding EC2 Instance Storage for Development Needs

100 Days of Cloud (AWS)

Updated
1 min read
Day 50: Expanding EC2 Instance Storage for Development Needs

Welcome to Day 50. Today is the final day of the 100 Days of Cloud (AWS) section. We will learn how to expand EC2 instance storage for development needs. In this lab, the xfusion-ec2 instance is already created and running. You just need to increase this instance’s volume size. After extending the volume size of the EC2 instance, you need to expand the size from 8 GiB to 12 GiB using the growpart and xfs_growfs commands.

sudo lsblk

sudo df -hT

sudo growpart /dev/xvda 1

sudo xfs_growfs -d /

Congratulations you did it. It looks good. This lab was successfully completed without any errors. See you in next articles. If you have any issues please let me know I will be happy to assist you. Stay tuned and learn together. If you find my article useful, please kindly like and share it.

100 Days of Cloud (AWS)

Part 1 of 50

In this series you will learn how to configure and manage cloud resources using AWS. My intention is to provide an explanation and share the answers for 100 Days of Cloud (AWS) from KodeKloud.

Up next

Day 49: Centralized Audit Logging with VPC Peering

100 Days of Cloud (AWS)