Trigger Amazon CloudFront

0 votes
How can I trigger Amazon CloudFront? Can someone guide me through the steps of doing this?

Thank you in advance.
Jan 25, 2019 in AWS by Jino
• 5,810 points
408 views

1 answer to this question.

0 votes

In Lambda@Edge the functions will automatically get triggered in response to any of the following CloudFront events:

  • Viewer Request - Event occurs when the end user on the Internet makes an HTTP(S) request to Amazon CloudFront, and then the request arrives at the edge location which is closest to that user.
  • Viewer Response - Event occurs when the Amazon CloudFront server at the edge will be ready to respond to end user or device that made request.
  • Origin Request - Event occurs when the Amazon CloudFront edge server does not already contain the requested object in the cache, and the viewer request is ready to send to your backend origin webserver.
  • Origin Response - Event occurs when the Amazon CloudFront server that is at the edge receives a response from the backend origin webserver present at your end.
answered Jan 28, 2019 by Trisha

Related Questions In AWS

+4 votes
5 answers

Usage of Amazon Cloudfront or S3

When to use S3? S3 is like many ...READ MORE

answered Apr 3, 2018 in AWS by brat_1
• 7,200 points
1,549 views
0 votes
1 answer

What is the difference between Amazon Cloudfront and S3

major difference is that cloudfront allows you ...READ MORE

answered Jul 10, 2018 in AWS by Priyaj
• 58,090 points
1,620 views
+1 vote
5 answers

Can Celery be used with Amazon SQS

I regenerated the credentials in the IAM ...READ MORE

answered Oct 25, 2018 in AWS by triedntested
3,454 views
+1 vote
4 answers

How do I cache my images which are stored in Amazon S3?

when caching ec2 instance these can be ...READ MORE

answered Oct 23, 2018 in AWS by Nabarupa
8,467 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
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