- Newest
- Most votes
- Most comments
Hello.
Greetings from AWS.
Please allow me to address your concerns:
- Is data transfer from ECS Fargate and Kinesis charged at inter-region rates?
- I would like to inform you that, there are no inter-region charges applied if ECS Fargate and Kinesis are in the same region. The free data transfer applies to both the services as long as they are in the same region.
- Does the above information not apply for traffic over IPv6 when using dual stack endpoints?
- The information applies equally to IPv6 traffic. Using dual stack endpoints or IPv6 does not incur extra charges, and traffic over IPv6 is treated the same as internal IPv4 traffic for pricing.
Kinesis does not charge for data-in/out when producing/consuming with AWS service within the same region.[+]https://aws.amazon.com/kinesis/data-streams/pricing/
However, AWS has introduced charges for using public IPv4 addresses, using IPV6 over IPV4 can help optimizing costs. For more details: (https://aws.amazon.com/blogs/aws/new-aws-public-ipv4-address-charge-public-ip-insights/)
I hope you find the above information helpful.
Thank you.
answered a year ago
Based on the information available, I can clarify a few points about data transfer charges between ECS Fargate and Kinesis.
First, it's important to note that while data transferred directly between certain AWS services (including Kinesis) and EC2 instances in the same region is free, this specific exemption is explicitly mentioned for EC2 instances. ECS Fargate is a different service than EC2, and the pricing rules that apply to EC2 don't automatically extend to Fargate.
For AWS Lambda, the documentation specifically states that "Data transfer with AWS Lambda Functions is free in the same AWS Region between the following services: Amazon Simple Storage Service (S3), Amazon Glacier, Amazon DynamoDB, Amazon Simple Email Service (SES), Amazon Simple Queue Service (SQS), Amazon Kinesis, Amazon Elastic Container Registry (ECR), Amazon Simple Notification Service (SNS), Amazon Elastic File System (EFS), and Amazon SimpleDB." However, there isn't a similar explicit statement for ECS Fargate.
For data transfer within AWS regions, the general rule is:
- Within the same Availability Zone (AZ): Generally free between certain services
- Between AZs in the same region: Charged at $0.01/GB in each direction
Since you mentioned your previous setup had all components in the same AZ, but didn't specify if your Kinesis streams are in the same AZ as your Fargate tasks, this could be one explanation for the charges you're seeing. Kinesis is a regional service, and its endpoints might be in different AZs than your Fargate tasks.
Regarding your specific questions:
- Data transfer between ECS Fargate and Kinesis within the same region would typically follow the standard regional data transfer pricing, which could include charges for cross-AZ traffic.
- The use of dual-stack endpoints (IPv6) shouldn't change the fundamental pricing structure, but it's worth noting that the free data transfer exemptions are often described in documentation with IPv4 connectivity in mind.
To get a definitive answer, continuing to pursue clarification from AWS Support would be the best approach, as they can examine your specific account configuration and usage patterns.
Sources
Is there a data transfer charge when downloading data from S3 bucket to EC2 instance in the same region? | AWS re:Post
EC2 regional data transfer - in/out/between EC2 AZs question. | AWS re:Post
Serverless Computing – AWS Lambda Pricing – Amazon Web Services
Can someone explain data transfer charges in detail? | AWS re:Post
answered a year ago
Thank you for your post. It seems according to the cost center and my VPC flow logs, that I am being charged for inter region traffic to Kinesis over IPv6. I've raised this with AWS support.
answered a year ago
Relevant content
asked 2 years ago
