3 ms·
Did you use CloudFormation to crate the infra? If not, I'd love to hear some details on how you did this. Any API Gateway being used? Seems to be offline at t
by jftuga 6y ago
Did you use CloudFormation to crate the infra? If not, I'd love to hear some details on how you did this. Any API Gateway being used? Seems to be offline at the moment.
- jabo 6y agoThe front-end is a static site. I used terraform to setup the S3 bucket & Cloudfront. The search backend is running on Typesense Cloud, which is point and click to provision. This is my 1-line deployment command: https://github.com/typesense/showcase-recipe-search/blob/7b5cab6da442467d60acc3bcd8a71e53f04e8b9c/package.json#L11 https://github.com/typesense/showcase-recipe-search/blob/7b5... That's it for the infra! No API Gateway. Hmmm, seems to be up for me. Could you show me a console+browser screenshot of what you see?
- blntechie 6y agoWe run similarly on CloudFormation. Interesting with the ‘aws s3 cp’ command. I started using ‘aws s3 sync —delete’ nowadays after having issues with pre cleanup required for ‘cp’.
- deleted 6y ago[deleted]
- jabo 6y agoIn my case since the assets have fingerprinted filenames and index.html references them, if I delete old files with each deployment, then a user who has a cached version of index.html will see a broken page. So I just leave old asset files as is.