OK, so now we'll set up an influx, Debbie DataSource, and for that will install Influx Debbie version
two.
And that's what we'll set up in this video.
The next video we'll set up a telegraph collector that will collect data using various plug ins and
store it in the influx DB database.
And then we can raid.
That's record pharma anomaly already installed in flux DB on the same server as Mega-fauna server.
And that was the case when I was using influx to version one for version two is a much bigger system
now, so it warrants being on its own server in a way.
So in this video, I'll set it up on a new server.
So I'm using digitalization.
I'm going to create a new droplet.
OK.
Ubuntu twenty point zero for Basic, just a $6 a month is good enough.
I'm going to put in Amsterdam.
I'm going to use my suicide cookie credit password.
If you need it, I'm just going to call it in flux.
Debug, for example.
Anything you like?
OK.
Great droplet.
OK, nice job dress he gave me.
Copy that.
OK, so I'm going to quickly set up party.
I'm going to call it in flux, going to set my key because I'm using an associated key.
I'm going to set the appearance so that the text is larger.
Back to session and then just press.
And there it is there now.
Open it up, take root.
Up logged on to my new server that I'm going to use for influx Debbie and also the IP addresses that
now.
I'm also going to use the VPC network in this example.
So the microphone, a server mine in flux DB servers will communicate across the private network.
OK, so let's next install influx DB on that server install commands you can find in this link.
And down here, I'll be installing version two point one point one.
That is the latest version of the Tom of making this video.
If there are new versions when you watch this video, then you can try and install those.
But all my examples and documentation will be for version two point one point one.
Okay?
I'll also be selecting Ubuntu and Debian, so I'll be running those commands.
Now that's a lot of commands there, so I've got those commands on my documentation already here.
I recommend running those commands one line at a time.
Okay, so the first line, so I'm just copying that I'm on my server, it's going to right click and
pastes.
And so that's good.
The next line?
Copy that paste by right clicking into the next line.
Same again.
I'm clicking that copy to Clipboard Link.
Right click Paste now.
Sudo apt get update and celebrity get install influx TV to enter.
Yes.
OK, now normally it's not started by default, so we'll just verify that doing the studies in flux
TB status says it's loaded, but it's not active.
So let's start it controls sea start and check status again.
We go active running control.
See?
Now that will be running on that IP address.
Colon eight or eight.
Six.
OK, so there's a fancy user device, which comes part of influx debate to get started.
We need to create a user.
So a lot of ways it's very similar to Gravano.
So I'm going to try to use Koger Pharma and the password.
I'm just keeping it simple, but you can make yours very complicated.
We need to put in an organization.
You can put anything you like.
I'm just going to put in ESP code and a default bucket and call that telegraph like that because will
install the Telegraph collector and all the information will be stored into that bucket code telegraph.
OK, continue.
I'm going to press click start.
OK, and then you'll say it's an application similar to Kafala.
It's about reading time series data, and you can get that data from many places.
So data there.
So here are a whole bunch of instructions on how to get data from various places, but more of that
later buckets.
This is important.
The Telegraph bucket is our default bucket that we just credit, and we'll be reading from that in Gravano.
And if you click it, we can start to see some measurements on it submit and we can start to see some
graphs.
Five minutes.
OK, so what we're seeing here is just default properties about the telegraph bucket.
In the next video, we'll continue to set up a telegraph collector and we'll have a lot more properties
that we can query before we continue to add functionality to the Telegraph Collector.
We'll set up the data source in Gravano so that we can at least start seeing some of the data in gharana.
So go into data first.
Me to make sure we have a scraper and we do have a scraper is giving us a default so we can call that
anything we like.
I'll call it my scraper.
It doesn't really matter.
Just important.
There is one scraper there and it displays the metrics.
You are OK.
The API tokens we have one token on a token will need that copy the clipboard.
Now your token will be different.
That's my one.
Now go into Gravano, got into configuration data sources and added data source influx DB.
So select that influx language.
We're using influx DB two, so we need to select Flux the address.
I'll be using the VPC address of my influx DB server.
So if I go to distillation, networking, VPC and if I look at my Amsterdam remembers influx DB, it's
IP address is that so I'll be connecting to my influx DB server.
Using the internal IP, you could use the external IP, or you could have been stored in flux DB on
the same server and you'd be using one 27 zero zero one or localhost.
But I'm using 10 one three three zero two five column eight 000 eight six.
OK, server default.
We're not using Basic Cause organization code is the one I used.
The token is what I just copied, so I'm pasting that in the token I got from this Raphinha's token
right here.
This is essentially a password that will be used.
The default bucket doesn't matter what you right here, but I'm going to write Telegraph Save Sabin
Test.
Okay?
And I were reading influx looks to be OK.
Three buckets found sometimes doesn't work.
Burscough Okay, now.
We can go to explore and do a simple test, so in flux to be run a sample query, show buckets and a
go telegraph tasks and monitoring those to our system buckets, we won't be using those.
We'll be using the telegraph bucket.
So if you can see a telegraph bucket when you use Explore in Flux DB, you run the sample query, then
we can continue.
OK, so I have connected to the BBC IP address and that was 10 Dot one three three zero five.
Now I'm going to configure the firewall because that address up there is a public address.
I'm now going to set up a firewall to restrict access to that to only my server that I'm using to make
this video and also to the Raphinha's internal VPC address.
So if I look at Mega-fauna server, it has an internal IP address as well.
10 one three three zero three a copy that does put that in my diagram there.
OK.
I'm now going to set up the firewall, so only Mega-fauna server can access the influx DB server on
eight zero eight six and also my computer's I'm creating this video on.
OK.
So firewalls.
Create a new firewall in flux, be firewall, for example.
Port, 20, to remove those and just use my IP address, which happens to be that so I can S.H. at a
new rule for custom eight zero eight six.
We're going to allow that IP address so that I can visit it in a browser just like I'm doing here.
086 from my address and also allow Bafana's the PC address, which was that one they're into.
OK, so.
I'm not going to change any outbound rules.
I'm going to apply it to my influx DB Droplet Crate Firewall now, if you're using IWC or some other
cloud provider, you have a similar process for creating firewalls when I was the called security groups.
If you don't want to use firewall like that, I've created some IP tables rules that you can adapt so
you can accept from the particular IP address or domain isolate.
Six.
You can have multiple accept statements, drop everything else and then just verify that it exists in
the IP tables list.
OK, so going back to Gravano, we should verify that firewall set up still hasn't stopped our ability
to query through Farnum.
So data sources in flux DB and just do a quick test like three buckets found.
So going back to Explore tab should better run that simple query again, and we can still see it, and
these applications should still work in my browser.
Scrapers Telegraph Buckets, sources.
Excellent.
In the next video will set up the Telegraph collector to start collecting statistics about the actual
server that I've installed this influx DB onto.
Excellent.