1
00:00:11,100 --> 00:00:16,320
OK, so in this lecture, we're going to look at how to create an rule which you will need in order

2
00:00:16,320 --> 00:00:21,930
to use Amazon's forecasting service, at this point, I'm going to assume you've done all the necessary

3
00:00:21,930 --> 00:00:26,720
work to sign up for an account, add your credit card information and so forth.

4
00:00:27,180 --> 00:00:31,950
You should also have your credentials stored in the path shown here, or you can pass in your credentials

5
00:00:31,950 --> 00:00:36,480
directly using Boto three if you don't know how to get your credentials.

6
00:00:36,720 --> 00:00:38,820
Let's briefly go over how that can be done.

7
00:00:43,660 --> 00:00:47,890
Once you have your credentials, there are several ways you can use them and I'll explain two of these

8
00:00:47,890 --> 00:00:49,180
options in this lecture.

9
00:00:50,290 --> 00:00:58,090
Option number one, create a plain text file at home directory Slashdot, Adewusi credentials inside

10
00:00:58,090 --> 00:01:05,080
this file, paste your credentials using the format shown here option number to pass your credentials

11
00:01:05,080 --> 00:01:07,430
into boats of three directly in the code.

12
00:01:07,870 --> 00:01:14,710
So, for example, if you want to create an S3 client object, this takes into arguments Adewusi Access

13
00:01:14,710 --> 00:01:18,260
Kid and Adewusi Secret Access Key.

14
00:01:18,940 --> 00:01:22,270
Of course, these correspond to the two items we were shown earlier.

15
00:01:23,080 --> 00:01:27,400
OK, so these are two options for how to use your credentials with Boto three.

16
00:01:32,260 --> 00:01:36,760
The next step is to create your IAMGOLD specifically for the forecast to service.

17
00:01:38,670 --> 00:01:45,420
OK, so first, once you're in the U.S. consul, we're going to go to the search box and here I am to

18
00:01:45,420 --> 00:01:47,880
take us to the page for the erm service.

19
00:01:49,860 --> 00:01:53,640
Once you're there, we're going to click on rolls on the left side menu.

20
00:01:56,060 --> 00:01:59,210
On the Royals page, you'll see a list of existing roles.

21
00:02:00,660 --> 00:02:04,410
What you want to do now is click the button to create a new role.

22
00:02:06,980 --> 00:02:12,800
OK, so on the next page, under trust identity, you want the default option, which is eight of US

23
00:02:12,800 --> 00:02:17,210
service, since we're creating this role for an eight of US service.

24
00:02:18,870 --> 00:02:23,610
For use case, you want to scroll down or do a search on the page for the word forecast.

25
00:02:25,350 --> 00:02:30,120
So click on that and then click to go to the next page, which is about permissions.

26
00:02:32,540 --> 00:02:38,960
For this page, basically the only permission that the forecast world needs is access to S3, since

27
00:02:38,960 --> 00:02:40,430
that's where our data is stored.

28
00:02:41,170 --> 00:02:44,450
For me, this was selected automatically, so there was nothing else to do.

29
00:02:45,410 --> 00:02:48,680
So click on the next button again to go to the tags page.

30
00:02:50,830 --> 00:02:55,810
Since I don't need any tags, I'm going to click next again to go to the review page.

31
00:02:58,090 --> 00:03:03,280
On the review page, you can review all the options you've selected and also select a name for your

32
00:03:03,280 --> 00:03:06,440
role, since I already have a forecast role.

33
00:03:06,640 --> 00:03:10,210
I'm going to create a new name, which will be my forecast roll to.

34
00:03:11,790 --> 00:03:15,150
Next, you click on Create Role to complete the process.

35
00:03:18,480 --> 00:03:22,950
So this will bring you back to your list of roles, and if you scroll down, you should be able to see

36
00:03:22,950 --> 00:03:24,330
the role you just created.

37
00:03:25,940 --> 00:03:32,060
The last thing we need to do is grab some information for our script, specifically, we need the R.N.

38
00:03:32,180 --> 00:03:33,650
for the role we just created.

39
00:03:34,340 --> 00:03:42,140
So what is an air in hÉireann stands for Amazon resource to name basically everything in Adewusi has

40
00:03:42,140 --> 00:03:43,700
an Amazon resource name.

41
00:03:43,940 --> 00:03:48,880
You can think of it like an ID to identify different entities within HWC.

42
00:03:49,400 --> 00:03:53,590
You'll see that nearly everything we create in the coming scripts will have friends.

43
00:03:53,620 --> 00:03:56,090
So this is just a way to identify things.

44
00:03:58,170 --> 00:04:03,720
So on this next page, copy down the Aaryn for your role and Save It for the notebook will be looking

45
00:04:03,720 --> 00:04:04,590
at next.
