forem / selfhost

Selfhost your Forem Community on your own infrastructure 🎉
https://www.forem.com/get-started/
GNU Affero General Public License v3.0
1.44k stars 172 forks source link

For AWS, default the EBS from 100 GB to 30GB #21

Closed omenking closed 3 years ago

omenking commented 3 years ago

Its default is 100 GB and this means snapshots will take a long time when creating AMIs. EBS snapshots are a common hidden cost that can add up quickly on AWS

  vars:
    fcos_arch: x86_64
    fcos_platform: aws
    fcos_format: vmdk.xz
    fcos_stream: stable
    fcos_aws_region: us-east-1
    fcos_aws_size: t3a.small
    fcos_aws_ebs_size: 100
    fcos_aws_profile: forem-selfhost
    butane_cleanup: true
    ssh_key: "{{ lookup('file', '~/.ssh/id_rsa.pub') }}"

Free Tier is 30 GB, So I would like to suggest this as the default.

Screen Shot 2021-07-22 at 2 27 26 PM
ghost commented 3 years ago

interesting

jdoss commented 3 years ago

Part of the reasoning of setting it to 100Gb was to ensure that the user didn't run out of space since everything is stored on the EBS. Keeping the defaults as cheap as possible is a good idea too. I can see both sides here. Feel free to PR the change @omenking.