hard20 pts · first answer countsiamvpc-networkingcloud-storage
aws:SourceIp after adding a VPC endpoint
This bucket policy worked while instances reached S3 through a NAT gateway with public IP 203.0.113.10. After an S3 gateway endpoint was added, every request is denied. Why?
{
"Effect": "Deny",
"Principal": "*",
"Action": "s3:*",
"Resource": "arn:aws:s3:::data/*",
"Condition": { "NotIpAddress": { "aws:SourceIp": "203.0.113.0/24" } }
}Discussion 0
Join free to post in the discussion.
Related questions
- Principle of least privilegeCloud Engineer
- What makes a subnet public?Cloud Engineer
- Choosing an S3 storage classCloud Engineer
- Usable IPs in a /24 subnetCloud Engineer
- Shared file system for many serversCloud Engineer
- Which identity is the AWS CLI using?Cloud Engineer
- How EBS snapshots store dataCloud Engineer
- Protecting the root userCloud Engineer