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
Ruby on Jets 6.0 Guide
1h 47m
Explore lesson as part of a learning path
Get full access to these great resources
All for less than the price of coffee a day