goapplambda

module
v1.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 4, 2023 License: Apache-2.0

README

goapplambda

Example of how to deploy go-app application using s3, lambda, and cloudfront.

setup steps

  • Create lambda function with a function url enabled. (goapplambda in this example)
  • Create a S3 bucket to hold the web resources. (mlctrez-goapplambda in this example)
  • Create a cloudfront distribution with the default origin pointing to the lambda function url.
  • Add an origin to the cloudfront distribution for the s3 bucket.
  • Add a behavior matching /web/* to be routed to the s3 bucket origin.
  • Optionally, add a custom CNAME and SSL certificate to be used instead of the default xxx.cloudfront.net name.

Go Report Card

created by tigwen

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL