Skip to content

How to keep S3, Athena, and AWS Grafana in VPC?

0

Hi all,

I hope you are doing well!! I'm building an data visualization pipeline using S3, Athena, and AWS Grafana. Athena is used to query the data in S3. Since the data is highly critical to my app, I was trying to keep the communications in between S3, Athena, and Grafana in VPC. I haven't used VPC before. I just did some research on it and apparently it has something to do with setting up endpoints on VPC. Is it viable? How should I do this?

Thank you for your help!

2 Answers
1
Accepted Answer

To add to Brandon's point, you can also create S3 interface point for S3. It will enable private connectivity to S3. All endpoints are powered by AWS Private Link. Note that,

  • Gateway endpoints are free while there is costs associated with interface endpoint (fixed cost + data processing cost).
  • If you use gateway endpoints, make sure you have updated VPC routing tables, otherwise traffic will go directly over internet.
  • If you use interface endpoints, you can share the interface endpoint and use from multiple VPCs.

My comments around interface endpoint is applicable to all interface endpoints (that is, Athena, Grafana).

Source: https://aws.amazon.com/blogs/architecture/choosing-your-vpc-endpoint-strategy-for-amazon-s3/ https://docs.aws.amazon.com/vpc/latest/privatelink/endpoint-services-overview.html

EXPERT

answered 2 years ago

AWS
EXPERT

reviewed 2 years ago

0

You can create gateway endpoint for S3 and interfaces endpoint for Athena and Grafana.

Keep in mind that S3 isn’t in your VPC ; the endpoint will enable you to do not use the public network, but the AWS core network, which is private to AWS.
Gateway endpoints
Access an AWS service using an interface VPC endpoint

answered 2 years ago

EXPERT

reviewed 2 years ago

  • Got it!!! thanks!!!!!!

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.