forked from bregman-arie/devops-exercises
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Created also the file for Grafana questions.
- Loading branch information
abregman
committed
Nov 22, 2021
1 parent
ed45cd1
commit 63a3b2e
Showing
8 changed files
with
205 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
## AWS ELB - Network Load Balancer | ||
|
||
### Requirements | ||
|
||
Two running EC2 instances | ||
|
||
### Objectives | ||
|
||
1. Create a network load balancer | ||
1. healthy threshold: 3 | ||
2. unhealthy threshold: 3 | ||
3. interval: 10 seconds | ||
4. Listener should be using TCP protocol on port 80 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
## AWS ELB - Network Load Balancer | ||
|
||
### Requirements | ||
|
||
Two running EC2 instances | ||
|
||
### Objectives | ||
|
||
1. Create a network load balancer | ||
1. healthy threshold: 3 | ||
2. unhealthy threshold: 3 | ||
3. interval: 10 seconds | ||
4. Listener should be using TCP protocol on port 80 | ||
|
||
### Solution | ||
|
||
#### Console | ||
|
||
1. Go to EC2 service | ||
2. Click in the left side menu on "Load balancers" under "Load balancing" | ||
3. Click on "Create load balancer" | ||
4. Choose "Network Load Balancer" | ||
5. Insert a name for the LB | ||
6. Choose AZs where you want the LB to operate | ||
7. Choose a security group | ||
8. Under "Listeners and routing" click on "Create target group" and choose "Instances" | ||
1. Provide a name for the target group | ||
2. Set healthy threshold to 3 | ||
3. Set unhealthy threshold to 3 | ||
4. Set interval to 10 seconds | ||
5. Set protocol to TCP and port to 80 | ||
6. Click on "Next" and choose two instances you have | ||
7. Click on "Create target group" | ||
9. Refresh target groups and choose the one you've just created | ||
10. Click on "Create load balancer" and wait for it to be provisioned |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
## Grafana | ||
|
||
<details> | ||
<summary>Explain what is Grafana</summary><br><b> | ||
|
||
[Grafana Docs](https://grafana.com/docs/grafana/latest/introduction): "Grafana is a complete observability stack that allows you to monitor and analyze metrics, logs and traces. It allows you to query, visualize, alert on and understand your data no matter where it is stored. Create, explore, and share beautiful dashboards with your team and foster a data driven culture." | ||
</b></details> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters