---
title: "Comment by Nitin Kalra on \"Increase The Disk Size of EC2 Ubuntu Instance\" | Hashnode"
description: "Do you really need to resize manually? I read that cloud_init script automatically does that for you. https://kichik.com/2020/09/03/how-does-aws-ebs-expand-volu"
url: "https://hashnode.com/posts/increase-the-disk-size-of-ec2-ubuntu-instance/60cf22a9c6377540dd23958b/comment/60cf588407db7a50332bf761"
---

[Discussion](https://hashnode.com/posts/increase-the-disk-size-of-ec2-ubuntu-instance/60cf22a9c6377540dd23958b)

Comment [Increase The Disk Size of EC2 Ubuntu Instance](https://hashnode.com/posts/increase-the-disk-size-of-ec2-ubuntu-instance/60cf22a9c6377540dd23958b)

[Nitin Kalra](https://hashnode.com/@nkalra0123)

[Jun 20, 2021](https://hashnode.com/posts/increase-the-disk-size-of-ec2-ubuntu-instance/60cf22a9c6377540dd23958b/comment/60cf588407db7a50332bf761)

Do you really need to resize manually?

I read that cloud\_init script automatically does that for you. [kichik.com/2020/09/03/how-does-aws-ebs-expand-vol…](https://kichik.com/2020/09/03/how-does-aws-ebs-expand-volumes/)

[Niccolo Lampa](https://hashnode.com/@thedatalife)

[Jun 20, 2021](https://hashnode.com/posts/increase-the-disk-size-of-ec2-ubuntu-instance/60cf22a9c6377540dd23958b/comment/60cf588407db7a50332bf761#reply-60cf83aed213af500c5d1cd4)

I would suggest you use steps consistent with AWS official documentation.

Besides you won't do this often and with only few steps, automating the process seems unnecessary.

But up to you if you want to risk the valuable data in your live deploy server by trusting an automatic script found in the internet, just to save on some work.

Easy to just execute any script for a development server. It is different when you are working with an actual live deploy server.

I would suggest that you go with the safer and "longer" approach.

There is so much at stake that taking a shortcut to save a few minutes and making a mistake would mean more work in the long run.

[Nitin Kalra](https://hashnode.com/@nkalra0123)

[Jun 21, 2021](https://hashnode.com/posts/increase-the-disk-size-of-ec2-ubuntu-instance/60cf22a9c6377540dd23958b/comment/60cf588407db7a50332bf761#reply-60d075d8d213af500c5d30de)

[Niccolo Lampa](https://hashnode.com/@thedatalife)

[cloudinit.readthedocs.io/en/latest](https://cloudinit.readthedocs.io/en/latest/)

this script is already present in AMI

/usr/bin/cloud-init
