What is AWS Lightsail?
Lightsail is a service offered by Amazon Web Service (AWS), which place at the palm of your hand, an easy and powerful tool to deploy and manage virtual servers. These virtual servers are built for reliability and performance in mind. It will come with everything you need to build an application or a full website, at a cost-effective monthly plan.
- Login into your AWS account.
- Once you are on your AWS Management Console, click on the Services Dropdown menu.
- That will open the Services panel, where you will find a history of the last services you have used on your left, and a list of them by categories. You will find Lightsail under the Compute category.
- Click on the Lightsail link and it will open up a new tab on your browser.
- Click on the “Create instance” button and the following page with options to select will be presented to you with all the configurations you can choose for deploying it.
- You can choose to deploy your new Lightsail instance into one of the available regions. For this demo, I will leave it on the default Region (Virginia us-east-1).
- Next you can select the OS or platform for your instance and a blueprint. A blueprint is basically a the barebone of your deployment.
You can select between installing the application you will be using (Ex: WordPress) or just to deploy the US you have selected (Linux/Unix vs Windows).
For now, we will leave it as the default option, which will install a certified by Bitnami WordPress package on Linux/Unix for us.
- You can then select some optional steps, which are to Launch a script (here you can add your own Boot Strap Script to run while the instance is being created). For example, you can add software, update software, or configure your instance.
You can also “Upload”, “Create a New” or “Download” an SSH Key Pair that you will use later to connect to your instance through ssh.
For this demo, we will download the Default one being created for us.
Note: Be sure to place this in a folder and assign permission 400 to it so you can connect to your instance.
- Then we will Choose the instance plan. We will choose the $3.5 option since it will give you the 1st month for free, so you can cancel it and you won’t be charged.
- Last you will give a name to your instance; I will leave the default one given by the system for the demo.
Here you can also assign Key-only tags or Key-value tags. These can be used to identify your instance and to help you organize your Lightsail console and billing.
- Now let’s click on the Create Instance button.
- A New Lighsail instance will appear on your console with a Pending.
- Once it’s ready, the status will change to running and your new Lightsail instace with WordPress is ready to be used.
- Copy the IP address that has assigned to your instance and past it into your browser. You now have your WordPress site up and running!