1 00:00:00,000 --> 00:00:02,320 ‫So I want to quickly show you 2 00:00:02,320 --> 00:00:03,410 ‫what Lightsail looks like 3 00:00:03,410 --> 00:00:05,290 ‫we're not going to play much with it. 4 00:00:05,290 --> 00:00:06,650 ‫But I want to show you what it looks like. 5 00:00:06,650 --> 00:00:09,480 ‫So Lightsail, as you can see, looks nothing like AWS, 6 00:00:09,480 --> 00:00:11,240 ‫it is a separate service 7 00:00:11,240 --> 00:00:12,670 ‫because it doesn't have any kind 8 00:00:12,670 --> 00:00:14,770 ‫of good integrations with AWS. 9 00:00:14,770 --> 00:00:16,690 ‫So let's get started with Lightsail. 10 00:00:16,690 --> 00:00:18,110 ‫They need you to create an instance. 11 00:00:18,110 --> 00:00:20,340 ‫And so say, where is this going to be. 12 00:00:20,340 --> 00:00:22,730 ‫And so as you can see, you can change the region 13 00:00:22,730 --> 00:00:25,060 ‫and the AZ from here for that instance. 14 00:00:25,060 --> 00:00:28,010 ‫And there's limited amount of regions available to you. 15 00:00:28,010 --> 00:00:30,840 ‫So for example, we can set at one in Ireland, 16 00:00:30,840 --> 00:00:34,310 ‫then based on where you select your instance to be, 17 00:00:34,310 --> 00:00:36,110 ‫you're going to get some parameters 18 00:00:36,110 --> 00:00:37,470 ‫to configure your instance, 19 00:00:37,470 --> 00:00:38,990 ‫but you're going to get a lot less. 20 00:00:38,990 --> 00:00:40,640 ‫so you can pick an instance image 21 00:00:40,640 --> 00:00:42,590 ‫which would correspond to an AMI a but again, 22 00:00:42,590 --> 00:00:45,670 ‫all these things are hidden from you in lightsail. 23 00:00:45,670 --> 00:00:47,050 ‫And so for example, we can say okay, 24 00:00:47,050 --> 00:00:49,840 ‫we want to use a blueprint such as a template, 25 00:00:49,840 --> 00:00:51,640 ‫and we can use the OS only. 26 00:00:51,640 --> 00:00:53,310 ‫This would be very similar to EC2, 27 00:00:53,310 --> 00:00:55,100 ‫but we can go with App NOS for example. 28 00:00:55,100 --> 00:00:56,120 ‫We can say okay, 29 00:00:56,120 --> 00:00:59,360 ‫I want to launch a WordPress websites right now. 30 00:00:59,360 --> 00:01:01,470 ‫and you click on this And you have a WordPress website. 31 00:01:01,470 --> 00:01:02,600 ‫So as you can see, 32 00:01:02,600 --> 00:01:05,580 ‫lightsail is a much lighter as the name indicates. 33 00:01:05,580 --> 00:01:07,930 ‫And it's really meant for you to be quickly up 34 00:01:07,930 --> 00:01:10,220 ‫and going on AWS without understanding, 35 00:01:10,220 --> 00:01:12,650 ‫the entire infrastructure that goes behind it. 36 00:01:12,650 --> 00:01:14,940 ‫So this is for very simple applications. 37 00:01:14,940 --> 00:01:17,060 ‫So we can have an optional launch grid, 38 00:01:17,060 --> 00:01:18,660 ‫which is an EC2 use data, 39 00:01:18,660 --> 00:01:20,740 ‫we can change the SSH key pair if you wanted to. 40 00:01:20,740 --> 00:01:22,680 ‫But you can see all these things are kind of hidden. 41 00:01:22,680 --> 00:01:23,513 ‫They don't want you 42 00:01:23,513 --> 00:01:25,690 ‫to modify these parameters well, right away. 43 00:01:25,690 --> 00:01:27,400 ‫The cool thing here is the instance plan. 44 00:01:27,400 --> 00:01:29,690 ‫So we have a lot less customization here, 45 00:01:29,690 --> 00:01:31,880 ‫we don't see the EC2 instance types, 46 00:01:31,880 --> 00:01:35,430 ‫we just see some instances with a price indicated, 47 00:01:35,430 --> 00:01:37,960 ‫so it's easy to understand the price is going to cost me 48 00:01:37,960 --> 00:01:40,370 ‫For example, this one will cost me 3.5 USD, 49 00:01:40,370 --> 00:01:42,630 ‫but it's the first month is going to be free. 50 00:01:42,630 --> 00:01:44,040 ‫So maybe that's the one I want. 51 00:01:44,040 --> 00:01:48,070 ‫And we can see how much RAM CPU I get and disk space. 52 00:01:48,070 --> 00:01:49,870 ‫So this is really, really easy to use. 53 00:01:49,870 --> 00:01:50,703 ‫As you can see, 54 00:01:50,703 --> 00:01:52,510 ‫we don't have that many instance types possible. 55 00:01:52,510 --> 00:01:54,330 ‫We can go all the way to one 56 00:01:54,330 --> 00:01:56,790 ‫that costs 160 US dollars per month, 57 00:01:56,790 --> 00:02:01,090 ‫and we see 32 gigabytes of memory, eight VCPU 640 ASG 58 00:02:01,090 --> 00:02:03,537 ‫and seven terabytes of network transfer, 59 00:02:03,537 --> 00:02:06,060 ‫so fairly easy, I'm going to just pick this one 60 00:02:06,060 --> 00:02:07,170 ‫because it's in the free tier, 61 00:02:07,170 --> 00:02:09,350 ‫and then you have to make sure you delete at the end. 62 00:02:09,350 --> 00:02:11,260 ‫So it's going to be WordPress one, 63 00:02:11,260 --> 00:02:12,720 ‫and it will create this instance. 64 00:02:12,720 --> 00:02:16,200 ‫So we can see here, no security groups, no networking, 65 00:02:16,200 --> 00:02:19,780 ‫no EBS volumes, really, it's meant to be very, very simple. 66 00:02:19,780 --> 00:02:22,660 ‫And that's the main idea behind lightsail. 67 00:02:22,660 --> 00:02:24,410 ‫So while this instance is pending, again, 68 00:02:24,410 --> 00:02:25,770 ‫we can go ahead and create, 69 00:02:25,770 --> 00:02:28,340 ‫we could go ahead and create a database. 70 00:02:28,340 --> 00:02:29,610 ‫So you could create database and again, 71 00:02:29,610 --> 00:02:32,270 ‫this is not RDS, this is lightsail. 72 00:02:32,270 --> 00:02:34,130 ‫So it's going to be much more easy. 73 00:02:34,130 --> 00:02:35,030 ‫You choose again, the region 74 00:02:35,030 --> 00:02:37,390 ‫and the AZ you pick the database type. 75 00:02:37,390 --> 00:02:39,900 ‫And then you can specify some credentials for the login, 76 00:02:39,900 --> 00:02:42,450 ‫if you want to standard database or high availability, 77 00:02:42,450 --> 00:02:44,550 ‫and then the price you're willing to pay. 78 00:02:44,550 --> 00:02:45,960 ‫And again, this database right here, 79 00:02:45,960 --> 00:02:47,580 ‫will get you the first month three, 80 00:02:47,580 --> 00:02:49,310 ‫but then you would be $15 per month. 81 00:02:49,310 --> 00:02:50,260 ‫So as you can see, again, 82 00:02:50,260 --> 00:02:53,340 ‫it's a very simplified version of AWS, 83 00:02:53,340 --> 00:02:55,100 ‫hence the name lightsail. 84 00:02:55,100 --> 00:02:56,570 ‫We could do the same with networking. 85 00:02:56,570 --> 00:02:57,500 ‫I won't show you right now. 86 00:02:57,500 --> 00:02:58,930 ‫But you can create all these three things, 87 00:02:58,930 --> 00:03:00,340 ‫including a load balancer, 88 00:03:00,340 --> 00:03:01,840 ‫In the networking section, 89 00:03:01,840 --> 00:03:04,500 ‫we could do storage to get some more storage disk 90 00:03:04,500 --> 00:03:06,470 ‫and snapshots for your backups. 91 00:03:06,470 --> 00:03:11,320 ‫So this is a very simplified one view of AWS. 92 00:03:11,320 --> 00:03:13,120 ‫Now let's look at our WordPress. 93 00:03:13,120 --> 00:03:14,980 ‫So here, if I click here, 94 00:03:14,980 --> 00:03:17,880 ‫this actually gets me into an SSH terminal, 95 00:03:17,880 --> 00:03:19,340 ‫into my EC2 instance. 96 00:03:19,340 --> 00:03:22,530 ‫So I need to wait a little bit for it to boot up. 97 00:03:22,530 --> 00:03:24,163 ‫So if I now try again, 98 00:03:25,000 --> 00:03:27,360 ‫I'm able to connect to my instance using, 99 00:03:27,360 --> 00:03:30,140 ‫a version of SSH through the browser. 100 00:03:30,140 --> 00:03:33,700 ‫So again, it's really intended to be very easy to be used. 101 00:03:33,700 --> 00:03:36,320 ‫So we're not going to do any commands on the SSH. 102 00:03:36,320 --> 00:03:39,560 ‫But as we can see a WordPress was deployed. 103 00:03:39,560 --> 00:03:42,080 ‫And so I can click on it and view it 104 00:03:42,080 --> 00:03:44,300 ‫and then we can connect using SSH again from the same thing. 105 00:03:44,300 --> 00:03:47,570 ‫But if we look at the public IP that is running, 106 00:03:47,570 --> 00:03:49,840 ‫and open this in a new tab, 107 00:03:49,840 --> 00:03:53,140 ‫then we're going to connect into our WordPress instance. 108 00:03:53,140 --> 00:03:55,240 ‫And so we are getting our hello world blog. 109 00:03:55,240 --> 00:03:57,607 ‫And I'm not a WordPress expert. 110 00:03:57,607 --> 00:03:59,030 ‫So I'm not going to show you how to modify this, 111 00:03:59,030 --> 00:04:00,600 ‫but the idea is that yes, 112 00:04:00,600 --> 00:04:03,140 ‫Something is being created on our instance. 113 00:04:03,140 --> 00:04:04,910 ‫And that was very, very easy. 114 00:04:04,910 --> 00:04:06,880 ‫So lightsail, I hope you get an idea of what it is. 115 00:04:06,880 --> 00:04:09,980 ‫It's meant to be a lightweight version of AWS, 116 00:04:09,980 --> 00:04:11,830 ‫but it's not something you're going to use 117 00:04:11,830 --> 00:04:14,610 ‫in your job, I believe as a RDS developer, 118 00:04:14,610 --> 00:04:18,030 ‫as a subs lab practitioners, solutions architect, etc, etc. 119 00:04:18,030 --> 00:04:20,870 ‫Still a good idea to know about the service 120 00:04:20,870 --> 00:04:23,476 ‫and it can come up at, the exam, usually as a destructor. 121 00:04:23,476 --> 00:04:27,110 ‫Very, very rarely as a service you should get the answer of. 122 00:04:27,110 --> 00:04:28,500 ‫So that's it when you're done, 123 00:04:28,500 --> 00:04:30,170 ‫please make sure to delete that instance. 124 00:04:30,170 --> 00:04:31,260 ‫So you click on delete, 125 00:04:31,260 --> 00:04:32,280 ‫and then delete the instance 126 00:04:32,280 --> 00:04:34,490 ‫so that you don't incur any charges. 127 00:04:34,490 --> 00:04:35,800 ‫So that's it. I hope you liked it, 128 00:04:35,800 --> 00:04:37,750 ‫and I will see you in the next lecture.