AWS Architect Certification Training (67 Blogs) Become a Certified Professional
AWS Global Infrastructure

Cloud Computing

Topics Covered
  • AWS Architect Certification Training (58 Blogs)
  • AWS Development (8 Blogs)
  • SFDC Administration Foundation (1 Blogs)
  • Salesforce Admin and Dev Foundation (10 Blogs)
SEE MORE

Amazon Lightsail Tutorial – An Introduction

Last updated on Dec 20,2022 16.5K Views

6 / 11 Blog from AWS Compute Services

Amazon Lightsail Tutorial

In this AWS Lightsail Tutorial, we will be discussing a new Virtual Private Service called Amazon Lightsail, but before that let’s take an abstract overview on things.

Every business runs behind an idea; it is the key factor behind the success of any business. And also, the quicker you implement that idea, the more successful your business will be.

Look at AWS, the leader in cloud computing. Of course, they are the leaders because they are awesome, but do you know they started their cloud journey way back in the 2000s when no competitor, literally no competitor, was there to tackle them?

Amazon Logo - Amazon-Lightsail-Tutorial - Edureka

 

Today we have dozens of cloud providers to choose from, but AWS is still on top; why? Because they got a head start. So, if you want to kickstart your career as an AWS Architect, then start learning AWS by taking up the AWS Certification.

 

Idea Example - Amazon Lightsail Tutorial - Edureka

You, let’s talk about you now, you have an amazing idea, but then you are not equipped with all the knowledge and tools required to make it happen. This is where the AWS Lightsail Tutorial comes to help!

Say suppose you are a blogger, and you want to start your own blogging venture. But when you start exploring, you get to know there is this thing called MySQL which has to be installed and configured with your WordPress, which has to be installed on a web server, which costs a fortune!

Wait! You rented a server, good job!

Cool, so you just have to configure it now. You start learning stuff, configuring WordPress, connecting it to MySQL, configuring the DNS, along the way you lose interest because what you actually wanted to do was blogging, and you got stuck with managing servers!

But hey, cheer up! Our cloud computing leader is here to save you!

They came up with a service called AWS Lightsail. Which is brought to you up in this AWS Lightsail Tutorial.

What is Amazon Lightsail?

Lightsail Logo - Aws Lightsail Tutorial - Edureka

So, Amazon Lightsail is a VPS (Virtual Private Server) service which gives you templates to choose from, you can either choose a Plain OS or an OS with a pre-baked application, ready to be used with a click of a button.

 

 

Want more? The prices start at 5$ a month!

So, no need to worry about the underlying infrastructure, just launch your application, and start building your idea, it’s that simple! Next in this AWS Lightsail Tutorial, let’s see who will make use of it.

Who will use this service?

Let’s take the example forward, you were a blogger remember? So, you would need a WordPress configured system, for that you just have to choose the WordPress icon from the Create Instance dashboard, select the desired plan and you are good to go!

So basically if you want everything to be installed, configured automatically from the technical side, and also if your system does not require auto-scaling, this should be the thing for you!

What else is pre-configured or taken care by AWS? We can learn this from the AWS Lightsail Tutorial.

So the moment you click on create instance button, the following steps are executed:

Auto Steps - Aws Lightsail Tutorial - Edureka

  • Launch VM(Virtual Machine)
  • Attach SSD(Solid State Drive)
  • Manage IAM
  • Create Security Groups
  • Setup DNS
  • Create Static IP

We will now look at how AWS Lightsail Tutorial is different from other AWS Services.

How is Amazon Lightsail different from other Automatic Services from AWS i.e. OpsWorks or Lambda or Beanstalk?

Let’s have a look:Why - Aws Lightsail Tutorial - Edureka

  • AutoScale: Well, first of all, the capacity is fixed in Lightsail, the only way you can increase the capacity is by changing your plan, therefore no auto-scaling in lightsail. Whereas in Beanstalk, OpsWorks etc. You can auto-scale the resources and you would be billed accordingly.

 

  • Fixed Price: In LightSail you have a fixed price, in other services since auto-scaling is supported, you are billed according to your usage.

 

  • Configuration: In OpsWorks you have complete control on the configuration of your system, you can configure layers, you can create stacks. Lightsail is not that complicated, you get a system, there is nothing to configure. Beanstalk on the other hand is all about code, you upload your application code, and it deploys the application for you. You don’t work with the underlying OS. AWS Lambda is just about the background tasks, you upload your code and it will start executing it for you.

Cloud Comic - Amazon Lightsail Tutorial - Edureka

 

So in a way, Lightsail is completely different.

So is it something that Amazon came up with?

Well, no. Unlike other services from AWS which are all original, AWS copied this service from one of its competitors, DigitalOcean.Digital Ocean Logo - Amazon Lightsail Tutorial - Edureka

DigitalOcean solely offers VPS service, and they have had tremendous growth in the past few years.

AWS saw this, and launched the exact service on their own platform.

Next in this AWS Lightsail tutorial, let’s learn its difference with DigitalOcean.

DigitalOcean vs Amazon Lightsail

There is no difference when it comes to the pricing and configuration; both offer exactly the same system configuration for the same price.

Perhaps, the only difference is that Amazon Lightsail can be used along with your other AWS resources, which would not be possible if you were using DigitalOcean.

Let’s move ahead in this AWS Lightsail tutorial to the most attractive part of this service, the pricing.

AWS Pricing

There are basically 5 different system configurations to choose from, each with a different price.

Pricing of Lightsail - Amazon Lightsail Tutorial - Edureka

The above configurations are offered at hourly rates, so depending on your need, you can start and stop an instance, you will be billed on the no. of hours.

And yes, you noticed it right, AWS has extended the free tier usage in Amazon Lightsail as well.

You can use the 5$ config for free, for the first month i.e. 720 hours! Go play!

You are all set now for your journey into Lightsail, let’s brief you up on how to launch your first Lightsail instance.

The next part in this AWS Lightsail tutorial is seen in the following demo.

Demo

Moving along in this Amazon Lightsail Tutorial, let’s launch a WordPress configured instance in Amazon Lightsail

Step 1: Login to your AWS Management Console and select Amazon Lightsail.

Select Lightsail - Amazon Lightsail Tutorial - Edureka

Step 2: Click on the Create Instance button

Create Instance in Lightsail - Amazon Lightsail Tutorial - Edureka

Step 3: You can now select the required option, since we are launching a WordPress server, we’ll select the WordPress option in the templates.

Selecting WordPress Lightsail - Amazon Lightsail Tutorial - Edureka

Step 4: You can leave the SSH key pair to default and move ahead and choose an instance plan according to your needs, we will be selecting the free tier configuration.

Choose Your Instance Plan in Lightsail - Amazon Lightsail Tutorial - Edureka

Step 5: By default, N. Virginia region, will be selected for you since Amazon Lightsail is only available in that region, you can choose the desired Availability Zone though.

Choose Region In Lightsail - Amazon Lightsail Tutorial - Edureka

Step 6: You can rename your instance to something more appropriate, and at last click on create.

Rename Instance In Lightsail - Amazon Lightsail Tutorial - Edureka

It will take some time for the machine to be up and running, once everything is done, on the main instance page, click on your instance, and copy-paste the public IP of your instance in a new tab.

Copy Ip Address In Lightsail - Amazon Lightsail Tutorial - Edureka

Once you visit this IP the following page will appear.

Launching WordPress On Lightsail - Amazon Lightsail Tutorial - Edureka

Congratulations!! You have a WordPress machine at your service.

So that’s it, guys! I hope you enjoyed this Amazon Lightsail Tutorial. Amazon Lightsail is a brand-new service from AWS, therefore the things that you have learned in this Amazon Lightsail Tutorial today will definitely be a hot topic in any AWS related interview. Here’s a collection of AWS interview questions and answers to help you prepare for your next AWS job interview. To learn more about AWS you can refer our Amazon AWS Tutorial blog. We have also come up with a curriculum that covers exactly what you would need to crack the Solution Architect Exam! You can have a look at the course details for AWS Solutions Architect Course.

Got a question for us? Please mention it in the comments section of this Amazon Lightsail Tutorial and we will get back to you.

Upcoming Batches For AWS Certification Training Course for Solutions Architect
Course NameDateDetails
AWS Certification Training Course for Solutions Architect

Class Starts on 27th April,2024

27th April

SAT&SUN (Weekend Batch)
View Details
AWS Certification Training Course for Solutions Architect

Class Starts on 4th May,2024

4th May

SAT&SUN (Weekend Batch)
View Details
AWS Certification Training Course for Solutions Architect

Class Starts on 20th May,2024

20th May

MON-FRI (Weekday Batch)
View Details
Comments
2 Comments
  • Hi,
    Thank you so much for this nice article, it helped me for my server setup. Can you also explain how one can connect to phpMyAdmin in amazonlightsail

    • EdurekaSupport says:

      Hey Satinder, thanks for checking out our blog. Were glad you found it useful.
      With regard to your query, here’s the explanation:
      If you are using virtual appliance or AMI you can enable phpmyadmin following this guide https://docs.bitnami.com/aws/components/phpmyadmin/
      Hope this helps. Cheers!

Join the discussion

Browse Categories

webinar REGISTER FOR FREE WEBINAR
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP

Subscribe to our Newsletter, and get personalized recommendations.

image not found!
image not found!

Amazon Lightsail Tutorial – An Introduction

edureka.co