ablog

不器用で落着きのない技術者のメモ

2020-12-22から1日間の記事一覧

VPCE ポリシーで AWS アカウントID単位で S3 へのアクセスを制限する

AWS

VPC Endpoint ポリシーで AWS アカウントID単位で S3 へのアクセスを制限する例。 Using the new s3:ResourceAccount IAM condition key, you can write simple IAM or Virtual Private Cloud Endpoint (VPCE) policies to restrict user or application acc…

RDS PostgreSQL での VACUUM とリードレプリカでの SELECT のコンフリクト

AWS

設定 RDS PostgreSQL の DB Parameter Group で max_standby_streaming_delay を最小値の 1 秒に設定。 max_standby_streaming_delay=1 手順 Primary postgres=> create table test1 (col1 int); postgres=> insert into test1 values (generate_series(1,10…