Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

try coldsnap #123

Open
wants to merge 19 commits into
base: main
Choose a base branch
from
Open

try coldsnap #123

wants to merge 19 commits into from

Conversation

arianvp
Copy link
Member

@arianvp arianvp commented Apr 19, 2024

No description provided.

@arianvp
Copy link
Member Author

arianvp commented Apr 19, 2024

Unfortunately still the same issue. When I upload the snapshot using coldsnap instead of import-snapshot the resulting AMI refuses to boot.

@arianvp
Copy link
Member Author

arianvp commented Apr 19, 2024

Coldsnap seems to corrupt the image and throw away half the data.

The NixOS image is 1.8 gigabyte raw. But it's a sparse image. The resulting snapshot should be 4GB. Not 2GB

image

@arianvp
Copy link
Member Author

arianvp commented Apr 19, 2024

Maybe coldsnap needs to have a .raw image instead of a .vhd?

@mswilson
Copy link

Maybe coldsnap needs to have a .raw image instead of a .vhd?

Yes, coldsnap wants a raw image.

@arianvp
Copy link
Member Author

arianvp commented Apr 20, 2024

Upload times are very.. unstable. I've seen them complete under 1 minute (good) but usually take 5 minutes.

I now have an upload that is stuck for 21 minutes and counting.

Unfortunately coldsnap doesn't really log anything at all.
Not sure if:

  • Hitting AWS rate limits
  • Github is throttling me
  • something else

Creating an instance on AWS and doing the upload from there now for comparison

@arianvp
Copy link
Member Author

arianvp commented Apr 20, 2024

Uploading the same image takes 10 seconds on a t4g.small instance on AWS.

My running theory is Github Actions throttling bandwidth for anything but s3.amazonaws.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants