// writing
Notes and write-ups
everything tagged aws

Assuming IAM role and role chaining in AWS
Managing temporary security credentials across AWS accounts allows applications to securely access resources. Using the Security Token Service to assume roles requires a clear understanding of trust policies and session duration limits. A specific limitation occurs during role chaining, where the session length is constrained compared to assumptions made by IAM users.

Keeping track of database changes and when it can be useful
This article explores the concept of database replication and how it can be utilized to synchronize data between systems or feed external services. It covers the mechanics of write-ahead logging and logical decoding, which allow tracked changes to be exported in usable formats. The post also highlights necessary configuration steps for managed environments and potential pitfalls to monitor when implementing these techniques.

How We Migrated All User Files to AWS S3
Migrating a large volume of user files between cloud providers requires careful planning to maintain service stability and data integrity. This process explores the transition from initial sequential scripts to a highly parallelized architecture capable of handling millions of records efficiently. The final approach demonstrates how optimizing infrastructure and leveraging worker-based processing can significantly improve performance and resource utilization.