0

So i have a use case where we only need Elasticbeanstalk environment only in weekdays and in business hours only. So here at the moment i'm using a lambda function which terminates App environment and later next day other lambda will re-build the terminated environment, but the problem is i have to everyday update ALB dns on route53 recordset so anyone had any similar use cases and got a effective and better solution to this?

Thanks!!

1 Answers1

0

You could use the lambda function itself to handle the route53 recordset with the DNS name of the ALB you get when creating it.

Or I might suggest using a CloudFormation template instead to rebuild the environment, including your route53 recordset, and as much as you can automate for it. Even pull the app package from an existing S3 bucket.

Oscar De León
  • 241
  • 1
  • 2
  • 6