1
00:00:03,800 --> 00:00:09,300
So let's get started using the A.W. has been stopped from the AWB management console.

2
00:00:09,410 --> 00:00:15,470
You can either search for service here or click on all services you'll see to the list of services is

3
00:00:15,470 --> 00:00:16,040
quite long.

4
00:00:16,790 --> 00:00:18,800
What we are needing is computing power.

5
00:00:18,830 --> 00:00:23,090
So for that reason, we are going to look under compute or elastic Bienstock.

6
00:00:26,110 --> 00:00:30,520
They're going to create a new application, and it's called this application API.

7
00:00:32,630 --> 00:00:33,590
And click on Create.

8
00:00:35,970 --> 00:00:39,060
Or application will need an environment in order to run.

9
00:00:39,600 --> 00:00:42,150
So for that, we're going to create a new environment.

10
00:00:43,460 --> 00:00:49,070
This will be a Web server environment because we have this API that works over HTP.

11
00:00:52,220 --> 00:00:54,140
And then called the environment, named production.

12
00:00:56,610 --> 00:01:02,490
Or leave the domain as it is, because it will be automatically generated and in the pre configured

13
00:01:02,490 --> 00:01:03,100
platform.

14
00:01:03,120 --> 00:01:05,850
I will select as this is a Java application.

15
00:01:08,240 --> 00:01:13,640
When it comes to the application code, which going to start with a simple application just to see how

16
00:01:13,670 --> 00:01:20,450
this environment works, I'm going to click on Create Environment and let AAUW start this application.

17
00:01:23,890 --> 00:01:29,480
Once the environment has been launched and application deployed, you should see this overview page

18
00:01:29,740 --> 00:01:34,060
well, it says that the health is a key indicator that everything has been correctly deployed.

19
00:01:34,210 --> 00:01:38,380
And right here on tap, you will see that you are L4 where the application was deployed.

20
00:01:38,410 --> 00:01:43,210
So if you click on, it will be taken to this page where you see the application.

21
00:01:43,510 --> 00:01:45,610
This is not the application that we wanted to deploy.

22
00:01:45,970 --> 00:01:51,620
This is something that is provided by AWB, but it just shows how this thing works.

23
00:01:52,380 --> 00:01:56,170
Now, eventually, we wanted to deploy our job application.

24
00:01:56,170 --> 00:02:01,270
So for that reason, I'm going to go here to upload and deploy and I'm going to select the jar file.

25
00:02:01,420 --> 00:02:03,390
That is the output of the bid process.

26
00:02:03,910 --> 00:02:08,350
If you don't have the jar file locally in your computer, you can check the resources folder and get

27
00:02:08,350 --> 00:02:09,539
the jar file from there.

28
00:02:15,210 --> 00:02:17,700
After I selected the final, I will deploy.

29
00:02:19,360 --> 00:02:25,030
This will upload a new application version and will deploy it on the instance that we have created,

30
00:02:25,430 --> 00:02:29,160
this will take again a few minutes, but after that we should see the result.

31
00:02:29,740 --> 00:02:35,050
And then we have the indication that the application has been successfully deployed and we can start

32
00:02:35,200 --> 00:02:40,330
looking at it now as this is an API, it doesn't have a graphical interface for what it will do is to

33
00:02:40,330 --> 00:02:43,090
copy this URL and go back to Posman.

34
00:02:45,010 --> 00:02:49,430
In Boston, we're going to click here on this gear in order to manage the environment.

35
00:02:50,080 --> 00:02:52,830
What do you want to do is to create not one additional environment.

36
00:02:52,840 --> 00:02:55,000
So I'm going to copy the localhost environment.

37
00:02:56,110 --> 00:02:58,420
And click on it, call it production.

38
00:02:59,840 --> 00:03:05,070
And now for the address, I'm going to use the address that has been generated from just.

39
00:03:07,800 --> 00:03:11,160
Make sure not to include any new lines or spaces or anything else.

40
00:03:11,970 --> 00:03:16,260
Also, we need to protocol EDP not to access to.

41
00:03:17,940 --> 00:03:18,960
Let's get an update.

42
00:03:20,160 --> 00:03:24,690
And now as we have two environments, we can switch between them, so we said the localhost, I will

43
00:03:24,690 --> 00:03:25,620
select production.

44
00:03:26,680 --> 00:03:29,230
And if I go to health, for example.

45
00:03:30,610 --> 00:03:31,900
I can use this and point.

46
00:03:32,840 --> 00:03:37,490
And now the status that is coming is from the AWB instance that we have deployed.

47
00:03:39,890 --> 00:03:42,450
Let's check if the rest of the API is working.

48
00:03:42,950 --> 00:03:45,380
So what are going to do and Don, I get all cars.

49
00:03:47,690 --> 00:03:48,590
And a new car.

50
00:03:49,860 --> 00:03:53,590
And go back to get old cars and want to see the car here.

51
00:03:54,090 --> 00:04:00,150
So obviously this application has been successfully deployed on AAUW using the elastic Bienstock.

