Sunil Agarwal
Sunil Agarwal

Reputation: 4277

AWS : Create application load balancer using cli/cmd

I want to create a script to automate creation of "application load balancer" in AWS.

I already have target groups details, subnets, etc.

I tried following this link but seems 'create-load-balancer' cmd does not have option of providing target group, subnets, etc.

Has oneone automated this? Is this possible? Please share your thoughts/scripts.

Upvotes: 0

Views: 95

Answers (1)

Sam Collins
Sam Collins

Reputation: 483

You probably want to take a look at AWS CloudFormation which is also what ElasticBeanstalk uses to create load balancers.

It will allow you to define everything including subnets in JSON or YAML config files. You can do both the application load balancer and target groups.

Upvotes: 1

Related Questions