1
00:00:00,500 --> 00:00:00,740
Now.

2
00:00:00,740 --> 00:00:01,910
We have revoked the service.

3
00:00:01,910 --> 00:00:03,430
Now we want to terminate.

4
00:00:03,700 --> 00:00:06,440
ec2 instance that is running.

5
00:00:06,950 --> 00:00:09,830
So we will go to our cloud console.

6
00:00:10,490 --> 00:00:17,840
In our cloud console we have already logged in as a from the account AWS amazon.com

7
00:00:17,840 --> 00:00:20,090
we have supplied our username and password.

8
00:00:20,750 --> 00:00:24,380
Now in our case, we will go to our ec2 service.

9
00:00:25,190 --> 00:00:30,380
So when we are going to click on this, it is going to show you the resources that are running.

10
00:00:30,950 --> 00:00:40,280
So in my case, our one instances is running of apache web server that we launched when we were saying

11
00:00:40,280 --> 00:00:43,240
how to launch a https site.

12
00:00:43,250 --> 00:00:46,340
So here it is, the Apache Web server that is running.

13
00:00:46,730 --> 00:00:50,960
So we will select this because we no longer need this.

14
00:00:51,290 --> 00:00:54,410
So what we are going to do is instance state.

15
00:00:54,980 --> 00:00:57,380
So we are going to click on Terminate.

16
00:00:58,190 --> 00:01:03,410
So we will click here and now the instance will get a minute.

17
00:01:03,830 --> 00:01:06,440
It will take little bit time, one minute.

18
00:01:07,100 --> 00:01:11,810
So what it is giving the information successfully terminated.

19
00:01:12,380 --> 00:01:19,910
So after sometimes when we are going to check on the status, it is going to show that the instance

20
00:01:19,910 --> 00:01:29,600
got terminated now the instance is not there so we can go to the that ec2 dashboard

21
00:01:30,410 --> 00:01:38,900
so there is running instances is zero here also it is showing instances but that is terminated.

22
00:01:39,500 --> 00:01:41,570
So no longer that instance is available.

23
00:01:41,960 --> 00:01:47,960
You can delete other things also like security groups that mean whatever resources you are having in

24
00:01:47,960 --> 00:01:50,240
this cloud you can delete.

25
00:01:50,510 --> 00:01:59,720
So when we click on security group that can also be deleted, in our case, whatever we created, we

26
00:01:59,720 --> 00:02:01,430
can delete by using this.

27
00:02:01,820 --> 00:02:04,580
So in our case we have successfully terminated the instances.

28
00:02:04,580 --> 00:02:13,910
no instance it is showing running now we will go into our we want to remove the DNS entries

29
00:02:13,910 --> 00:02:14,360
also.

30
00:02:14,900 --> 00:02:21,560
So what we will do because in my case I registered the domain from GoDaddy.com.

31
00:02:21,980 --> 00:02:28,280
So we will go in to our domain, we will click on domain, we will go to the ocloud.in.

32
00:02:28,880 --> 00:02:31,430
Then we are going to click manage DNS.

33
00:02:32,920 --> 00:02:42,400
So when we were making the entries we have made the three entries one was your A records one was your alias 

34
00:02:42,400 --> 00:02:45,700
one record regarding canonical name.

35
00:02:46,060 --> 00:02:51,100
So in our case, what we are going to do, we are going to delete all three records.

36
00:02:51,400 --> 00:02:52,030
This one.

37
00:02:52,030 --> 00:02:52,630
This one.

38
00:02:54,380 --> 00:02:55,120
And this one.

39
00:02:56,210 --> 00:02:57,980
So one by one, we can delete.

40
00:02:59,260 --> 00:03:00,960
It is saying, do you want to delete?

41
00:03:05,490 --> 00:03:08,190
So this got deleted.

42
00:03:09,390 --> 00:03:17,280
That means whatever we've done for implementing that site https, that entries we are deleting, because

43
00:03:17,280 --> 00:03:20,100
now in our case no Web server.

44
00:03:20,100 --> 00:03:21,390
is running in cloud.

45
00:03:21,570 --> 00:03:25,070
So we do not want those entries to be in our DNS.

46
00:03:25,350 --> 00:03:27,310
So here again, we are going to delete.

47
00:03:32,790 --> 00:03:37,740
So these were the three original entries that we are keeping rest we have deleted.

48
00:03:37,980 --> 00:03:40,770
So in our case, first we revoked the certificate.

49
00:03:41,370 --> 00:03:46,530
So then what we did first we revoked the certificate.

50
00:03:47,040 --> 00:03:48,900
Then we terminated the instance.

51
00:03:49,230 --> 00:03:51,720
And then we remove the DNS records.

52
00:03:52,140 --> 00:03:55,290
So now our no resources running.

53
00:03:55,620 --> 00:04:02,430
So that was because sometimes even for the experimental, we launch certain resources now we want to free

54
00:04:02,430 --> 00:04:03,130
resources.

55
00:04:03,150 --> 00:04:12,120
So that is why how you can do these revoke certificate, terminate ec2 instance, and remove DNS records.
