Hello, fellow tech enthusiasts! Like me, are you someone who has just started their tech journey and exploration in cloud computing🤓☝🏻? Well, don't worry. Amazon Lightsail is the perfect platform to begin your cloud journey!
What is Amazon Lightsail🤔?
Amazon Lightsail offers core services in a simplified approach, so you can deploy and manage your applications that do not require massive computing power and scaling.
Here are the high-level features offered by Lightsail:
-Instances: Easy-to-set-up virtual servers for various applications.
-Containers: Run containerized applications securely in the cloud.
-Load Balancers: Distribute web traffic for improved performance and reliability.
-Managed Databases: Fully managed MySQL or PostgreSQL databases.
-Block and Object Storage: Scalable storage options for various needs.
-CDN Distributions: Global content delivery network for faster website access.
-AWS Integration: Access to a wider range of AWS services through VPC peering.
🚀Get Started with Lightsail!
Here is the walkthrough on how you can set up your Amazon Lightsail ready for your website's deployment. But, if you don't have your website files ready, it is perfectly fine. We are here to learn how we can set up our instances.
What is an Instance? : An instance in cloud computing is like a virtual server provided by a cloud service. Instead of owning and maintaining physical servers, you rent these virtual servers from cloud providers to run tasks like apps, databases, or virtual machines.
1.) Access Amazon Lightsail
After logging in to your AWS Account, search for ‘Amazon Lightsail’ or ‘Lightsail’ on the search bar or from your AWS Console.
2.) Create Your Instance
In the Lightsail dashboard, click "Create instance".
3.) Choose Region and Availability Zone
Select a region close to your target audience for better performance. I chose Singapore because it is the closest, therefore, providing low latency.
4.) Select Platform and Blueprint
Linux/Unix: For PHP, Python, or Node.js applications.
Windows: For ASP.NET applications.
You can use the pre-configured blueprints like Wordpress, LAMP, and Node.js. I chose Node.js for my MERN App for example.
5.) SSH Keys
An SSH key is like a digital passcode that lets you securely access a computer or server. You can configure your SSH Key Pairs and create a new one. For demonstration purposes, I created an SSH Key Pair named it as "Website".
6.) Choose Your Instance Plan
You can adjust the pricing plan based on your needs. For now, I chose the default plan.
7.) Name Your Instance
You can create a unique name for your instance. For mine, I named my instance as "website". You can also assign labels to your resources using the tagging options.
After completing the steps above, you may now click "Create Instance" to finish the process of creating your instance.
Congratulations🎉! You have just created your first instance (me too)!
You can configure other settings as you click your created instance on the Lightsail console.
You can also connect using SSH, which will open a new terminal window where you can authenticate using your SSH keys to securely access and manage your Lightsail instance. Once connected, you can run commands, configure your server, upload files, or troubleshoot issues directly on the server.
SSH, or Secure Shell, is a cryptographic network protocol that allows secure communication between a client and a server. It’s commonly used for remotely managing servers and transferring files over an encrypted connection.
You can also create snapshots to back up your instances or disk. Snapshots allow you to restore your data based on the latest saved state.
You can also give it a name. After that, the loading process may take a few minutes depending on the instance or disk size.
Conclusion
Lightsail is a beginner-friendly platform😊, offering everything from pre-configured blueprints to easy-to-use features like SSH connections and snapshots, and scalable pricing plans. Whether you are hosting a small website or you simply just want to deploy a simple app that you have created, Lightsail provides reliable and efficient support for your goals.
What I could have done differently: Because of my limited knowledge in programming and in cloud computing, I hope that I could've demonstrated and deployed a simple application or website that I have created. But nonetheless, experiencing Amazon Console with freedom and being able to create an instance using a service was already a humbling and winning experience for me🌟.
Top comments (1)
Simple but at the same time very informative!