AWS EC2 free tier-storage and CPU upgrade

0

Hi

I signed in for EC2 free instance. I set 100GB as the storage now I see when I need to upload some big size data like 1.4 GB the app stores it in .tmp folder and says there is not space left on server.

how can I increase the storage and CPU on this instance ?

Also when I check on server using df -H it still says /dev/root as 8 GB

Thanks

已提問 1 年前檢視次數 632 次
2 個答案
0

Not sure if you have attached more volume or using the

Instances that use Amazon EBS for the root device automatically have an Amazon EBS volume attached. When you launch an Amazon EBS-backed instance, we create an Amazon EBS volume for each Amazon EBS snapshot referenced by the AMI you use. You can optionally use other Amazon EBS volumes or instance store volumes, depending on the instance type. After you attach an Amazon EBS volume to your instance, it is exposed as a block device. You can format the volume with any file system and then mount it. After you make the EBS volume available for use, you can access it in the same ways that you access any other volume. Any data written to this file system is written to the EBS volume and is transparent to applications using the device.

For volume modification please refer https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/modify-volume-requirements.html which states requirements for root and non-root volume

Changing the instance type of your EC2 Linux instance allows you to change the following:

  • Number of CPU cores
  • Amount of RAM
  • Amount of assigned instance store space
  • Amazon Elastic Block Store (Amazon EBS) optimization

Reference :

profile pictureAWS
專家
已回答 1 年前
0

Please keep in mind, for Free Tier instance size, it's only for the default volume size. If you've increased the volume it's no longer going to be in the free tier for the storage backing it.

If you increased the storage after creating the instance you will need to go into Linux and extend the volume.

https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/recognize-expanded-volume-linux.html

profile pictureAWS
專家
Rob_H
已回答 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南