Dynamic Route53 records for AWS auto scaling groups with Terraform
underthehood.meltwater.com
Dynamic Route53 records for AWS auto scaling groups with Terraform
1–10 of 37 posts
Re: Dynamic Route53 records for AWS auto scaling groups with Terraform
#2Re: Dynamic Route53 records for AWS auto scaling groups with Terraform
#3I was curious what they are using for the Lambda function, and it turns out is a framework-less Python script[0].
One thing I'm not clear on yet is if using this will imply one such lambda for every autoscaling group or not.
[0] https://github.com/meltwater/terraform-aws-asg-dns-handler/b...
Re: Dynamic Route53 records for AWS auto scaling groups with Terraform
#4This is a pretty sweet Terraform module that I will personally be testing out soon. I was curious what they are using for the Lambda function, and it turns out is a framework-less Python script[0]. One thing I'm not clear on yet is if using this will imply one such lambda for every autoscaling group or not. [0] https://github.com/meltwater/terraform-aws-asg-dns-handler/b...
Re: Dynamic Route53 records for AWS auto scaling groups with Terraform
#5I think AWS not having automatic hostnames for ASG instances is a way to lure you into Lambda's, at least that's how I got hooked.
Re: Dynamic Route53 records for AWS auto scaling groups with Terraform
#6I think AWS not having automatic hostnames for ASG instances is a way to lure you into Lambda's, at least that's how I got hooked.
Since Serilog does structured logging, I can use either an ElasticSearch or Mongo sink and do complex queries.
If I routinely need to log into an instance to troubleshoot, I need to be capturing data and sending it to a central logging system.
Re: Dynamic Route53 records for AWS auto scaling groups with Terraform
#7I think AWS not having automatic hostnames for ASG instances is a way to lure you into Lambda's, at least that's how I got hooked.
Re: Dynamic Route53 records for AWS auto scaling groups with Terraform
#8I think AWS not having automatic hostnames for ASG instances is a way to lure you into Lambda's, at least that's how I got hooked.
Why should an instance created by an ASG have a host name? These are cattle not pets. I use Serilog for logging with an EC2 enricher that automatically adds the instance Id and the IP address. Since Serilog does structured logging, I can use either an ElasticSearch or Mongo sink and do complex queries. If I routinely need to log into an instance to troubleshoot, I need to be capturing data and sending it to a central…
It means you can connect to it by just knowing its instance ID.
Adding the IP address everywhere also works.
There can be some nice SSH config options though, like using a particular key for everything *.prod.myaws.com
Re: Dynamic Route53 records for AWS auto scaling groups with Terraform
#9Earlier quoted context omitted.
Why should an instance created by an ASG have a host name? These are cattle not pets. I use Serilog for logging with an EC2 enricher that automatically adds the instance Id and the IP address. Since Serilog does structured logging, I can use either an ElasticSearch or Mongo sink and do complex queries. If I routinely need to log into an instance to troubleshoot, I need to be capturing data and sending it to a central…
> Why should an instance created by an ASG have a host name? It means you can connect to it by just knowing its instance ID. Adding the IP address everywhere also works. There can be some nice SSH config options though, like using a particular key for everything *.prod.myaws.com
> Access: When troubleshooting, we save time not having to look up the instance’s internal IP address for SSH access.
Re: Dynamic Route53 records for AWS auto scaling groups with Terraform
#10Earlier quoted context omitted.
Why should an instance created by an ASG have a host name? These are cattle not pets. I use Serilog for logging with an EC2 enricher that automatically adds the instance Id and the IP address. Since Serilog does structured logging, I can use either an ElasticSearch or Mongo sink and do complex queries. If I routinely need to log into an instance to troubleshoot, I need to be capturing data and sending it to a central…
> Why should an instance created by an ASG have a host name? It means you can connect to it by just knowing its instance ID. Adding the IP address everywhere also works. There can be some nice SSH config options though, like using a particular key for everything *.prod.myaws.com