New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update stack for safecastrpt-prd (https://grafana.safecast.cc/) #637
Comments
Posting these images for https://forums.aws.amazon.com/thread.jspa?messageID=952947󨩳 since AWS forum images uploads seem to be broken at the moment. |
So looks like the extra ASG got created with the stack then failed to get deleted (possibly because it was still coming online). I think for the time being I'll plan to run these with just one instance type to avoid the weirdness. |
I also managed to get a letsencrypt cert with this
It was pretty simple, but it looks like renewal will require updating the TXT record for the domains and I'm fairly certain mediatemple won't let us do that, so we'd need someone to update mediatemple DNS manually every 2.5 months and run the renewal which sounds like a recipe for a broken site for anything under the safecast.org domain. Probably not worth the $100/mo we spend on LBs. So it might make sense to have the dev envs run on safecast.cc with letsencrypt at some point. I'll look at setting reporting up that way anyway and we can evaluate what we want to do with other apps. |
Looks like https://github.com/go-acme/lego might be a better option for the certs since it has route53 support directly. Will give it a shot. |
Looks like beanstalk supports shared ALBs now so gonna abandon the letsencrypt & manual cert management. I think we can just have one prd and one dev ALB for all apps and get the price down plenty. |
I just noticed https://hub.docker.com/r/grafana/grafana-dev/tags?page=1&ordering=last_updated has some sort of "nightly" images, but not sure how up to date they're kept. The tags are all 7.5.0 but the latest release is 7.5.1 |
AWS had our old instance slated for replacement so I went ahead with this as-is. We still don't have a good answer to running grafana nightly builds (since they don't provide docker images for them), but we also can't upgrade to 8 at present anyway since the panodata map plugin doesn't run on it. I merged Safecast/reporting#11, created a new prod env, so I'd say we can call this done. |
Got an email from AWS that the stack safecastrpt-prd (https://grafana.safecast.cc/) is running on is no longer getting updates.
Should be able to copy the config and create a new environment on the latest stack.
Note that this stack is currently "64bit Amazon Linux 2018.03 v2.9.1 running PHP 5.6" but doesn't actually use PHP.
Just reached for that as a fairly generic stack with a webserver that provides virtualhost support.
Could probably use a variety of stacks, but watch out not to use nginx, or if you do make sure to update stuff like https://github.com/Safecast/reporting/blob/master/.ebextensions/grafana.config#L59-L66
Documenting some headway here:
Try letsencrypt wildcard to avoid using LB in dev ($18/mo for elb)~Work out a nightly master grafana tagThe text was updated successfully, but these errors were encountered: