---
title: "Discussion on \"Understanding CloudFront Access to S3: OAI vs OAC — My Personal Experiment\" | Hashnode"
description: "Discussion on \"Understanding CloudFront Access to S3: OAI vs OAC — My Personal Experiment\". Explore differences between OAI and OAC for CloudFront accessing S3. Discover how to securely implement these AWS features with practical insights"
url: "https://hashnode.com/posts/oai-vs-oac/684d686fbaa4c9b6e737c7f2"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Understanding CloudFront Access to S3: OAI vs OAC — My Personal Experiment](https://getintokube.com/oai-vs-oac?utm_source=hashnode&utm_medium=feed)

Explore differences between OAI and OAC for CloudFront accessing S3. Discover how to securely implement these AWS features with practical insights

Jun 14, 2025 · 5 min read · getintokube.com  
Read the article

-   [#getintokube](https://hashnode.com/tag/getintokube)
-   [#getintokubeblogs](https://hashnode.com/tag/getintokubeblogs)
-   [#cloudfront](https://hashnode.com/tag/cloudfront)
-   [#cloudfront-distribution](https://hashnode.com/tag/cloudfront-distribution)
-   [#s3](https://hashnode.com/tag/s3)
-   [#s3-bucket](https://hashnode.com/tag/s3-bucket)

## Written by

[Gerlyn M](https://hashnode.com/@gerlynm)

@gerlynm · India

  
[View profile](https://hashnode.com/@gerlynm)

If your pods are down, I'm up! ☸️

Gerlyn is a DevOps engineer with a strong passion for Kubernetes and automation. He is always eager to learn and continuously strives to enhance his skills, aiming to become an expert in the field. He loves to share his knowledge with the community.

## Responses 1

Markdown supported · ⌘↵ to post

[basu lee](https://hashnode.com/@firenull)

[Jun 14, 2025](https://hashnode.com/posts/oai-vs-oac/684d686fbaa4c9b6e737c7f2/comment/684d85d8b3cdb46da09a4ea3)

Ah, the classic dilemma of choosing between OAI and OAC—it's like picking between cats and dogs! Sure, both have their charms for accessing S3, but if you want to avoid a security circus, you might just want to check this handy resource out: [Grow A Gargen Calculator](https://grow-a-garden-calculator.com/).

[Gerlyn M](https://hashnode.com/@gerlynm)

[Jun 14, 2025](https://hashnode.com/posts/oai-vs-oac/684d686fbaa4c9b6e737c7f2/comment/684d85d8b3cdb46da09a4ea3#reply-684d9e81c23c491a62381e37)

yeah, but aws also recommended using OAC for newly creating resources for its security advantage.

[aws.amazon.com/blogs/networking-and-content-deliv…](https://aws.amazon.com/blogs/networking-and-content-delivery/amazon-cloudfront-introduces-origin-access-control-oac/#:~:text=Even%20though%20we%20recommend%20using%20OAC%20for%20its%20latest%20security%20best%20practices%20and%20additional%20functionalities%2C)
