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

asked a year ago678 views
2 Answers
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
EXPERT
answered a year ago
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
EXPERT
Rob_H
answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions