docs: example how to find the private ip using AWS

This commit is contained in:
Peter Hedenskog 2019-09-28 18:50:30 +02:00
parent 8b820d4bfc
commit d149470bef
2 changed files with 7 additions and 1 deletions

View File

@ -145,11 +145,17 @@ Your Graphite server needs to open port 2003 and 8080 for TCP traffic for your s
If you are using AWS you always gives your servers a security group. The servers running sitespeed.io (collecting mtrics) can all have the same group (allows outbund traffic and only allowing inbound for ssh).
The Graphite server can the open 2003 and 8080 only for that group (write the group name in the source/security group field). In this example we also run Grafana on port 3000 and have it open to the world. Make sure that when you send data between the server that you using the **Private IP** of the server (else they cannot reach each other). You find the private IP in the *description* section of your server in the admin.
The Graphite server can the open 2003 and 8080 only for that group (write the group name in the source/security group field). In this example we also run Grafana on port 3000 and have it open to the world.
![Security group AWS]({{site.baseurl}}/img/security-group-aws.png)
{: .img-thumbnail}
Make sure that when you send data between the server that you using the **Private DNS/Private IP** of the server (else they cannot reach each other). You find the private IP in the *description* section of your server in the admin.
![Private IP AWS]({{site.baseurl}}/img/private-ip.jpg)
{: .img-thumbnail}
If you are using Digital Ocean, you can setup the firewall rule in the admin. Here you add each instance that need to be able to send data (*sitespeed.io-worker* in this example). On this server we also Grafana for HTTP/HTTPS traffic.
![Firewall setup Digital Ocean]({{site.baseurl}}/img/firewall-digitalocean.png)

BIN
docs/img/private-ip.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 KiB