This article describes how to get started using the Windows Azure images developed by Bitnami. We will use the Bitnami WordPress image for the examples below.
Bitnami Launchpad for Windows Azure
The Launchpad for Windows Azure is a web-based interface for launching Azure images with ease. When you visit the Launchpad, you will have access to the entire Bitnami Library.
Mouse over a image to reveal two options: Launch in Account and Free 1 hour Demo. You do not need an Azure account to launch a demo, however you will need to sign up for Windows Azure to run a production server.
Enter Bitnami admin password by clicking the sign in link in the top right. Next, you will create a Management Certificate in order to give Bitnami permission to launch applications in your Azure account. Just sign in to Azure.
A customized pub file will automatically download to your computer, which you can drag from your desktop into the console. Now just click to create a service. Once you do, you'll be able to set your server size, select a region and create a virtual machine
Add Bitnami Image
All Bitnami images are also listed in the Azure Community Portal VM Depot and in the Windows Azure web console. We have prepared several Bitnami images for Windows Azure and will continue to release more.
First, go to the "Virtual Machines" section and then "Images" tab" and click "Browse VMDepot" at the bottom of the page.
Select the Bitnami image which you want to add to your Windows Azure Account. We choose WordPress in this tutorial. Each Windows Azure Image powered by Bitnami has a detailed description of the included application. The listing also provides the default application login and password. Click "More" to show the image description.
Click OK. Now your new image (in our case "WordPress-3-5-0-Ubuntu-12-10") will show up in the Images section. Select it and click the "Register" button at the bottom. In the new pop-up window you will be able to choose the name for your image. Then click OK.
Launch your machine
Once the new image is added, click New in the left bottom corner. Select "Virtual Machine" and then "From Gallery" option. Go to "My Images" in the new pop-up window and select your new image:
Enter your machine name, login, password, instance type and DNS name in the machine configuration wizard.
Once the new machine wizard is completed, click "Virtual Machines" in the left menu, and select your new server. Wait till your machine is running.
Open network ports
This dashboard gives you an overview of all server attributes, possible operations and also allows you to modify your instance configuration.
We can check which network ports are open in the "Endpoints" section.
You need to add port 80 (HTTPS) here. Click "Add Endpoint" at the bottom of the page and fill in the form below:
Please note that it may take some time before the new port is available.
Access your application
Once your machine is running and port 80 (HTTP) is opened, you can enter its domain name in your web browser. In our example, it is mywordpress.cloudapp.net. You can find the domain in the main dashboard,
Click "Access my application" to get access to your WordPress application.
Please note that in most cases, the default application login and password are:
You can find the default login and password in the Windows Azure VMDepot portal, in the Azure image description.
WARNING: Please login to your application immediately after launching your server and change the default password.
Connect to your machine
You have full control over your machine and you can connect to it with any SSH/SFTP/SCP client. The system account login and password were chosen with the server creation command. Learn more about how to connect to your server. Here is an example of SSH session for our demo machine below:
ssh firstname.lastname@example.org email@example.com's password: The programs included with the Ubuntu system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Welcome to Ubuntu 12.10 (GNU/Linux 3.5.0-21-generic x86_64) ___ _ _ _ _ _ | _ |_) |_| \| |__ _ _ __ (_) | _ \ | _| .` / _` | ' \| | |___/_|\__|_|\_\__,_|_|_|_|_| *** Welcome to the Bitnami WordPress 3.5-0 *** *** Bitnami Wiki: http://wiki.bitnami.com/ *** *** Bitnami Forums: http://answers.bitnami.com/ *** wpuser@my-wordpress:~$
All of the Bitnami base stack components, such as Apache, MySQL, PHP, etc., are located in the /opt/bitnami directory.
The most important configuration files are located in the following locations:
Apache web server:
Apache web server application secific configuration file
PHP configuration file
All of the Bitnami applications are installed in the /opt/bitnami/apps directory. If you want to learn more about a specifc Bitnami application, see the following articles:
- Bitnami Alfresco
- BitNami concrete5
- Bitnami CraftBukkit
- BitNami Custom PHP application
- Bitnami Custom Ruby on Rails application
- BitNami Diaspora*
- BitNami Discourse
- BitNami DokuWiki
- BitNami Drupal
- BitNami Gallery
- BitNami Ghost
- BitNami GitLab
- BitNami Gitorious
- BitNami Horde Groupware Webmail
- BitNami JasperReports Server
- BitNami Jenkins
- BitNami Joomla!
- BitNami Liferay
- BitNami LimeSurvey
- BitNami Magento
- BitNami Mantis
- BitNami MediaWiki
- Bitnami MODX
- BitNami Moodle
- BitNami OpenERP
- BitNami OSClass
- BitNami OSQA
- BitNami ownCloud
- BitNami OXID eShop
- BitNami PhpCompta
- BitNami Piwik
- BitNami Pootle
- BitNami PrestaShop
- Bitnami ProcessWire
- BitNami Redmine
- Bitnami ResourceSpace
- BitNami Review Board
- BitNami Roundcube
- Bitnami SiteCake
- BitNami Spree
- BitNami SugarCRM
- BitNami TestLink
- Bitnami Tiny Tiny RSS
- BitNami Trac
- BitNami Tracks
- BitNami TYPO3
- BitNami Weblate
- BitNami WordPress
- BitNami WordPress Multisite
- BitNami Zurmo
The Bitnami Stack is managed with the ctlscript.sh tool. You can use it to check the state of your services (Apache, MySQL, etc.), start, stop or restart them.
wpuser@my-wordpress:~$ sudo /opt/bitnami/ctlscript.sh status apache already running mysql already running wpuser@my-wordpress:~$ sudo /opt/bitnami/ctlscript.sh restart Syntax OK /opt/bitnami/apache2/scripts/ctl.sh : httpd stopped /opt/bitnami/mysql/scripts/ctl.sh : mysql stopped 130114 16:01:05 mysqld_safe Logging to '/opt/bitnami/mysql/data/mysqld.log'. 130114 16:01:06 mysqld_safe Starting mysqld.bin daemon with databases from /opt/bitnami/mysql/data /opt/bitnami/mysql/scripts/ctl.sh : mysql started at port 3306 Syntax OK /opt/bitnami/apache2/scripts/ctl.sh : httpd started at port 80