Approximately how much would it cost to make an AMI image from a EC2 Micro server?

31,959

Solution 1

Very close to nothing.

There is no cost to make an AMI itself, but if you're making it from a running instance you will pay the fees for running a micro instance (which is about $0.02/hr, depending on availability region - see the pricing details) and also fees for using the EBS root for however long you use it.

When storing the AMI, you only pay for the S3 storage taken from the snapshot. The root FS must be an EBS volume (for all micro instances), but this is stored as an EBS snapshot (which are stored in S3, rather than EBS) so you pay S3 fees to store it. Note that EBS charges per allocated GB, while S3 charges per used GB; with the way they do things, a 10G EBS volume that only has 500MB on it will only take up approx. 500MB of S3 storage.

Further to that, Micro instances are included in Amazon's free tier at the moment, so all of the above will cost you nothing (with limits - see the pricing link above).

Solution 2

Ami image is 0.05$/MB not 0.02$/MB, is the ebs snapshot price. An ami image or a snapshot is reducing the storage price in half from gp2 to snapshot. If it's gp3 or magnetic not so much.

See the today prices here : https://aws.amazon.com/ebs/pricing/

Share:
31,959

Related videos on Youtube

Alex
Author by

Alex

Updated on September 17, 2022

Comments

  • Alex
    Alex over 1 year

    If I do this 10 times a month, how much would that cost me?

  • Bruno Bronosky
    Bruno Bronosky over 11 years
    I think you meant: Note that EBS charges per allocated GB, while S3 charges per used GB