1
00:00:00,090 --> 00:00:07,050
OK, so now we'll set up an influx, Debbie DataSource, and for that will install Influx Debbie version

2
00:00:07,050 --> 00:00:07,420
two.

3
00:00:07,440 --> 00:00:08,720
And that's what we'll set up in this video.

4
00:00:08,730 --> 00:00:14,310
The next video we'll set up a telegraph collector that will collect data using various plug ins and

5
00:00:14,310 --> 00:00:16,470
store it in the influx DB database.

6
00:00:16,470 --> 00:00:17,190
And then we can raid.

7
00:00:17,190 --> 00:00:22,250
That's record pharma anomaly already installed in flux DB on the same server as Mega-fauna server.

8
00:00:22,260 --> 00:00:27,000
And that was the case when I was using influx to version one for version two is a much bigger system

9
00:00:27,000 --> 00:00:30,780
now, so it warrants being on its own server in a way.

10
00:00:30,810 --> 00:00:33,120
So in this video, I'll set it up on a new server.

11
00:00:33,150 --> 00:00:34,320
So I'm using digitalization.

12
00:00:34,320 --> 00:00:36,300
I'm going to create a new droplet.

13
00:00:37,560 --> 00:00:37,970
OK.

14
00:00:38,010 --> 00:00:43,200
Ubuntu twenty point zero for Basic, just a $6 a month is good enough.

15
00:00:43,620 --> 00:00:44,940
I'm going to put in Amsterdam.

16
00:00:45,450 --> 00:00:47,650
I'm going to use my suicide cookie credit password.

17
00:00:47,670 --> 00:00:51,570
If you need it, I'm just going to call it in flux.

18
00:00:51,900 --> 00:00:53,130
Debug, for example.

19
00:00:53,610 --> 00:00:54,270
Anything you like?

20
00:00:54,330 --> 00:00:54,630
OK.

21
00:00:54,660 --> 00:00:55,380
Great droplet.

22
00:00:59,020 --> 00:01:01,030
OK, nice job dress he gave me.

23
00:01:01,060 --> 00:01:01,720
Copy that.

24
00:01:01,840 --> 00:01:03,580
OK, so I'm going to quickly set up party.

25
00:01:03,610 --> 00:01:08,950
I'm going to call it in flux, going to set my key because I'm using an associated key.

26
00:01:09,010 --> 00:01:11,980
I'm going to set the appearance so that the text is larger.

27
00:01:13,130 --> 00:01:15,060
Back to session and then just press.

28
00:01:15,540 --> 00:01:16,540
And there it is there now.

29
00:01:16,560 --> 00:01:18,210
Open it up, take root.

30
00:01:18,600 --> 00:01:24,090
Up logged on to my new server that I'm going to use for influx Debbie and also the IP addresses that

31
00:01:24,150 --> 00:01:24,390
now.

32
00:01:24,390 --> 00:01:26,990
I'm also going to use the VPC network in this example.

33
00:01:27,000 --> 00:01:31,380
So the microphone, a server mine in flux DB servers will communicate across the private network.

34
00:01:31,530 --> 00:01:37,290
OK, so let's next install influx DB on that server install commands you can find in this link.

35
00:01:38,540 --> 00:01:42,120
And down here, I'll be installing version two point one point one.

36
00:01:42,140 --> 00:01:44,590
That is the latest version of the Tom of making this video.

37
00:01:44,600 --> 00:01:48,650
If there are new versions when you watch this video, then you can try and install those.

38
00:01:48,650 --> 00:01:52,850
But all my examples and documentation will be for version two point one point one.

39
00:01:52,850 --> 00:01:53,210
Okay?

40
00:01:53,240 --> 00:01:57,420
I'll also be selecting Ubuntu and Debian, so I'll be running those commands.

41
00:01:57,440 --> 00:02:02,130
Now that's a lot of commands there, so I've got those commands on my documentation already here.

42
00:02:02,150 --> 00:02:04,590
I recommend running those commands one line at a time.

43
00:02:04,650 --> 00:02:09,259
Okay, so the first line, so I'm just copying that I'm on my server, it's going to right click and

44
00:02:09,289 --> 00:02:10,110
pastes.

45
00:02:10,130 --> 00:02:11,110
And so that's good.

46
00:02:11,120 --> 00:02:11,900
The next line?

47
00:02:11,930 --> 00:02:15,900
Copy that paste by right clicking into the next line.

48
00:02:15,920 --> 00:02:16,520
Same again.

49
00:02:16,520 --> 00:02:18,410
I'm clicking that copy to Clipboard Link.

50
00:02:18,890 --> 00:02:21,140
Right click Paste now.

51
00:02:21,170 --> 00:02:27,170
Sudo apt get update and celebrity get install influx TV to enter.

52
00:02:28,480 --> 00:02:29,020
Yes.

53
00:02:30,770 --> 00:02:36,080
OK, now normally it's not started by default, so we'll just verify that doing the studies in flux

54
00:02:36,080 --> 00:02:39,590
TB status says it's loaded, but it's not active.

55
00:02:39,620 --> 00:02:44,390
So let's start it controls sea start and check status again.

56
00:02:44,720 --> 00:02:46,220
We go active running control.

57
00:02:46,220 --> 00:02:46,520
See?

58
00:02:46,610 --> 00:02:49,010
Now that will be running on that IP address.

59
00:02:49,700 --> 00:02:51,390
Colon eight or eight.

60
00:02:51,410 --> 00:02:51,980
Six.

61
00:02:53,160 --> 00:02:57,840
OK, so there's a fancy user device, which comes part of influx debate to get started.

62
00:02:57,870 --> 00:02:58,930
We need to create a user.

63
00:02:58,950 --> 00:03:00,870
So a lot of ways it's very similar to Gravano.

64
00:03:00,880 --> 00:03:03,870
So I'm going to try to use Koger Pharma and the password.

65
00:03:03,900 --> 00:03:06,760
I'm just keeping it simple, but you can make yours very complicated.

66
00:03:06,780 --> 00:03:08,250
We need to put in an organization.

67
00:03:08,260 --> 00:03:09,460
You can put anything you like.

68
00:03:09,540 --> 00:03:15,390
I'm just going to put in ESP code and a default bucket and call that telegraph like that because will

69
00:03:15,390 --> 00:03:20,310
install the Telegraph collector and all the information will be stored into that bucket code telegraph.

70
00:03:20,490 --> 00:03:21,520
OK, continue.

71
00:03:21,540 --> 00:03:22,560
I'm going to press click start.

72
00:03:23,370 --> 00:03:25,980
OK, and then you'll say it's an application similar to Kafala.

73
00:03:25,990 --> 00:03:30,740
It's about reading time series data, and you can get that data from many places.

74
00:03:30,750 --> 00:03:31,850
So data there.

75
00:03:31,920 --> 00:03:36,630
So here are a whole bunch of instructions on how to get data from various places, but more of that

76
00:03:36,630 --> 00:03:37,910
later buckets.

77
00:03:37,950 --> 00:03:38,820
This is important.

78
00:03:38,820 --> 00:03:44,250
The Telegraph bucket is our default bucket that we just credit, and we'll be reading from that in Gravano.

79
00:03:44,280 --> 00:03:49,230
And if you click it, we can start to see some measurements on it submit and we can start to see some

80
00:03:49,230 --> 00:03:49,800
graphs.

81
00:03:50,100 --> 00:03:50,940
Five minutes.

82
00:03:50,980 --> 00:03:55,800
OK, so what we're seeing here is just default properties about the telegraph bucket.

83
00:03:55,800 --> 00:04:00,930
In the next video, we'll continue to set up a telegraph collector and we'll have a lot more properties

84
00:04:00,930 --> 00:04:05,230
that we can query before we continue to add functionality to the Telegraph Collector.

85
00:04:05,250 --> 00:04:10,710
We'll set up the data source in Gravano so that we can at least start seeing some of the data in gharana.

86
00:04:10,740 --> 00:04:12,820
So go into data first.

87
00:04:12,870 --> 00:04:17,640
Me to make sure we have a scraper and we do have a scraper is giving us a default so we can call that

88
00:04:17,640 --> 00:04:18,510
anything we like.

89
00:04:18,570 --> 00:04:20,519
I'll call it my scraper.

90
00:04:20,610 --> 00:04:21,329
It doesn't really matter.

91
00:04:21,370 --> 00:04:22,019
Just important.

92
00:04:22,019 --> 00:04:24,540
There is one scraper there and it displays the metrics.

93
00:04:24,540 --> 00:04:25,440
You are OK.

94
00:04:25,530 --> 00:04:31,170
The API tokens we have one token on a token will need that copy the clipboard.

95
00:04:31,260 --> 00:04:33,030
Now your token will be different.

96
00:04:33,060 --> 00:04:33,710
That's my one.

97
00:04:33,720 --> 00:04:40,620
Now go into Gravano, got into configuration data sources and added data source influx DB.

98
00:04:40,620 --> 00:04:43,500
So select that influx language.

99
00:04:43,500 --> 00:04:47,940
We're using influx DB two, so we need to select Flux the address.

100
00:04:47,940 --> 00:04:51,060
I'll be using the VPC address of my influx DB server.

101
00:04:51,090 --> 00:05:00,000
So if I go to distillation, networking, VPC and if I look at my Amsterdam remembers influx DB, it's

102
00:05:00,000 --> 00:05:03,300
IP address is that so I'll be connecting to my influx DB server.

103
00:05:03,300 --> 00:05:07,680
Using the internal IP, you could use the external IP, or you could have been stored in flux DB on

104
00:05:07,680 --> 00:05:11,340
the same server and you'd be using one 27 zero zero one or localhost.

105
00:05:11,550 --> 00:05:18,360
But I'm using 10 one three three zero two five column eight 000 eight six.

106
00:05:18,540 --> 00:05:20,400
OK, server default.

107
00:05:21,120 --> 00:05:26,160
We're not using Basic Cause organization code is the one I used.

108
00:05:26,220 --> 00:05:32,160
The token is what I just copied, so I'm pasting that in the token I got from this Raphinha's token

109
00:05:32,160 --> 00:05:32,670
right here.

110
00:05:32,700 --> 00:05:35,010
This is essentially a password that will be used.

111
00:05:35,070 --> 00:05:39,090
The default bucket doesn't matter what you right here, but I'm going to write Telegraph Save Sabin

112
00:05:39,090 --> 00:05:39,600
Test.

113
00:05:39,690 --> 00:05:40,080
Okay?

114
00:05:40,080 --> 00:05:42,960
And I were reading influx looks to be OK.

115
00:05:43,020 --> 00:05:45,400
Three buckets found sometimes doesn't work.

116
00:05:45,400 --> 00:05:47,100
Burscough Okay, now.

117
00:05:48,010 --> 00:05:55,720
We can go to explore and do a simple test, so in flux to be run a sample query, show buckets and a

118
00:05:55,720 --> 00:06:01,090
go telegraph tasks and monitoring those to our system buckets, we won't be using those.

119
00:06:01,090 --> 00:06:02,850
We'll be using the telegraph bucket.

120
00:06:02,860 --> 00:06:07,870
So if you can see a telegraph bucket when you use Explore in Flux DB, you run the sample query, then

121
00:06:08,020 --> 00:06:08,800
we can continue.

122
00:06:09,160 --> 00:06:17,140
OK, so I have connected to the BBC IP address and that was 10 Dot one three three zero five.

123
00:06:17,230 --> 00:06:22,760
Now I'm going to configure the firewall because that address up there is a public address.

124
00:06:22,780 --> 00:06:28,360
I'm now going to set up a firewall to restrict access to that to only my server that I'm using to make

125
00:06:28,360 --> 00:06:32,470
this video and also to the Raphinha's internal VPC address.

126
00:06:32,500 --> 00:06:36,810
So if I look at Mega-fauna server, it has an internal IP address as well.

127
00:06:36,820 --> 00:06:41,950
10 one three three zero three a copy that does put that in my diagram there.

128
00:06:42,070 --> 00:06:42,490
OK.

129
00:06:42,520 --> 00:06:49,090
I'm now going to set up the firewall, so only Mega-fauna server can access the influx DB server on

130
00:06:49,270 --> 00:06:53,500
eight zero eight six and also my computer's I'm creating this video on.

131
00:06:53,620 --> 00:06:54,010
OK.

132
00:06:54,040 --> 00:06:55,330
So firewalls.

133
00:06:56,880 --> 00:07:01,880
Create a new firewall in flux, be firewall, for example.

134
00:07:02,710 --> 00:07:11,320
Port, 20, to remove those and just use my IP address, which happens to be that so I can S.H. at a

135
00:07:11,320 --> 00:07:14,830
new rule for custom eight zero eight six.

136
00:07:16,030 --> 00:07:20,270
We're going to allow that IP address so that I can visit it in a browser just like I'm doing here.

137
00:07:20,490 --> 00:07:29,180
086 from my address and also allow Bafana's the PC address, which was that one they're into.

138
00:07:29,360 --> 00:07:30,350
OK, so.

139
00:07:31,370 --> 00:07:33,680
I'm not going to change any outbound rules.

140
00:07:33,770 --> 00:07:40,460
I'm going to apply it to my influx DB Droplet Crate Firewall now, if you're using IWC or some other

141
00:07:40,460 --> 00:07:46,130
cloud provider, you have a similar process for creating firewalls when I was the called security groups.

142
00:07:46,190 --> 00:07:51,560
If you don't want to use firewall like that, I've created some IP tables rules that you can adapt so

143
00:07:51,560 --> 00:07:55,850
you can accept from the particular IP address or domain isolate.

144
00:07:55,850 --> 00:07:56,370
Six.

145
00:07:56,390 --> 00:08:02,090
You can have multiple accept statements, drop everything else and then just verify that it exists in

146
00:08:02,090 --> 00:08:03,200
the IP tables list.

147
00:08:03,380 --> 00:08:08,600
OK, so going back to Gravano, we should verify that firewall set up still hasn't stopped our ability

148
00:08:08,600 --> 00:08:10,060
to query through Farnum.

149
00:08:10,070 --> 00:08:15,770
So data sources in flux DB and just do a quick test like three buckets found.

150
00:08:15,830 --> 00:08:21,260
So going back to Explore tab should better run that simple query again, and we can still see it, and

151
00:08:21,260 --> 00:08:23,690
these applications should still work in my browser.

152
00:08:23,810 --> 00:08:27,030
Scrapers Telegraph Buckets, sources.

153
00:08:27,050 --> 00:08:27,450
Excellent.

154
00:08:27,470 --> 00:08:33,080
In the next video will set up the Telegraph collector to start collecting statistics about the actual

155
00:08:33,080 --> 00:08:36,169
server that I've installed this influx DB onto.

156
00:08:36,200 --> 00:08:36,770
Excellent.

