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年前631ビュー
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年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ