Millions of websites hosted on shared hosting but they still don’t know about Amazon lightsail. Amazon lightsail is a platform where you can create your virtual private server with few clicks, they offer the best prices to launch your site using CMS like WordPress, Joomla, Magento or a NodJS, you can also select your OS or the database and you can also specify the region where you start your instance, Region India is the lowest price rates.
Why you need to migrate your site from shared hosting to amazon lightsail..? the main reason is the security, amazon lightsail provide you the builtin security so you don’t worry about it, we know if your site hosted on a shared hosting you definitely access you panel using www.domainName/Cpanel OR www.domainName:2082. Using lightsail you can’t access directly your panel or PHPMyAdmin.
If you start the lightsail, Amazon gives you the one-month free trial after that they charge 3.50$ every month, you can also choose your plan below are the amazon lightsail plans.
Step1: Go to the Amazon console and click on all services link find the lightsail link and click on it, it will redirect you from console to amazon lightsail site.
Creating an instance on amazon lightsail is very easy you just select the region and price with platform i.e WordPress and click on the Create instance button that’s it but before creating any instance you must have the amazon approved the account. Now I am going to create the amazon lightsail instance so I consider you have the amazon approved account if you don’t have Amazon account create your account now.
Step2: If you already have an account just find the create instance button or it will automatically ask you about the instance.
Step3: Select your region
Step4: Select your platform and select your OS+Apps or single OS
Step 5: Click on the SSH key pair manager and download the key
Step6: Choose your instance plan
Step 7: Identify your instance and select your tagging option, you have two option key only tag and the key-value tag but its optional
Step 8: Click on Create instance button.
Wait for a few seconds when you see the Running tag on your instance now copy your IP address from your instance and past on the URL.
Now your site is ready to use but what about your admin/user credentials amazon light never sends you the credentials on your email address because of the security reasons, you just access the instance and get your code.
Get WordPress password on amazon lightsail
Step1: Access your SSH instance.
Step2: Type this code cat bitnami_application_password and get your code, please keep this code because you always need this while Accessing your phpmyadmin panel or WordPress wp-admin
Step3: Go to your IP address/wp-admin panel and use your credentials UserName is user and password is the password which you have just got form SSH.
Congratulations you have successfully installed the WordPress on amazon lightsail