with ASG and ELB and aws-cdk.
How do I customise the image used in instance created by ASG?
I _believe_ I have to create a custom AMI that is built from a generic linux image with my modifications applied and then use the ID of this custom AMI in ASG configuration but I can't find any information on how to do this or if this is the right way to do this
To create the AMIs, bake them using packer from hashicorp
EC2 Image builder? Might be an option.
I have ptsd using that
Because..
Janky yaml
Hes only building 1 image.. if it works it would be simple
not even trying that shit
Use ElasticBeanstalk nodejs or Docker. You automatically get autoscaling and load balancer. And can define the instance type
https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/single-container-docker.html
Hey, Thank you sooo much for responding. In the end, We decided to use ECS on EC2 with aws-cdk. Other than few issues that I encountered since I was working with it for the first time, It wasn't super complicated and works out pretty well for us.
there's CDK Day coming up if you're interested https://www.cdkday.com/
Thanks I recently started using cdk and it's been pretty good so far. I'll check this out. :))
Yea cdk is pretty good, been using that recently also, this is pretty interesting too: https://www.hashicorp.com/blog/cdk-for-terraform-enabling-python-and-typescript-support
That's interesting, should we see this as a response to Pulumi?
Perhaps.. although i’m not sure matters too much, Terraform is pretty much the standard now, i rarely hear Pulumi actually being used.
Обсуждают сегодня