dimanche 31 mai 2015

aws ec2 instance size of volume fedora versus ubuntu

I don't understand how the size of the EC2 instance upon creation (by Linux distro) works and it's implication.

I see drive size layout differences between two distributions of servers I created on AWS; I want to understand what is the design and intent. (I am experimenting setting up AWS EC2 instances. My goal is to move processes I run on my local server to AWS.)

My local server runs Fedora; on AWS I created both Ubuntu and Fedora instances.

I think I created the Fedora with a 10 GB instance. The root drive is 2 GB and then four dirs under root are 2 GB. The current available size of / is 1.2 GB (I think I did some updates via yum).

The Ubuntu drive instance was created with 12 GB. The root drive is 8 GB and two dirs under root are 2 GB. The current available size of / is 5.7GB (I think I did some updates with apt-get).

Below is the df -h of each instance.

Is there a practical limitation of the Fedora root being 2 GB? Does it matter? Is there a way to increase it?

Fedora: Filesystem Size Used Avail Use% Mounted on /dev/mapper/atomicos-root 2.0G 796M 1.2G 40% / devtmpfs 2.0G 0 2.0G 0% /dev tmpfs 2.0G 0 2.0G 0% /dev/shm tmpfs 2.0G 260K 2.0G 1% /run tmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup /dev/xvda1 190M 35M 142M 20% /boot tmpfs 396M 0 396M 0% /run/user/1000

Ubuntu: Filesystem Size Used Avail Use% Mounted on /dev/xvda1 7.8G 1.7G 5.7G 23% / none 4.0K 0 4.0K 0% /sys/fs/cgroup udev 1.9G 12K 1.9G 1% /dev tmpfs 377M 332K 377M 1% /run none 5.0M 0 5.0M 0% /run/lock none 1.9G 0 1.9G 0% /run/shm none 100M 0 100M 0% /run/user




Aucun commentaire:

Enregistrer un commentaire