Week 9 2025
Work
- Dev env migration
- 10 backend services deployed. To-do: restore RDS snapshot
- PoC restore RDS snapshot from different AWS account
- (target account) Create customer-managed KMS key and add permission for
source account. Default AWS-managed key won't work with snapshot sharing
- (source account) Create snapshot (either from running DB or auto
snapshot) using the key. Then share it with target account
- (target) Check shared snapshot in RDS console > Snapshot > Shared with
me
- (target) Restore the snapshot with different KMS key. Don't use the
shared key.
aws/rds
key should be fine
Other
- Started to learn Zig
- Using zig.guide. So far it's easy to grasp
- Error union concept is a bit different compared to Rust and Go. It will
return either a value or an error instead of struct of value and error
try
and catch
are refined around error union. catch
can be used in an
expression. And try
is a shortcut to simply return caught error
- Started to learn Jujustu vcs
- Changes are auto committed by default(?)
- Encourage user to define their to-dos before doing any work. Two well-known
workflow are squash worfklow and edit workflow
- I found Steve Kalabnik's
tutorial very helpful
- Arch
community
repos have been
deprecated. Make
sure to update /etc/pacman.conf