AWS Lightsail is a service provided by Amazon Web Services that allows for the quick and easy deployment of cloud-based applications. It provides a cost-effective and straightforward solution for beginners, and enables the rapid creation of high-performance, secure, and scalable applications.
With AWS Lightsail, users can choose from a variety of pre-configured virtual private servers (VPS) options. These pre-configured VPSs have been created as a scaling group that includes the necessary resources such as RAM, CPU, disk space, bandwidth, etc. This allows users to select the most appropriate resources for their application needs and quickly deploy them.
Using the AWS Lightsail service, users can also take advantage of ready-made templates for web applications, WordPress blogs, online stores, e-commerce sites, mobile application servers, and many other types of applications. These templates provide users with guides for application configuration and deployment.
AWS Lightsail also helps developers and IT professionals become more familiar with AWS and learn how to create cloud-based applications.
Requirements
To use AWS Lightsail, simply create an account on here the AWS Lightsail website and select your preferred VPS template. Then, pay for the service based on the features of your chosen VPS and start using it.
(First 3 months free!)
Install Nginx App
Sign in to your AWS account then go to the Lightsail homepage. Page like this:
We create an instance by going to the Create an instance section.
For example, let's decide Instance location, Select a platform and what will run last. Select a blueprint
- I recommend selecting a location closer to your customers.
- Choose the Linux/Unix platform.
- Select the Apps + OS from the blueprint.
- Now choose Nginx from the app list.
After making our selections, we will choose Choose your instance plan. You can choose a plan based on your client size.
Our plan selection is over, and finally, we click on the Create instance button and finish our operations. 🎉
Static IP transactions
AWS Lightsail Instance comes with dynamic IP. Each time the instance restarts, we will have a new IP address. Come on, let's.
Our current IP address. Let's reboot and see what happens.
If we don't want a new IP address every time it starts, how to get a Static IP, let's look together
Click on the Network tab.
Click the Attach static IP button.
SSH connection
In general, we are done, let's see how we can connect with SSH.
We can establish an SSH connection by pressing Connect using SSH via the browser.
In order to connect with Putty and similar SSH tools, we will download the SSH key on the page.
We download our SSH key file to our device.
If you want to connect with Putty, you can follow the related article.
Our SSH operations are finished, we can check the interface by going to your Static IP address. http://ip-address/
Add Domain
If we want to connect with a domain, not with your IP address, we click on the Domains settings.
If you don't have a domain, you can buy it or request a DNS record for the existing domain name.
Create NS records for your existing domain.
Get a new domain name
I'm going with option 1.
Use a domain that is registered with Amazon Route 53
Use a domain from another registrar
You can manage the domain name over AWS by routing NS from the company you purchased your domain name from.
âť“ Forwarding may take some time.
Road End
Many more operations can be provided on Amazon Lightsail. Our topic for now is here. You can contact me for more.
Top comments (0)