CDLUC3 / dmsp_aws_prototype

Sceptre CloudFormation templates for DMPHub v2
MIT License
1 stars 0 forks source link

Investigate setting up a CDN for hosting UI resources #126

Open briri opened 7 months ago

briri commented 7 months ago

Look into setting up a CDN in the AWS cloud to host UI assets.

I suspect this could just be an S3 bucket and a CloudFront distro. The CodeBuild for the aws_frontend_prototype repo could move compiled assets into the S3 bucket.

Need to see how this could work in the nextJS build (e.g. identify what directories/files) and how to instruct nextJS to use them.

How do we appropriately route traffic (subdomain or a path)?