Hello guys, I would like to know what is your expe...
# help
g
Hello guys, I would like to know what is your experience in Netlify. I see it is a service suggested in Serverless Stack, I would understand Pro and Cons between this service and a solution based on Cloudfront+S3. I always used Cloudfront+S3 to host my Angular apps, I was going to use Netlify but after the last feature in SST (the SiteStatic constructor) I thought it could be a better solution than hosting in Netlify.
f
Hey @gio, in my experience with Netlify, you get the git push to deploy and preview deployments out of the box, which is really nice.
On the other hand, after creating the
StaticSite
construct, I realized that Cloudfront + S3 gives u more flexibility. You can specify multiple behaviors for CloudFront, so you can have:
/
-> points to ur React app
/docs
-> points to docs which can be another S3 bucket origin (ie. Jekyll)
/api
-> points to ur Api
That’s from my limited experience with both. I’m sure others have better insights to add @Jay
j
Yeah i think the big plus with the construct is the flexibility and hosting it within your infrastructure.
We use Netlify as well and it’s been pretty reliable for us. I think it depends on what you are looking for.
g
Thank you guys, I will follow Netlify way, but of course StaticSite is a nice feature to improve for the future ☺️