---
title: "Load Balancer - Deployment"
weight: 2
---
### STEPS
Aim is to deploy the Load balancer on AWS through terraform.
Navigate to the Cloud9 terminal and copy **loadbalancers.tf** file from the Resources folder to the Development folder.
```console
cp ./Resources/loadbalancers.tf ./Development/loadbalancers.tf
cd ./Development
```
And then run the following set of commands.
1. **terraform init**
```conslole
terraform init
```
Running this will download & install all the necessary modules.

2. **terraform validate**
```console
terraform validate
```
Run this to check for any syntax error in the code.

3. **terraform plan**
To understand what the code will reflect and do on your AWS account run
```console
terraform plan --out awslab
```
The resources shown with the '+' symbol are set to be created. It will show the number of additional resources to be added.

4. **terrafrom apply**
If you are satisfied with the plan of the configuration, run the following to apply it.
```console
terraform apply awslab
```

Open your AWS Management Console to see if all the resources are correctly deployed.
**Load Balancer:**

You can click on any one to see detailed info like this:


**Target Groups:**
