How to creates a new origin access identity in Cloudfront

0 votes

Hi Team,

I have created one S3 bucket. I want to create a new origin access identity in Cloudfront for the S3 bucket. So that user can access the data without any delay. How can I do that?

Nov 2, 2020 in AWS by akhtar
• 38,260 points
736 views

1 answer to this question.

0 votes

Hi@akhtar,

If you're using Amazon S3 for your origin, you can use an origin access identity to require users to access your content using a CloudFront URL instead of the Amazon S3 URL.

$aws cloudfront create-cloud-front-origin-access-identity --cloud-front-origin-access-identity-config CallerReference="cli-example",Comment="Example OAI"
answered Nov 2, 2020 by MD
• 95,460 points

Related Questions In AWS

0 votes
1 answer

How to get a CloudFront origin access identity?

Hi@MD, The following example gets the CloudFront origin ...READ MORE

answered Nov 2, 2020 in AWS by akhtar
• 38,260 points
943 views
+1 vote
1 answer

How to configure a Lambda function to access resources in a VPC?

Hi@akhtar, You can configure a Lambda function to ...READ MORE

answered Aug 27, 2020 in AWS by MD
• 95,460 points
2,167 views
0 votes
1 answer

Creates a new web distribution in Cloudfront.

Hi@akhtar, You can create a CloudFront distribution to ...READ MORE

answered Nov 2, 2020 in AWS by MD
• 95,460 points
698 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

How to delete an origin access identity in Cloudfront?

Hi@akhtar, You can delete your origin access identity ...READ MORE

answered Nov 2, 2020 in AWS by MD
• 95,460 points
4,105 views
0 votes
1 answer

How to update a CloudFront origin access identity?

Hi@akhtar, The following example updates the origin access ...READ MORE

answered Nov 3, 2020 in AWS by MD
• 95,460 points
1,242 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP