---
title: "Lloyd Mckie (@deplloyd) | Hashnode"
description: "Lloyd Mckie (@deplloyd) writes on Hashnode. Read their latest articles and follow their work."
url: "https://hashnode.com/@deplloyd"
---

@deplloyd

# Lloyd Mckie

@deplloyd · Joined April 2021

## Comments

[Phillip Ninan maybe. I would imagine the private link costs would come to something like this where your data outbound costs would add up. the private link and s3 storage for internal connections would be less. this doesn't calculate the maintenance costs you would incur. so going external " s3 transfer costs" vs "s3 gateway" + "privatelink"](https://hashnode.com/posts/aws-gateway-vpc-endpoint-s3-with-cdk/606a77c8b17dc439b747c0b3/comment/606a858eb17dc439b747c1b6#reply-606a94c5b17dc439b747c38a)

Reply · Article · Apr 5, 2021 · [AWS Gateway VPC endpoint S3 with CDK](https://hashnode.com/posts/aws-gateway-vpc-endpoint-s3-with-cdk/606a77c8b17dc439b747c0b3)

[Thanks. So typical use cases for this are to limit S3 access to private traffic only. As we're all to familiar with buckets becoming public. Details My requests are not traversing the public internet to communicate with S3 and have better security around the S3 access to objects and access through the VPC endpoint. If I want to lock down access to EC2 then I can add in the principals that have access. Better yet I can restrict access with an explicit deny to only EC2. I've posted about VPC flow logs, that would be one that we would want to protect from modification or corruption of the logs. I can extend this with S3 Access points if it's decided that this isn't enough and we want granular access to objects in the bucket. I might cover this in Part 2.](https://hashnode.com/posts/aws-gateway-vpc-endpoint-s3-with-cdk/606a77c8b17dc439b747c0b3/comment/606a858eb17dc439b747c1b6#reply-606a90db1ed1783ab0635071)

Reply · Article · Apr 5, 2021 · [AWS Gateway VPC endpoint S3 with CDK](https://hashnode.com/posts/aws-gateway-vpc-endpoint-s3-with-cdk/606a77c8b17dc439b747c0b3)
