1. How to access your WordPress Blog:
After you successfully lauched the instance, use the public DNS or IP address to connect your website:
The WordPress default user name is "user"
Password is generated randomly, and stored in the system log. You access the log at Actions > Instance Settings > Get system log.
After you login to WordPress dashboard, you may change your admin password, or add another user as administrator.
2. Connect to the Ubuntu server.
You should note that a public key is required to connect the server, so you'd better generate a new key when you start launching an instance, and download the the .pem file.
Putty need a private key to login, you need PuttyGen to generate a private key.
Login user name is "bitnami" with the private key.
3. Access to database using phpmyadmin from a browser.
The database can only be accessed from localhost, 127.0.0.1, so you need a open a tunnel to do that. Open a putty new session when you use Windows, fill in the host DNS and authorisation as described above, then, use connection > Tunnels command to add source port and destination, and click add.
While the tunnel is open, you could access the database from your browser, http://127.0.0.1:8888/phpmyadmin/. And the password is the same as WordPress admin password that is used to access to the control panel.
4. Add a domain name to your WordPress website.
Go to your domain registrar, and add a new A (adress), after couple of minutes (almost instantly), it become alive online. The good thing is WordPress can update the URL automatically, when you visit by custom url.
5. Upload files with SFTP
You also use the private key to connect your EC2 Ubuntu server, and upload your files. In my case, I use FileZilla, use "Edit > Settings" command to bring up the Configuration Settings, and within the "Connect > SFTP" use add keyfile command to select the private key file for the server. Please note that user name is "Bitnami", and logon type, choose "Ask for password", then when it asks for password, just confirm without a password.
6. SendmailAt first, I tried phpmail() function to send email without success, the problem is that sendmail installed under the /usr/sbin/, I created a symlink to /usr/bin/, then it works:
$ sudo apt-get update
$ sudo apt-get install sendmail
$ sudo ln -s /usr/sbin/sendmail /usr/bin/sendmail
Some say that Amazon only allows 25 emails per month, but I am not sure about this number.