Add snapshot-olya: snapshot Olya's EBS volume before a host upgrade

Open Beginner friendly
#9 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
72/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Active
Tech stack
aws, shell
Domain
devops

Research direction

Read bin/claude-buster first and check how this repository handles AWS profile and region settings. Add bin/snapshot-olya to find Olya's instance and attached volume, create and wait for the snapshot, and print its ID followed by done; an optional argument should override the description. Verify it from Scott's Mac by checking that describe-snapshots reports completed.

Written by the indexing model from the issue text.

Description

Scott asked for a one-word command to snapshot Olya's root volume before upgrading her host, instead of looking up the commands each time.

Add bin/snapshot-olya, in the style of bin/claude-buster:

  • Uses the dreamwright-agents AWS profile in us-west-2 unless AWS_PROFILE/AWS_REGION are set.
  • Finds the volume attached to Olya's instance. Don't hardcode account details in this public repo: look the instance up by its Name tag, or read the instance ID from an env var or an untracked local file.
  • Creates the snapshot with a description like olya pre-upgrade <date> (an optional argument overrides it), prints the snapshot ID, waits for snapshot-completed, and exits non-zero on any failure.

Verified when:

  • snapshot-olya run from Scott's Mac prints a snapshot ID and then done, and aws ec2 describe-snapshots --snapshot-ids <id> shows completed.
Dominant language
Shell
Stars
1
Forks
1
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Similar issues

More Shell/Bash issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.