Amazon Lightsail Training Series: Course 1, Creating your VPS Instance | Chase Raz | Skillshare

Amazon Lightsail Training Series: Course 1, Creating your VPS Instance

Chase Raz, University Instructor, Corporate Trainer

Amazon Lightsail Training Series: Course 1, Creating your VPS Instance

Chase Raz, University Instructor, Corporate Trainer

Play Speed
  • 0.5x
  • 1x (Normal)
  • 1.25x
  • 1.5x
  • 2x
10 Lessons (48m)
    • 1. Amazon Lightsail Training Series: Course 1 Introduction

    • 2. Sign up for Amazon AWS and Lightsail

    • 3. Introducing Bitnami

    • 4. Create your first Lightsail Instance

    • 5. Manage your Lightsail Instance

    • 6. Reflection: Things change... often!

    • 7. Viewing your Instance's default webpage

    • 8. Assign a Static IP to your Lightsail Instance

    • 9. Point a Domain Name to your Instance

    • 10. Amazon Lightsail Training Series: Course 1 Conclusion

  • --
  • Beginner level
  • Intermediate level
  • Advanced level
  • All levels
  • Beg/Int level
  • Int/Adv level

Community Generated

The level is determined by a majority opinion of students who have reviewed this class. The teacher's recommendation is shown until at least 5 student responses are collected.





About This Class

Note: This is the first class in a series of trainings on Amazon Lightsail.  All are available to you with your existing subscription to Skillshare. 

  • Course 1, Creating your VPS Instance (This course)
  • Course 2, Connecting and Hosting Websites
  • Course 3, Using MySQL and phpMyAdmin for dynamic sites (Coming March 2018)
  • Course 4, WordPress Installation and Management (Coming April 2018)
  • Course 5, SSL Encryption using Certbot and Let's Encrypt (Coming April 2018)

In this introductory course of the Hosting Websites with Amazon Lightsail training series, you'll be introduced to Amazon Lightsail as a separate gated area within the AWS (Amazon Web Services) cloud.  Lightsail is designed to make it easier to get started with cloud hosting by removing all of the complex infrastructure design and setup.  

You'll learn how to create an Amazon AWS account to access Amazon Lightsail, how to create your first instance of a Virtual Private Server (VPS), and how to observe the default operations of the server without making any modifications (yet!).  You also get brief instructions on how to set up an "A name" record with your domain name registrar and DNS provider to point a domain name to your Lightsail VPS instance.

About the Instructor

The Hosting Websites with Amazon Lightsail training series is taught by Chase Raz, a University Instructor, Corporate Trainer, and Consultant with nearly a decade of experience teaching adult students, both academically and vocationally,  in the disciplines of business, technology, and marketing.

Meet Your Teacher

Teacher Profile Image

Chase Raz

University Instructor, Corporate Trainer


Chase Raz is an instructor of digital marketing and business technology at Full Sail University and a corporate trainer for Polk State College's Corporate College. Chase has almost a decade of experience teaching business and technology topics to a wide array of adult students; from college students to executives. It is Chase's mission to help others achieve their desired success within business. Chase also owns RCR Business Ventures, a firm specializing in venture development.

A.B. Gamma is the leading corporate training solution from RCR Business Ventures. A.B. Gamma provides business and technical training for business owners, executives, knowledge workers, and almost all other types of professionals. The "Chase Raz" brand of training is the flagship training product from A.B.... See full profile

Class Ratings

Expectations Met?
  • Exceeded!
  • Yes
  • Somewhat
  • Not really
Reviews Archive

In October 2018, we updated our review system to improve the way we collect feedback. Below are the reviews written before that update.

Your creative journey starts here.

  • Unlimited access to every class
  • Supportive online creative community
  • Learn offline with Skillshare’s app

Why Join Skillshare?

Take award-winning Skillshare Original Classes

Each class has short lessons, hands-on projects

Your membership supports Skillshare teachers

Learn From Anywhere

Take classes on the go with the Skillshare app. Stream or download to watch on the plane, the subway, or wherever you learn best.



1. Amazon Lightsail Training Series: Course 1 Introduction: either everyone, I'm chase rats and welcome to the start of a series. Of course, is here on skill share about using Amazon lightsail toe host your websites in this first session in this first Siris of trainings, what we're gonna do is log in tow, lightsail in create our first instance from there will move on to another course that talks about how to connect to that instance and host actual websites than from there. There are other courses that you can kind of choose your own adventure in and figure where you want to take the path yourself. So I have modules for WordPress and SSL encryption And, of course, more things coming soon, like the plus co hosting Stack. Now, at least that's not done at the time of recording. It may be finished by the time you see this video. So here's what I'm gonna do with the assignment with the class project for this first course in this series, I'm gonna add an additional pdf that gives a listing off all of the courses available here on skill share for you to go through as a part of this Amazon lightsail training. Siri's with me and as for who I am, I'm Chase Raz. I'm university instructor, corporate trainer and consultant. I've been doing all of those things for nearly a decade now, and it's my hope that we can get you from a place where you're interested in light tale to a place where you're using lightsail in order to save money over your existing hosting or to increase your capabilities on the Web is you start to move into cloud hosting from something more like shared or virtual hosting, or maybe even some expensive, dedicated hosting that you may have had for quite some time. We can work to replace all of those with this one. Simple starting at $5 a month. Amazon Lightsail VPs All right, let's get started. 2. Sign up for Amazon AWS and Lightsail: to kick things off. We're going to start with an optional video and by optional. I mean, if you already have an AWS account, go ahead and skip this video unless you just want to watch it for informational purposes. What we're going to do in this video lesson is first, find out where Amazon Lightsail lives on the Web, and second, sign up for that service. So I'm gonna go to Google or being or any other search engine, and I'm gonna search for lightsail. Lightsail is all one word and near the top of the organic search results. I know it's top on Google. Second on being, you'll see Amazon like sale dot com. That's the entry we're looking for so you can use a search engine or you could just directly navigate to amazon lightsail dot com. Now we can also access Amazon lightsail by going to lightsail dot a W s dot amazon dot com and I using that Web address. It really takes us here to the AWS. Sign in, and you could go ahead and sign in here or create a new AWS account. But for our purposes, we're gonna go back to Amazon lightsail dot com. Now, once here, however you get here, we're gonna go to the upper right hand side and select the sign up button. Now, I'm gonna go through this form with you, but I'm gonna be very delicate and very ginger because I am running out of email addresses to use with Amazon, and the first thing we're asked for in signing up for AWS is an email address. I'm gonna go and use one from my business that I haven't used here before and I hope that it works. So you'll pick the email address you want to utilize as your contact and you're signing for AWS. I'm gonna choose. Like I mentioned one from my business that just doesn't have an Amazon account yet. I'm the type that in now I'm using Enquirer at RCR dot biz Now next up were asked for a password. This password has to be at least eight characters and you have to choose from three of the four following character types. Upper case, lower case numbers and symbols or non alphanumeric symbols is what Amazon's calling him. And the password, of course, can't be your email address that you're using the log in or the name of the AWS account, which we're going to set in just a moment. So I'm gonna come up with something interesting here and something along, of course, And see if I can remember that. I don't know why I am punctuating that. But then finally we get to AWS account name. This is asking us to send a name of in our account. So basically, just how you log in to Facebook or Twitter and you see your user name there, think of the AWS account name like that. You're going to see this taxed in the drop down for your account in a lot of the screens for AWS, So I will call my AWS account name. I'm gonna be really customized here. Wants us. I'm gonna call it my account. You can call it your name. Your business name. I'd really suggest maybe your business name. That sounds like a good idea. And then we'll click Continue next up A w s Well, one, our contact information. Are you going to use a professional or personal account type? That's what Amazon wants to know. First and foremost, there is an information pop up that will give you information about that. I'm just gonna go with professional full name, my account again. This is one of the reasons I suggest that you use your business name. Because look how the AWS account name is propagated right over here as full name. I want to change this. Actually, I'm gonna use a B Gamma, which is a name that I use through my company, RCR Business Ventures and my podcast Multimedia. It's just one of our training outlets and then I phone number. I'm gonna use my Google voice number, and this thing is tied about 18 different Amazon accounts. I hope we don't hit any trouble with it. Feel free to call that number if you want. That's how you get me. 8636 or 6 83 83 My country. I'm gonna type in. Ah, we now want our address. I am using a post office box, and, um, this is pretty straightforward here. I think you're probably not having any difficulty filling out this section of the document . I'm just putting in my business information here and then at the very bottom like you'd expect. Amazon is asking have we read the AWS customer agreement? Now I have. I suggest you click that link, Read it, printed out, internalize it. Just know what's in there. But we're going to select the approve box and then our option at the bottom. Create account and continue. That's where we're going next. And so next up, speaking of his payment information, I'm gonna have you tune me out and I'll catch back up with you in just a moment on the next screen. I obviously don't want any of this information getting out there in the world as promised. Here we are in the next screen. And don't you love how they say secure, submit. It makes us feel so safe and warm and happy. But we're now asked to do some phone verification. Amazon It says, thank you very much for putting your payment information, and but I need to make sure that you are who you say you are and that you are authorized to make these payments. So I've got my phone plugged in here, and Amazon has brought my phone number into this box for me. I don't have anything to fill out here unless maybe I wanted this phone call to go to my cell phone number. Maybe a different work number that I haven't put in here. You know, before we can get Amazon to call us, though we do have to type in a code at the very bottom. Your code is going to be different. This is just a capture. And what what Amazon is doing here is making sure we're not a robot, that signing up for services over and over and over again. And once we're ready, once we have our phone number in, once we have the security check will click. Call me now and we cross our fingers and hope that we have that security check. Correct. Four digit Kotal pop up. I should be getting a call in just a moment. You should hear that. There we go. Let's answer. That's kind of quiet. Let's turn it up some. Yes, it is. So I interrupted. She wants me to talk. She wants me to say or type in this four digit code, so ah, let's see what she does when I stop talking. Nothing. The joys of training. Let's try again. Right on your form. Success Verify So I'm kind of glad this has happened. You see the alert popping up at the bottom saying that their difficulties, the phone call has ended in This is working. I've had this situation before and it's nothing difficult. Normally, what would happen right now is, if you didn't have the difficulties I did from recording, you'd see a little box at the bottom of that. Basically says, move on to the next screening to get a big green check mark in the middle. And if that's you, you can go ahead and click that. But if you did have problems or if something weird happened like I didn't even have a problem and Amazon is telling me that I had one, I'm gonna click retrying because I can either literally retry or And here's the unique case that I know is about to happen to me. I'm gonna put my phone number in again and I'm gonna put the security code. And again, I'm not sure if that's a Vera Y. I'm gonna get a new one, because I'm not sure what that code is. There we got much easier P N f again, These changed all the time. So when I click, call me Now I'm going to get the success screen here now if if the If the verification had failed, we'd go through yet another telephone call. But that's not what's gonna happen here. See, it faked you out. It gives you the code again and acts like it's going to. But we were successful the previous round, so there is a big green check mark I mentioned, and the continue button next up is, of course, the up sell. Amazon makes a lot of their money through selling support. This isn't like your host or your shared host or your reseller account, where a pretty good amount of customer support was built in. Now I know I'm one of the people encouraging you to move over to cloud VPs is. But I hit a bit of a snag when I was new to using these tools. And when Amazon got back to me and said, basically, you know, we don't know what the problem is, we're not qualified to answer that. But if we sell you this $30 a month developer plan for support, then we think they may be able to answer the question and I don't know if that was meant as a heart Upsell. I do genuinely believe that the person I was in contact with didn't know the answer. But look, we're moving over from 10 2030 $40 month hosting plans for personal and business reasons or consolidating several those into a cheaper 5 10 $20 month. VPs. Suffice it to say there's a reason that these trainings exists, and I can offer these to you at a lower price than they can offer training. So I'm gonna keep making these trainings as long as they make sense, because you're probably like me and gonna click the free button right here. Now, if you don't, that's fine. Feel free to sign up for whatever you want, but most of us are clicking free. Were welcomed to Amazon Web services one more time just to let us know that everything was successful and are two options air signed into the consul and contact sales. I love that contact sales is there, but we're just starting out. We don't need that. Yes, we're gonna sign into our council will be met by a little robot here in just a moment. little robot character. Oh, before we do that, we do have to actually sign in. Let's see, I used enquiring RCR dot biz. You type in the email address you use here and then the password. Let's hope I remember this. Hope you wrote years down somewhere safe and secure are using a password tool. I'm trying to remember. I don't want to say that. I did remember. While I'm so happy when we get in, we are as to what language we want to set, and you can choose any of these languages. I'm sticking with English and I'll say Safe. Here's the robot greeting us asking. It's a question if I wait long enough here and talk about him, he'll check his watch in a moment but were asked whether we want to get started in building our first instance or if we're going to create something later. Now, for most of you can go ahead and click through on Let's get started because that's where the next video is going to take us. I'm gonna take a brief detour for a moment and click on all. Create something later and show you the main interface. The main dashboard, and we're gonna be looking at this quite a lot. Um, and then, you know, nothing scary here. If we didn't create an instance using the little robot as a tool, we do have that option front and center here later, that button will move, but we'll walk through all of that in the next video. So until then, stop. Take a moment. Debrief. Make sure you remember the email address you used. Really? Get all of your information in line and we'll be ready to move forward and create your first instance of a virtual private server on Amazon Lightsail. 3. Introducing Bitnami: now that we've created an Amazon AWS account and we've logged in tow lightsail for the very first time. I want to take a little bit of a detour for a moment and talk about bit. NAMI bit. NAMI is a name that you're going to hear me say several different times throughout this training. In fact, one way I like to think of them is as the silent partner to Amazon that's making everything we're about to do work. The reason I say that is we could build a lamp stack on her own. We could go to Amazon Lightsail and deploy a VPs instance of virtual private server instance. We could do that with Lennox operating system and then manually install Apache on top of that and manually install my SQL on top of that and manually installed pH. Be on top of that. But that would involve a lot of work, even me. As someone who teaches and trains on these topics for a living, I don't want to take the time and do all of that wonderfully for us, though if you're like me in that regard, there's something really wonderful for us, and it's this company called Bit NAMI. Now I want to take a moment and I'm gonna backtrack and talk about who bit NAMI is and what they are by going back and talking about the company that runs bit NAMI. And that's a company called Bit Rock. Now, if you've installed software over the past couple of decades and you probably have a bit, rock is most well known for their install builder software. So what install builder does is packages applications for developers and then enables that software to be subsequently installed on users computers. As I mentioned before, if you've ever installed some for in the past couple of decades, you probably encountered this. See these screenshots? As I'm scrolling through these types of installers that we've all used to put programs on our computers. This is exactly what installed builder does. It's the software to install software that rock sells is to developers, and then developers don't have to code their own installers. I think that's an absolutely wonderful solution there on version 17 so they must be on to something. And given the spirit of this being, the company that helps install software bit rock also started bit NAMI now. But NAMI is all about doing the very same thing, but in the cloud. So if we were to navigate to bit NAMI dot com and click on the application's link, we'd see a host of cloud based applications that can be installed relatively easily from model for education to lamp, which is what we're going to utilize. Lennox, Apache, my Askew own PHP, Jumla, WordPress and a whole host of e commerce solutions. Just scroll up and down this list. You'll see so many things that you may be interested in exploring after you've completed this tutorial and have a lamp stack running. It's quite impressive, isn't it? I mean, that was just keeps going on and on. I'm gonna scroll all the way back up to the top, and I'll point out that it's not just about getting applications packaged and running in this case, getting applications packaged and running on the Web. So, for instance, if you want WordPress or mu tal, those pieces of software are made up of predominantly PHP scripts in those two particular cases. But those PHP scripts require the lamp stack, which were working with in order to function now again if we don't want to take the time to install Lennix Apache Minds Kuan PHP Imagine how little someone who's just trying to run a WordPress. Blawg wants to do all of that. So but NAMI is on to something with packaging Web applications. And you may be wondering, OK, but what is bit rock? And what has been NAMI, What do they want from me? How exactly is this free will? It's It's not necessarily free. We're not gonna be paying anything for it. But here's what happens. But NAMI has some of these stacks in Amazon's cloud for sale in the marketplace and on Microsoft's cloud and on Google's cloud. And for certain types of application packages. They may charge a one time fee or an hourly fee on top of the processing fee that Amazon or Google or whoever else charges for the cloud computing platform. Now the real way. That's that's one minor way that Ben Ami makes money for Bit rock. Another way is in enterprise support. You can ceilings up top for cloud services containers, which are ways to package and distribute applications for the Web, things like Dockers and whatnot, and then kubernetes all of this containers and Cooper nineties airway beyond our scope within this training. But if you're not familiar with Kubernetes, it's a simple, modern way that came straight out of Google that aims to make easy work out of deploying containers and again, those air outside of our school. But I just wanted to make you familiar with what bit NAMI is who owns Bit NAMI. And that's a company back here called Bedrock and why they're in the cloud space at all. They've been helping people install software on their computers for decades. They might just want help. People deploy cloud software, and I'm very glad they do, and I think after this training Siri's, you're gonna be very glad they do as well. 4. Create your first Lightsail Instance: now that we're in day Amazon lightsail Setting up your first VPs instance is amazingly intuitive and easy. What I want to do is click the Create instance Button, which, if we don't have an instance already, is going to be front and center in our view port and were given the option to select our location first and foremost. Now, now Amazon is trying to set this by to fall to Ohio's own A based on my location and where I'm at. We do have other options available, though. If I click change AWS region, you can see that we have three regions in the United States and then a number of international region. So if you're in Europe, you may want to look at Frankfurt or Ireland or London. And if you're in Asia, of course, you may look at Singapore, Tokyo, Mumbai and Australia with Sydney. Some of these what are called regions do have different rates, I believe, and that would be in the footnote somewhere as you go to create these instances. But there are also zones hosting zones, and we can click to change our hosting zone. If we want these zones basically mean that there are different facilities or data centers or servers in one particular area. So this is great for redundancy. For instance, if we set toe Oregon and we say that we want to host one instance in Zone A, it's taking a while to get my zones. We want to host one instance in Zone A. I might want to create a backup and host that in zone B or zone. See that way, in case there is a potential disruption at one of these, the others would not be impacted. Now, this is beyond the scope of what we want to do and what we want to utilize. So I'm just going to click to Set Up in Virginia, which is where I do most of mine. But that is set his own A by default. So I know this seems like it's a really long process, but most of the time you just let Amazon do what Amazon's going to do. For instance, watch how simple this is create instance. I'm set to Ohio's own A. That should be good enough for me. If you do want to change it, then you can click around in these options. I'm gonna change to Virginia. Keep it in zone A next up, we'll get to pick our instances. Image of the question first and foremost is Do we want to use the Lennox, or do we want to use Windows? But most of us are probably going to Lennox now. The process is the same for setting up a Microsoft Windows blueprint. I'm using the term from Amazon right here, Blueprint. But I'm gonna be setting up Lennox for this because I'm gonna host multiple websites on a lamp stack and you see below under Lennox. Selective blueprint A bit NAMI lamp stack is one of my options along with WordPress, Magenta Red mind Rupel. You can see all of them there. Now if we didn't want to go this far, maybe you want an advanced level and you want to set up your own lamp stack. You could choose Os only choose from several different varieties or flavors of Lennox, and you could build your own stack if you wanted to. That's also outside the scope of this course. We want to use bit nominees lamp stack that's been provided to Amazon and Vietnamese available on on most cloud platforms and what it does is it reconfigures all of the components that enable us to run a website or Web application or whatever else you want to put online? It saves us a lot of headache. One of the downsides of doing this and I want you to know going in is that the individual components within the lamp stack so lamp stands for Linux. Apache. So Lennox is the operating system. Apache is the Web host, my SQL or sometimes Maria DB, but my SQL for the database and PHP for the programming language. So Lennox Apache, my SQL PHP. Now here's that downside. Those individual components in a bit NAMI lamp stack are not intended to be upgraded. So, for instance, if I look at this lamp stack and I look at the numbering, this numbering, I believe is using PHP is numbering. That's the only one that seems to line up for me because I do know that this lamp stack if I install it right now, is using PHP 5.6 Now. That's good, but what if I want to use PHP seven? I'm not gonna go in here, flip a switch and have PHP seven activated. It's gonna be a lot more complex in that. If you do have any particular requirements, you're gonna want to keep that in mind and look for the right but NAMI image. Or consider one of these other blueprints if you are sticking here with lightsail. All right. So lamp stack is what we're looking for. We can choose to add a launch script. What have a shell script do we want our instance to run as soon as it gets created? Maybe there's something about changing a configuration or getting updates. I'll leave that all to you. That's beyond the scope as well. And then something we do absolutely need to utilize is an S S H or secure shell key pair. This is going to enable us to connect via ssh to our instance later, using programs like Putty. Now I'm gonna let this instance use the default ssh key pair and we'll talk about getting that in a moment. We could change our key pair if we wanted to create others. But you do have a default that exists. And we couldn't this point download the key pair. But I'm gonna show you how to do this later as well. So if you want to download that key fuel free, I'm going. Teoh, I'm gonna choose. Did not do that at this time. And then two final things. What instance Plan do we want to? We want to spend $5 a month, $80 a month And you want a local low here to see what you're getting for that we're gonna be spending of a $5 a month instance. And this is gonna be fine for most of us to host several websites One virtual CPU, 20 gigs of storage on an SSD. That's that's, I mean, this is pretty good. This is competitive with other hosting out there that you may find for 10 $20 a month and then last Will Neymar instance Amazon is going to give you this kind of complex naming convention. I have my own naming convention. It uses my business name. I do keep lamp in there, Then I name the server and I give it a location. Now Amazon is doing something similar. Lamp stack. It's indicating what size Based on ram, What size package? This is the location and then just an auto increasing integer here so we could have 100 of these things if we wanted. Speaking of having 100 Amazon is gonna ask comedy. I want I'm gonna leave this toe one. I'm gonna keep the default name. And then here we are. I'm gonna click create in just a moment, but because that's a lot of explanation. I'm actually gonna go back from the start and show you how simple this is. Create instance Set or modify my zone. If I want to choose my platform, Lennox or Windows, stay with Lennox. Choose my blueprint. My but NAMI image. Essentially. I don't want a long script. I can get my ssh key pair later. I want to stick with my $5 per month plan here with first month free. That's wonderful. And the name is gonna be fine. Create. And it's that easy. The instances created you'll see that it says pending, which means that the instances is getting created and turning on in booting up for the first time. And in a couple of moments, we're going to see other things pop up here. We'll see. Some controls will see our options of how we manage this this instance, but we have created our first instance and will come back in the next video and walk through a little bit more detail once his instance turns on. 5. Manage your Lightsail Instance: So welcome back. We have given a few moments to get our lightsail. Instance up and running. We can now see that Amazon is telling us that our instances running right here on our dashboard, our main page at Amazon Lights. I just clicked on home, and here we are. So what's happening here is we have any instances that are running. And if we had any static I PS, which will be talking about later in the course, we would see those a little bit below where I'm circling. So in this video, we want to talk about how we manage our VPs instances. Remember that Each instance when we use that word instance, we're talking about an instance of a virtual private server, a VPs. And that's what's going on here in Amazon lightsail all the top. I'm not going to talk about the navigation of every single part of this page, but very briefly remember, we can click to get back home at any time. We have a link to documentation, which I wish that this were better. In all honesty, we've talked about this before in the video Siri's. This is why I'm making these videos and offering these trainings because I really to connect toe have, ah, personal story time here. I felt quite abandoned by Amazon when I set this out. This is supposed to be the entry tool into giving you into Amazon's cloud. That's you know, that's their purpose. And I felt kind of abandoned and the search You can search to the documentation, but again, if the documentation isn't great and as of late 2017 early, 2018 while recording this, it's not great enough. The documentation isn't great. There's only so much you can dio. You can control your account from here, and you can click on through the AWS, the the larger screen of AWS, and control your billing. I'll leave you to explore those at your own. What I really want to talk about is controlling this instance right here, and we can do this from the dashboard that we see right now. Just a little procedural point, though you will notice that when when we logged in the first time, I remember back in the create instance, Button was right here front center. It's now moved a little bit to the upper right, not the operator of the screen, but a little bit to the upper right, and we can choose to create a new instance or create static I p, which will be coming back to. But for now, here we have this beautiful instance in the middle of the screen. It's our lamp stack, half a gig of ram, one virtual CPU, this whole thing we set up. We even have an I P address, and we'll be using that a video or two from now, and we see that the instances running. So how do we manage to this thing? What options do we have? Well, take a look at the vertical ellipsis. I'm sure there's a better name for that, but this is what I call it a vertical ellipsis or the mawr button. If we click on that, look what we can do. We can connect and will come back to that. We can manage, stop, restart or delete when we don't want to delete. We just created this. We're not going to stop or restart right now. Just be aware. If you do stop an instance, you're still paying for it with some of Amazon's products on AWS. When you stop something you're no longer paying for. But that's not the case here. When you stop this server, you are still paying for it. What I'm gonna do is select, manage, stopping a reboot are two of our options were told that the the instances running were given a private I p. This is how AWS internally refers to your instance Your VPs. This is how you could connect your VPs with other AWS tools, maybe additional storage for domain management or a number of other things. We also are given a public i p. And this is how our VPs is accessible to the larger Web and will use that in another video or two. Like I mentioned but managing our instance were given the following tabs connect storage metrics, networking, snapshots, history and elite. And most of these were gonna walk through, um, throughout the series and very briefly now. So let's say we wanted to connect to our instance. We could do so by clicking Connect using Ssh. Now we're gonna walk through this in another video coming up, but we've just connected to our instance. I want to close that window, though. And if we wanted to connect using our own. Ssh client. This information we're going to utilize coming up and will will need all of this in order to connect outside of the browser storage, we can attach additional storage if we need. I'm not really gonna go into this until very late into the conclusion of this course, but for now, 20 gigabytes is gonna be good enough for us to run a couple of different sites. I'm assuming that we're not doing anything to process intensive metrics. Show us our utilization of our instance. So whether that's CPU are memory and you can see a couple of other options here on the right hand side, we can change our time, period and our metrics that we're looking at. But honestly, we're not doing too much with this right now. Nor in this training Siri's. I hope that you would use this if you go down the path was with lightsail further. But in all honesty, we're just setting up. We may be able to see when we start populating sites, we may be able to see a little bit of network in activity, but not too much is gonna be going on here for our purposes. Not working gives us very valuable information about our instance. The public i p the private I p remember that's available up here in the header areas. Well, but also there is a firewall turned on by default. So if you're looking at running some other type of protocol or some other type of off port to connect to your server, that be a very advanced thing to do. But if you are, you need to be aware that there is a firewall set to your VPs and by default reports 22 80 and 4 43 are the only things being allowed 22 4 Ssh 80 which is the standard for the Web and 4 43 for the encrypted https. Secure protocol snapshots will be coming back. Teoh. I'm saying that over and over and over again. But again, this is just an overview. We will be coming back to take snapshots, and what snapshots are are essentially imagined taking your server and getting the information about it. The configuration files the storage every everything that's a part of it and condensing it down into a little package, almost like a backup we doom or with this, then back up our instances. But treat this one of the things we will do with it is backing up so treated that way initially. So think of having this backup copy that we can do all sorts of things with, like, create a new instance. Or, um, actually, that's honestly, that's the only thing we can do with the snapshot. But I'll be coming back to that and explaining what happens if we need to fix a broken VPs which, unfortunately I have had happen over on history, were given a listing of all of the snapshots that are created. So history ties in with snapshots and then finally delete the lean Well, I mean, if you want to get rid of your stack, here's how you do it. But this is the basics. This is what we're talking about managing when it comes to managing the topics within the course. I'm delivering these air, the topics that off what we can manage. We can manage the I P address. We can manage connections, we can manage storage, we can manage. All of these things you see, appears headers. But if we're going to get into any more than that. We really need to jump into the instance itself, and that's what we're gonna be doing coming up pretty soon. But first we need to go through and look at what this instance is doing right now. So join me not just in the next video, but also in the next section of this course, and that's what we'll discuss. 6. Reflection: Things change... often!: in late 2017 Amazon made a couple of changes to light sail and the changes air. Pretty straightforward. We used tohave by default. Resource is as our tab when we log in, and that's now called instances. And we only see our VPs instances here before we'd also see our static I peas. Now you'll notice that create instances, our only option here in the upper right hand side of our data view area. We no longer have create static I. P. Don't worry, though. It's just moved. We used to have a label called DNS Zones here in the area that now says networking. And when we click on networking, we see not only the static i P option, but also DNS zones. And now a new load balancer will be going through these later in the course. Storage and snapshots remain unchanged. 7. Viewing your Instance's default webpage: to start section two of this course. We want to take a look at what our instances doing before we've made any changes or modifications. So what I'm gonna do right now is I'm gonna take this public I p address. We haven't created a static. I pee on the networking tab. We haven't updated anything else. So what we want to do is take this public. I p copy it. I keep getting. I keep getting other texts as well. We'll copy this, I p we're gonna paste it into a browser and navigate to that page. This is what our Amazon VPs running but nominees lamp stack is doing by default. We get a congratulations, Paige. We're told that we're now running, but NAMI lamp and then the version yours may be different. Hopefully, it's a higher number, not a lower. And then we have some options on the right hand side, we can access our applications. This is really not useful to us right now. The primary purpose is some people may want to install what are called application modules on top of the stack. Maybe you want to install wordpress or Magenta? Yes. We had the option to install that software as an Amazon Lightsail instance. But we can also install it on top of the regular lamp stack that we've installed. We can get instructions for accessing. PHP minded men will talk about that in a future video. We can receive documentation from bit NAMI. This does come in handy from time to time. But like I mentioned before, I do find that most Amazon and bit NAMI documentation is a little bit lax for those of us who may need an extra helping hand through the documentation, just like I did when I got started. There are also forums at the bit NAMI site that we can utilize. Of course, they do have a little bit of an up sell down here at the bottom. No big deal. But this is the page that our server is delivering and hopefully that our server's gonna be delivering for one or more of our domains in the future. 8. Assign a Static IP to your Lightsail Instance: Now that we've seen the default landing page, we're gonna want to attach a static I p address to our instance. Now, the reason is this I p that were given by default is a public i p. When we navigate to that site, we get our application or our website. But as soon as we were to stop this instance, which doesn't mean it goes away, It's just going to kind of like if you had a real server, if you were to temporarily power it down for a reboot. If we stop this instance, of course, we can check and make sure that the the instances no longer running, we should get a bit of an error here. And in a way, we are in this browser. It's simply not resolving anywhere. The you can see the status bar going back and forth. It's we're just not resolving to that page anymore. We see that on the lightsail interface. This server is now showing as stop, so let's try to open a different browser. I'm going to switch over to edge here for a moment, navigate to the I P address that are Amazon. VPs had simply not resolving any where we can't reach that page. No surprise there. And the reason is we don't have an I P address anymore. Not available. Let's restart our server. Start through the magic of video time Lapse all come back in a few seconds once the server has restarted. Presto change O we've restarted and let's take a look at this. Do you remember the I P address we had before? 54 1 96 1 58 15 Announced 54 to a 41 83 56. So this public I p gets reset any time your server stops and restarts. This is exactly why we want to create a static i p. In order to create a static, I p will go over to the networking tab and select Create static I p. Now, this isn't going to be an ad on this is free. It's included in lightsail. I believe you can have five of these, and it's important to know that when you create a static i p you could Onley address that static i p to an instance that's in the same region as that I p address. So the region houses not only instances, but also these I p's I'm gonna select which instance I want to give an I P address to and I'll leave its name as default static. I p Virginia one that's gonna work for me, we'll create. Here's a public I P address 34 to 38 1 79 1 97 Now, if we take this and put this into our browser will navigate right back to our landing page . And the great thing is, even if we stop this instance and started again or select restart, this I p address 34 dot to 38.1 79.1 97 will still work for this instance. Now, don't go trying this in your browser, because by the time he were watching this video, I'm gonna have released that i p back to Amazon and I won't be using it anymore. But maybe someone else out there is, and they'll be wondering why they're getting such random traffic 9. Point a Domain Name to your Instance: great. Now we have an instance of an Amazon lightsail VPs running. We also have a static I p address tied to that instance. That means that we can go into a Web browser type and that i p address and we get whatever it had VPs is hosting at the moment. But what we'd like to be able to do from there is to connect a domain name, something dot com or dot net or dot or go and you get the idea. We want to be able to connect that through DNS to our VPs instance. That way you don't have to type an I p address and keep some type of super top secret website. You can instead type in a domain. Now, I host some of my demands over at my domain, which is ah, cleverly named domain Host. And I'm looking at my baby Gamma records right here and what I'm going to do in order to make all of this work in order to make this a b gamma dot com domain name point to my lightsail VPs is I'm going to add a couple of a records to mine dia nationalistic. Now your domain registrars gonna look slightly different, of course. But here's what we're gonna do now. I've already pre loaded won a record, which is the wild card. And I've reloaded that because I just I simply wanted to remember my static i p address. I didn't wanna have to keep switching screen. So that's the only reason that this a record already exists. What we want to do now is at an a a record for our domain. In my case, that's a b gamma dot com. We then won a point that a record to our static i p address to 38 down 17 Again. This I p address. I'm gonna have the shutdown by the time you ever see this video. Please don't Don't start hitting this I p because I'm sure it's gonna be recycled to someone else. And they don't want a bunch of random traffic, so well, they may love a bunch of random traffic, but they don't want it from us because we're not their target demographic. All right, so I'm going to click, add add this a record, and then I'm gonna add one more. I'm also gonna add www now The reason I'm doing this is because I want when someone types in a B gamma dot com toe, have them automatically taken to my Amazon lightsail VPs. But also if somebody types in www dot baby gamma dot com, I also went that toe happen automatically as well, so I will click. Add. Of course, I mentioned that I had the wild card before. What that does is take any other potential sub domain and Ford's it to my lightsail instance. So if we want to test and make sure that this works, I can simply open a new browser tab, and I'm going to navigate to a b gamma dot com. Of course, this is working through the magic of time lapse because it can take up to 72 hours for a domain name to resolve globally now, within your local area, the region or the country that you're located and your DNS provider is located. That can happen within an hour or two, and that's what I'm relying on here. So after I updated my domain names, DNS settings specifically the A records I just visited a b gamma dot com my domain name and look what we have brought up. This is the default page for our instance, and it was right here at our I P address. Same thing is being delivered through a big Emma dot com. Now, remember, also set the www sub domain, and on top of that, I set the wild card. That way, any sub domain technically is going to resolve here so I can do something like Taco Tuesday . And here we are. Now, I don't necessarily need that wild card in DNS. And it could present some problems for you because the example we have later when we're configuring Apache to run with multiple sites is wolf sent Apache up to understand how to serve a page for domaine dot extension and www dot domaine dot extension. And I'm not gonna come back down this path of all of these other potential sub domains. So you either want to disable the wild card or handle it within your V host in your your Apache server another way. But that's gonna be beyond the scope off this course. For now, we're just super happy that our domain resolves to our Amazon lightsail VPs instance 10. Amazon Lightsail Training Series: Course 1 Conclusion: So there's one additional piece of information I want you to have available so that you can complete the activity for this particular training on skill share. What I'm gonna have you do and let me bring this up on screen here for just a moment. What I'll have you do in this some and this activity is all. Have you fill out all of the information for the VPs instance? You've just created everything from your AWS user name and password all the way down to the information about the server that you've created the private public and static I. P Well, of course, we're only going to use a public or a static you don't use too at the same time. And then finally all have you fill out your user name, which we've looked at before. The default for us is gonna be bit NAMI, and I want us to take a look at the default application password. We're not going to use this until later until we need to get into my SQL or, um PHP Myatt men. But we want to be able to identify this. So let me show you how to do that. very briefly. I will come back to it in future videos, but this may help. So when we're in Lightsail and we see our instance, we can click this little icon that I'm circling right here in order to connect to our instance using S S. H. And we'll talk about that again later. Now, if you are also clicked into the manage option, you'll see this big button connect using Ssh! I've already pulled one of these windows up because on the main screen, when you click that button, you get a nice big text art thing that says, you know, bit NAMI and and all of your server information. And I have just issued a clear command like this so that all of that cleared and you can't see my I p address. That's why your screen will look a little bit different if you type in clear and hit, Enter your screen will look like mine. Of course, our internal I P's for Amazon will be different. And that's okay. This is a server I I spent up shut down this. This changes for me from time to time. I'm comfortable with you seeing that. So here's how we get our application Password that Ben Ami has set by default First all let me show you where this lives If we our in our home directory here and I get a listing of the files, folders and sim links here apse, ht, docks and stack are assembling. So I'll be talking about that future in the course. But we have a file here called Bit NAMI Application password. Well, the easiest way to open this file is we can use something called concatenation. This is the cat command fund. It feels like you should be able to pet it. But it's not that type of cat and then type in. But NAMI underscore application password. Now, I just right click to paste because in a Lennix environment, you select in order to copy, and then you paste by right clicking. And I did just take out the extra space at the end. Now, when I hit enter here. The contents of that file are going to be brought right here down the command line for me. This this g 46 l a all this stuff I'm not worried about you seeing mine because again I spend the server up and down, and it changes each time you create a new server. But this is the thing that you're gonna want to keep track of right here as the default application password. In fact, let me show you that on screen right here, rather as the default application password. That's what you're gonna want to keep track of their. Now there are other ways to see this file. What? You'll see me doing this course a lot is using Nano. So I'll used Nano as a command line text editor. And then we'd also put the name of the file their hopes. That's the password itself, Ben Ami. I'll type it this time. They're going. So this will open the Nano editor. What? It may be worthwhile doing. You see that the contents of the file here is our password. What may be worthwhile to do is to start looking at these keyboard shortcuts at the bottom . We're gonna be using a number of these. So, particularly will be using Where is it? Control? Oh, to write out that's essentially that essentially means save, by the way, and we'll be using control X toe exit. So there's nothing for me to save here, so I'll just sit control X and that will exit Nana. It doesn't look like it. Remember on the command line. But look what's down here. There's my command. Prompt. If I were to clear yet again, we're back to where we were wonderful. All right, so that's it. That's how to get the application password. You should be able to do the activity or assignment for this section, and then that's actually the end of this training. And what you want to do here on skill share is you'll want to look for the next module in this series of trainings, and that's called Amazon Lightsail, connecting and hosting websites. So take a look for that and I'll see you there.