CloudFront CDN for Lambda Function URL

May 27, 2024
Tags:
jetsruby

We'll show you how easy it is to set up a CloudFront CDN in front of the Lambda Function URL. It's just a few lines of configuration.

config/jets/deploy.rb

Jets.deploy.configure do
 config.lambda.url.cloudfront.enable = true
 config.lambda.url.cloudfront.cert.arn = acm_cert_arn(domain: "example.com", region: "us-east-1")
 config.lambda.url.cloudfront.route53.enable = true
end

Get full access to these great resources

All for less than the price of coffee a day

44 courses
286 lessons
46+ hours

Get started with BoltOps Learn now and get access to easy and powerful lessons

BoltOps Tools