- Newest
- Most votes
- Most comments
You have to understand the data transfer costs of AWS. Here is blog to give you an overview of common patterns.
https://aws.amazon.com/blogs/architecture/overview-of-data-transfer-costs-for-common-architectures/
In your use case
Scenario 1: App is in Azure VM (Azure cloud) and Videos are in S3 . you have to pay for outbound data transfer between your app hosted on Azure VM and S3 bucket + Azure cloud outbound data transfer charges.
Scenario 2 (recommended approach, most cost effective): App is in AWS EC2 instance with a VPC endpoint to access the S3 bucket for videos. You don't have to pay data transfer charges between the application hosted on EC2 instance, still have to pay for outbound data transfer charges to access the application from the AWS Cloud.
Scenario 3 (not recommended): App is in AWS EC2 instance with a NAT gateway to access the S3 bucket for videos. you have to pay for data processing charges (per GB) for data that passes through the NAT gateway + AWS cloud outbound data transfer charges.
I would recommend moving your application to AWS EC2 instance (automate the EC2 instance provisioning using IaC of your choice) and utilize scenario 2 to serve the video content to your employees.
You can further improve or extend the solution by utilizing AWS CloudFront to serve the videos from the edge(caching content)
I hope this bring some clarity.
Thanks, Abhishek
Relevant content
- asked 7 months ago
- asked a year ago
- asked 2 years ago
- AWS OFFICIALUpdated 4 months ago
- AWS OFFICIALUpdated 2 years ago
Thank you very much for answering. I do not understand one part though: "still have to pay for outbound data transfer charges to access the application from the Application."
What do you happen to mean here?
hi @johnH, I have corrected my statement , it was a typo "you still have to pay for outbound data transfer charges to access the application from the AWS Cloud". This cost applies in all three scenarios.