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
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/
Thanks! any experience running this in a monorepo alongside another workspace that uses CDK?
Nah sorry, we use Ion to manage cloudflare pages
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?
You give Ion some AWS or CF credentials and it puts the resource state in a bucket in your account
ah great, didn't want to have to maintain that myself 👍
is that configurable or is it always a standard bucket naming formula?
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