Just an update for the group. I got everything running fine using rsync, mqtt, the belchertown skin and a lightsail VPS through AWS. It was a fun little project! I never used Lightsail before so it was cool to see that service for a bit.
If I had to do it again I think I'd just opt for a straight ec2 instance, but in the end I'm happy with the results. On Thursday, July 27, 2023 at 3:34:44 PM UTC-5 William Reading wrote: > You can also always set up cloudfront to hit the Pi running a webserver as > the origin. Personally, I just run nginx as a reverse proxy to the pi (and > skip paying for CF), which I think is generally good enough as long as > you're comfortable setting up something like let's encrypt and dns pointed > at it. > > S3 static sites are nice in that you don't have to run an EC2 instance or > configure that, but I've found that they have a bit of a learning curve > because you need to make sure that stuff is shared publicly in the bucket > and working there before you can point cloudfront at it. I think cloudfront > also does have a mode where you skip the S3 static site altogether and just > serve files out of S3, but I haven't tried that approach before. > > --Bill > > On Jul 27, 2023, at 15:56, Sideshow Raheem <[email protected]> wrote: > > You know how when youre a hammer everything looks like a nail? > > I use AWS at work, though not CloudFront as I'm not a web guy, and just > jumped in head first that way for some reason. I think youre right though, > MQTT is probably a better way to go. > > On Thursday, July 27, 2023 at 2:39:49 PM UTC-5 [email protected] wrote: > >> Hi, >> >> why isn't FTP'ing from the Pi to any simple webspace an option? For MQTT >> features you'll probably get along with flespi.io >> >> Or did I miss something? >> >> >> >> Sideshow Raheem schrieb am Donnerstag, 27. Juli 2023 um 21:31:34 UTC+2: >> >>> Hello all, >>> >>> I've been enjoying tinkering with my new weather station lately. I've >>> got it setup perfectly on my raspberry pi at home and it displays exactly >>> how I'd like using WeeWx and the Belchertown skin. >>> >>> Now I want to securely get it accessible via the web. At first I thought >>> that the directions here would work well for me - >>> https://www.cougar.eu.com/useful-guides/weewx-guides/publish-weewx-to-s3/index.html >>> and it seemed like it was. But using CloudFront and this setup I'm >>> just getting a static site that doesnt update, and all of the pictures are >>> broke as well. >>> >>> Now I'm wondering if I either A) setup something incorrectly, or B) am >>> taking the wrong approach. >>> >>> Would I be better off hosting the WeeWx server itself in AWS instead of >>> my Raspberry Pi? And then just harden the ec2 instance in AWS? I liked the >>> appeal of the s3 hosted site but just cant seem to get it to load correctly. >>> >>> Thanks, >>> www.duluthweather.com >>> >>> > -- > You received this message because you are subscribed to the Google Groups > "weewx-user" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-user/2d0b4220-194f-4455-bab5-06fb1cc6e455n%40googlegroups.com > > <https://groups.google.com/d/msgid/weewx-user/2d0b4220-194f-4455-bab5-06fb1cc6e455n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > > -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/5f378089-4e95-4091-b2d4-402de5c772c6n%40googlegroups.com.
