hey guys, great conference today! so i’m going to...
# sst
d
hey guys, great conference today! so i’m going to launch my SST app in about a week and i’m looking for advice on how to deploy & manage my production environment. for now i’m deploying my prod stack from the cli using
sst deploy --stage prod
. obviously that’s not the technique i want to use going forward. my current plan is to use SEED as you describe here (https://serverless-stack.com/chapters/getting-production-ready.html) . • is SEED still the path you’d recommend? • what other things should i be aware of for my production deployment process? thank you!
a
Something like SEED provides a lot of benefits, of course, but do you really need them? There's nothing wrong with cli deployment IMO, if you are on a solo project and don't have to constantly push out new features
b
The nice thing about using a platform like Seed is that it's consistent. Less prone to human error. You'll never forget to yarn(install dependencies), or have the right
.env
file before actually deploying. And once it's setup, it's either CI/deploy on commit(to your branch of choice), or at the click of a button.
a
You can also eliminate human error with some simple scripting, but the nice thing about the CI/CD platforms is that they pull everything together and make it easy to work with it as a team
d
@Adrian Schweizer yes, this is a solo project and the CLI certainly would work. but i think i’m more prone to human error than other humans, so i want to have an infrastructure that defends against my mistakes…
sounds like SEED is still the way to go
a
SEED is certainly a good fit for SST
I also wouldn't want to miss a CI/CD platform anymore, but if I was starting out again as a solo dev on a new project, I'm not sure I would have the energy to look at that as well, as there are already so many other things you have to care about
d
oh man, you’re telling me. i’ve build ML, the SST infra w/graphql, a react native app working on both iOS and android, and a nextjs site. i’m tired. lol.
a
yeah, we got a long way from apache + some cgi + html to what we have now
SST really helps to reduce the complexity, though, since I started with it, for the first time in many years, I've started to feel like a little bit of weight has been lifted off my shoulders
that and tailwind in the frontend have been the major productivity jumps for me lately
getting rid of yaml and css in one fell swoop, haha
d
i’ll check out tailwind at some point. i initially built on the serverless framework and it just wasn’t sustainable. thank goodness for SST.
yeah, YAML configs were hell. i also got rid of every VST on appsync which were also a maintenance nightmare.
a
tailwind is just some prepared css classes with very good granularity and combined with a good frontend framework like react, you can almost completely avoid having to write any CSS at all
it depends a bit on the specific app of course, if you do a lot of fiddly specialized UI things, might still have to write the occasional custom class, but regular stuff is all taken care of
another indirect benefit is that you have all the styling directly on the (in my case) react components, so one less thing to look up
d
the web is the area i’ve invested the least and will likely need a refactor. i’ll take a look and perhaps swap out bootstrap for tailwind
a
yeah, no hurry. if you can deal with bootstrap, it's fine, too, in my opinion
my problems with bootstrap were mainly rare cases where I had to customize something and it was always a bit of a hassle to override their stuff
d
yeah, i’m not in love with it, but i used it years ago and just wanted to move quickly with the www stack…
a
but if I already had a bootstrap app, I would probably not rip it out and replace it with tailwind, because there would certainly be more pressing matters
if you start from scratch though, definitively take a look at it
d
ok, cool. thanks for the advice! 👍🏻
a
would be cool if you could update this thread with your deployment experiences, once you've gone into prod (and remember it and have the time, of course)
d
yeah i’d love to give back to the community with some of those experiences.