Skip to content

image optimization using aws lambda and sharp with sst ion and cloudflare for cdn

Notifications You must be signed in to change notification settings

shaik-zeeshan/reimage

Repository files navigation

Reimage

image optimization using AWS S3 and Cloudflare CDN

Stack

Step

Step 1 : Setup SST dev

Setup SST with aws

Step 2 : Set Secret using sst secret

Set TURSO_CONNECTION_URL secret

sst secret set TURSO_CONNECTION_URL <database_url>

Set TURSO_AUTH_TOKEN secret

sst secret set TURSO_AUTH_TOKEN <auth_token>

Step 4 : Check if Cloudflare Cache is Setup

  • Go to Account Home , Select the domain name where app is deployed
  • Select Cache and go to Cache Rules
  • Choose Cache Everything template and deploy

Step 3 : Run dev check if everything fine

sst dev

Step 4 : Deploy with your stage

sst deploy --stage <stage_name>

About

image optimization using aws lambda and sharp with sst ion and cloudflare for cdn

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published