Solid, CDK, Basic S3+CF Distro

Hi there, I've been working on a solid SPA that does not use solid-start. Are there any docs or helpful articles out there with boilerplate CDK construct examples? Also saw SST supports Next, wondering if they've sorted all this out already. Any help you can share would be most appreciated.
7 Replies
Brendonovich
Brendonovich4w ago
SST Ion have a dedicated construct for Start built on S3 + CF, maybe consider adding start to your project and using it with ssr: false and preset: static? https://ion.sst.dev/docs/component/aws/solid-start/
Noel (Shadow)
Noel (Shadow)4w ago
Thanks! any experience running this in a monorepo alongside another workspace that uses CDK?
Brendonovich
Brendonovich4w ago
Nah sorry, we use Ion to manage cloudflare pages
Noel (Shadow)
Noel (Shadow)4w ago
my two repos are separate for now so it should be clean, just wondering if SST is good for monos / tested thanks for the link tho, appreciate it! where does SST maintain resource information? is it local or stored externally somewhere?
Brendonovich
Brendonovich4w ago
You give Ion some AWS or CF credentials and it puts the resource state in a bucket in your account
Noel (Shadow)
Noel (Shadow)4w ago
ah great, didn't want to have to maintain that myself 👍 is that configurable or is it always a standard bucket naming formula?
Brendonovich
Brendonovich4w ago
I think it's always sst-state but maybe it's configurable? The state has got corrupted a couple of times while we've used it - probably from running sst deploy in gh actions and locally at the same time - but when that happens it's easy to restore the state from the history folder in the bucket
Want results from more Discord servers?
Add your server
More Posts