Im in need of a person who can help me with AWS EKS & Akamai. we use blue/green in AWS EKS. I need a terraform script to trigger instance refresh of EKS instances checking the Akamai traffic coming to the Blue/Green Cluster.
we use 2 eks clusters blue & green. One will be prod & other canary. EKS has auto scaling groups where instances(both linux & windows) are present. these instances receive traffic depending on setup in akamai.
when a new AWS AMI is released, we want the instances in auto scaling group to be updated with with AMI. This should be done only when there is 0 traffic passing through instances.
can you let me know if you can do this? for example, you can use lambda to trigger akamai API by checking the traffic. or any other way.