Managing Data Access with Amazon S3 Access Points

Managing Data Access with Amazon S3 Access Points
Managing Data Access with Amazon S3 Access Points

CLOUD LABS



Managing Data Access with Amazon S3 Access Points

In this Cloud Lab, you’ll learn to manage data access with Amazon S3 Access Points and learn to use a Lambda function to configure an S3 Object Lambda Access Point.

8 Tasks

intermediate

1hr 30m

Certificate of Completion

Desktop OnlyDevice is not compatible.
No Setup Required
Amazon Web Services

Learning Objectives

An understanding of Amazon S3 Access Points and their role in data access control
Hands-on experience setting up VPC bound and internet-facing S3 Access Points
An understanding of the integration of AWS Lambda with S3 Access Points for Object Lambda operations
Hands-on experience using S3 Object Lambda Access Points for real-time data transformation

Technologies
Lambda logoLambda
S3 Access Points
Comprehend logoComprehend
S3 logoS3
Cloud Lab Overview

Amazon S3 Access Points are a part of Amazon’s cloud storage, making it easier for users to handle and manage data. With this service, you can have better control over who accesses your data and how. With the increasing demands for secure and efficient data storage and retrieval, learning this service can distinguish you from the rest.

In this Cloud Lab, you’ll explore the fundamental features of Amazon S3 Access Points. You’ll start by setting up an Amazon S3 bucket for document storage and establishing two distinct access points—one bound to a specific VPC and another that is universally accessible. You’llthen apply the access point policy to restrict direct access to the S3 bucket. Next, you’ll learn to use AWS S3 Object Lambda Access Points, a feature that dynamically accesses, processes, and returns the transformed data.

After completing this Cloud Lab, you’ll have a thorough understanding of Amazon S3 Access Points and their role in managing data access. You’ll also gain the skills to manage the data access of the S3 bucket and advance your career as a cloud developer.

The following is the high-level architecture diagram of the infrastructure that you’ll create in this Cloud Lab:

Illustration of S3 Access Points for simplified and secure bucket access
Illustration of S3 Access Points for simplified and secure bucket access

Cloud Lab Tasks
1.Introduction
Getting Started
2.VPC Bound Access Point
Create an S3 Bucket
Create a VPC Bound Access Point
Test the VPC Bound Access Point
3.Internet-Facing Access Point
Create an Internet-Facing Access Point and Lambda Function
Create and Test an S3 Object Lambda Access Point
4.Conclusion
Clean Up
Wrap Up
Labs Rules Apply
Stay within resource usage requirements.
Do not engage in cryptocurrency mining.
Do not engage in or encourage activity that is illegal.

Relevant Course

Use the following content to review prerequisites or explore specific concepts in detail.

Frequently Asked Questions

What are the two ways to control access to the S3 buckets?

The two ways to control access to the S3 buckets are as follows:

  1. Identity-based policies: Attach policies to IAM users, groups, or roles to manage their access to S3 resources.
  2. Resource-based policies: Attach policies directly to S3 buckets (bucket policies) to define which principals (accounts, users, roles) can access the bucket and the permitted actions.

A third and traditional way to control access to S3 was access control lists (ACLs), but now, AWS recommends disabling ACLs and using policies for more granular and manageable access control.

What is S3 DataAccessPointAccount?

The DataAccessPointAccount is a condition key used in IAM policies to match the AWS account ID of the owner of an S3 Access Point. It helps specify conditions under which certain actions are allowed or denied based on the access point’s owning account.

Why use an S3 access point?

S3 Access Points simplify managing data access at scale for shared datasets by eliminating the need for a single, complex bucket policy with numerous permission rules. They also provide unique hostnames for direct access and support VPC restrictions for private access.

What is the use of ACL in S3?

Access control lists (ACLs) in Amazon S3 grant basic read/write permissions to other AWS accounts. However, AWS recommends disabling ACLs and using policies for access management, as policies offer more comprehensive and manageable access controls.

Hear what others have to say
Join 1.4 million developers working at companies like