Open Telekom Cloud provides secure, flexible cloud infrastructure to launch and use enterprise applications. Open Telekom Cloud servers integrate well with other compute, storage, networking and security services and can be managed via a friendly, Web-based dashboard.
Bitnami provides a number of pre-packaged application images for Open Telekom Cloud servers, so that you can get productive with them immediately. You can access and launch these images in two ways: through the free Bitnami Launchpad for Open Telekom Cloud, which gives you fully configured applications and development stacks that are ready to run on your Open Telekom Cloud account in minutes, or through the Open Telekom Cloud Console, the online dashboard for Open Telekom Cloud users.
In this tutorial, I'll walk you, step by step, through the process of using the Open Telekom Cloud Server Console to create and provision a new cloud server.
|TIP: To learn about launching servers with the Bitnami Launchpad for Open Telekom Cloud instead, refer to this tutorial.|
If you're interested in creating a personal or small business blog, chances are that you're going to use WordPress. WordPress is one of the most popular blogging platforms in the world, used on over 60 million websites (according to Wikipedia). And it is not hard to see why: WordPress is very easy to use, comes with thousands of extensions and themes, is completely free, and is open source.
In this tutorial, I'll launch a cloud server with the Bitnami WordPress Stack, which gives you a pre-configured WordPress blog that you can start using right way. But WordPress is just an example: there are hundreds of other Bitnami applications to choose from, and they're all equally easy to set up.
Here are the steps you'll follow in this tutorial:
- Register with Open Telekom Cloud
- Generate an SSH key pair
- Deploy WordPress on an Open Telekom Cloud server
- Log in and start using WordPress
The next sections will walk you through these steps in detail.
Step 1: Register with Open Telekom Cloud
|At the end of this step, you will have signed up for the Open Telekom Cloud service. If you already have a Open Telekom Cloud account, you may skip this step.|
Begin by creating a new Open Telekom Cloud account, by browsing to https://cloud.telekom.de/en/infrastructure/open-telekom-cloud/ and clicking the "Create Account" button at the top of the page.
Enter your email address and click "Next" to proceed.
The system will now send you a verification email with an account activation link. Click the link in the verification email to activate your account. You will be presented with an account information page, as shown below. Enter the required details, including your name, company name and size, account password and other information and proceed to activate your account.
Once the details entered are verified, your account will be activated.
Step 2: Generate an SSH key pair
|At the end of this step, you will have generated an SSH key pair to access your Open Telekom Cloud server.|
This is also a good time to generate an SSH key pair, which you will need to log in to your cloud server. To do this:
Log in to the Open Telekom Cloud Server Console.
Navigate to the "Key Pair" section.
Click the "Create Key Pair" button.
Enter a name for your key pair. Click "OK" to create the new key pair.
The new key pair will be generated and you will be prompted to download the private key in .pem format. Keep this key carefully, as you will need it to log into servers associated with the corresponding key pair.
|NOTE: You will only be able to download the private SSH key once. Store it safely as you will not be able to log in to your Open Telekom cloud servers without it.|
Step 3: Deploy WordPress on an Open Telekom Cloud server
|At the end of this step, your WordPress blog will be running on a Open Telekom Cloud server.|
Launching a new Open Telekom Cloud server with the Bitnami WordPress Stack is easy. Follow these steps:
- Log in to the Open Telekom Cloud Server Console.
Navigate to the "Elastic Cloud Server" section and click the "Create ECS" button.
On the "Create ECS" page, in the "Basic Information" section, enter a friendly name for the machine and select the number of vCPUs and available memory. Select "Marketplace Image" for the "Image Type" field and choose WordPress from the list of available images.
On the same page, in the "Network" section, ensure that an Elastic IP address is assigned to the server, so that it is reachable on the Internet, and that the chosen security group allows inbound access on ports 22, 80 and 443. Ports 80 and 443 enable access to the Web server, and port 22 enables SSH access.
TIP: If no security group exists, or if the security group does not allow inbound access on these ports, refer to the FAQ for information on how to add these ports to the security group.
On the same page, in the "Login" section, select "Key Pair" as the login mode and select the key pair created earlier. In case you haven't already created a key pair, refer to Step 2 for details.
NOTE: Remember that when logging in using an SSH key pair, your security group must be configured to allow inbound access on port 22.
Leave all other settings at their default and click the "Create Now" button.
Review and confirm the details of the server and click "Submit" to proceed.
The Open Telekom Cloud Server Console will now begin the process of creating and deploying the server. You will be redirected to the list of available cloud servers, which will show the status of the task in progress.
Once the cloud server has been provisioned, it will appear in the list of servers in the Open Telekom Cloud Server Console and the status indicator will show that it's running. The server list will also display the public IP address of the server.
At this point, you should be able to browse to the cloud server, by entering the server IP address directly into your browser's address bar. You should now see your WordPress blog's home page with a sample post, as shown below.
The Open Telekom Cloud Server Console also includes controls to restart, shut down or delete the server. To access these, click the "More" menu icon next to the server name and select "Stop" or "Restart" to stop or restart the server, or "Delete" to delete the server permanently.
To log in to WordPress, you will need the WordPress application credentials. By default, the application username is user and the application password is randomly generated. To obtain the password, follow the steps below:
- Navigate to the Open Telekom Cloud Server Console and select the "Remote Login" menu item for your newly-launched server.
- In the resulting keyboard configuration dialog, select the option to "use the current keyboard layout" and click the "Remote login" button.
- A remote login window will open, and the default login username and password will be specified above the login prompt. Use these credentials to log in to the server console.
At the server console, execute the following command to obtain the system log:
$ sudo cat /opt/bitnami/var/log/pre-start.log
Review the log and note the application password.
Step 4: Log in and start using WordPress
|At the end of this step, you will have logged in to WordPress and created a new blog post.|
To log in to the WordPress dashboard, follow these steps:
Browse to the WordPress dashboard, usually at the URL http://SERVER-IP/wp-admin.
Log in with the administrator credentials from the previous step.
You should now arrive at the WordPress dashboard, which allows you to manage posts, pages and comments; customize your blog with themes and plugins; import and export content; manage navigation menus; add or delete new user accounts; and much more.
You can now add a new post using the following steps:
Select the "Posts -> Add New" menu option to create a new post.
- Enter a title and content for the post. You can use the formatting tools at the top of the content area to format your post and add hyperlinks or images.
- Optionally, choose the format and category for your post.
Publish it immediately using the "Publish" button.
And now, when you visit your blog's front page, you should see your new post.
Congratulations! You now have a working, fully-functional WordPress blog in the cloud.
You can keep your WordPress installation up-to-date with the WordPress automatic update feature. To access this:
- Log in to WordPress using the administrator account.
Select the "Dashboard -> Updates" menu item.
Review the resulting page to see if WordPress needs an update. If an update is available, you can install it by clicking the "Update Now" button. You can also re-install WordPress if needed with the "Re-install Now" button.
To learn more about the topics discussed in this tutorial, use the links below: