Launch a Bitnami WordPress EC2 instance

Background:

WordPress is currently the most popular platform for creating websites. One can build his website in WordPress on shared hosting service or in dedicated servers. Both means have their advantages and disadvantages, like when you use shared hosting service you have your environment ready, you will only work in your website/blog having little control over the underlying environment. On the other hand when you use dedicated servers you have full control over your environment but you are liable to configure, administer and manage your environment in addition to building or maintaining your website/blog.

As you are going to deploy WordPress in dedicated server you need to install and configure each components necessary which needs great effort even for experts(especially when errors encountered). To make the deployment easy in dedicated server here comes the Bitnami WordPress images which are pre-installed and configured with all the needed components to launch a WordPress site. Today i will demonstrate how to launch a Bitnami EC2 instance in amazon AWS.

Workaround:

  1. Connect to your amazon web services console.
  2. Go to the EC2 dashboard.                                                                                         
  3. Under Create Instance section select the Launch Instance.                                              
  4. This will redirect you to the Step 1: Choose an Amazon Machine Image (AMI): Choose the AWS Marketplace and search for WordPress, you will see the WordPress Certified by Bitnami images.                    
  5. If you are going to use your instance to host multiple site then select the “WordPress Multisite Certified by Bitnami” otherwise select the “WordPress Certified by Bitnami” to deploy only a single site. 
  6. Select Continue will redirect you to the Step 2: Choose an Instance Type: Select the instance as you are planned to according to your budget, for the demo we will use the Free Tier t2.micro instance. 
  7. Select “Next: Configure instance details” will redirect you to the Step 3: Configure Instance Details: leave the defaults, we won’t change anything here.                                                                                              
  8. Select “Next: Add Storage” will redirect you to the Step 4: Add Storage: defaults is the 10 GB, for free tier you are eligible to use 30 GB, so take the advantage.                                                                       
  9. Select “Next: Add Tags” will redirect you to the Step 5: Add Tags: add a tag like bitnami-wordpress. 
  10. Select “Next: Configure Security Group” will redirect you to Step 6: Configure Security Group: This is crucial to your instance as it will let you access the instance by various means, leave the defaults is sufficient for you to access the website and connect by SSH.                                                                                           
  11. Select “Review and Launch” will lead you to the final step of launching Bitnami instance, choose the Launch
  12. Select the Create a new key pair when prompted, give Key pair name and Download Key Pair. Finally Select Launch Instances.                                                                                                                            
  13. After completion Launch Status will be shown. Select the View Instance.                                                                    
  14. Now extract the default username and password for your Bitnami application. From the Instances page select the launched instance, then select Actions > Instance Settings > Get system Log. Scroll down in the System Log window and find the section where the user and password is showing. Note the username and password for the future use to login to the wordpess blog, mysql database and phpmyadmin.                                                                                                      
  15. Now connect to your Bitnami instance by SSH. (Read: How to connect to an EC2 instance by SSH)
  16. The next step is to browse the WordPress blog/website you deployed by Bitnami WordPress image on AWS EC2 cloud.
  17. Find out the Public DNS or Puiblic IPv4 IP of your launched Bitnami instance.                           
  18. Copy the Public DNS or Public IP and put it to your browser will load the blog configured by Bitnami. 
  19. That’s it. 🙂

 

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.