Quantcast
Channel: TechNet Blogs
Viewing all articles
Browse latest Browse all 34890

Article - Create a WordPress Site using Windows Azure .. Read On….

$
0
0

#blainbar

 

0verview:

What is Windows Azure? Windows Azure is an open and flexible cloud platform that enables you to quickly build, deploy and manage applications across a global network of Microsoft-managed datacenters. You can build applications using any language, tool or framework. And you can integrate your public cloud applications with your existing IT environment. To get started with Windows Azure go to: http://aka.ms/try-azure

clip_image001

Windows Azure offers reliable, enterprise grade infrastructure to securely host web sites with high availability by default. Easily secure your web site with support for both a SNI and IP-based SSL certificate. Build robust, secure and modern business applications with access to key Windows Azure services such as Active Directory, SQL Database and Service Bus. Windows Azure keeps your infrastructure up to date by automatically patching your web server and operating system. Run your web site on a network of global datacenters with a guaranteed SLA and 24/7 support options.

clip_image002

Windows Azure Web Sites is built on a rock-solid foundation that powers some of the largest businesses in the world with incredible stability and industry-leading support for Internet standards. Built to handle millions of requests per day, Windows Azure will automatically load balance requests as needed and keep your infrastructure up to date. Scale-up or scale-out in seconds or scale automatically with zero code changes or effort, and pay only for what you use.

For more information about Windows Azure Web service offerings, visit these URLs.

· Windows Azure Web Applications

· Windows Azure Web Sites

· Windows Azure Web Sites Pricing

Prerequisites:

There are a few prerequisites that you must have in order to complete this lab guide.

· A Microsoft ID

o Sign up here

· Windows Azure account (Trial, Pay As You Go, or Purchased Plan)

o Windows Azure 30 Day Trial

o You will need a credit card to create a trial account (You will NOT be charged)

· Some understanding of WordPress

· Some understanding of MySQL

Let’s create a WordPress Website!

Lab Guide:

Windows Azure Account

Sign up for a Windows Azure 30-Day Trial account here.

**Note: You will need a credit card to sign up for the trial account.

What you get with your Windows Azure 30-Day Trial:

clip_image004

$200 USD of Windows Azure services. Build what you want, scale as you need, and full access with no strings attached.

· Create and run Virtual Machines

· Develop a modern app using Cloud Services

· Build and deploy Web Sites

· Spin up Mobile back-ends for Android,

· iOS or Windows Phone 8

· Store, backup, and recover data

· Encode and share video

And much, much more...

Create a WordPress Site

After you sign up and create your Windows Azure Trial Account or are using your own account, you will be logged in to the Portal screen and it is defaulted to the All Items category.

clip_image006

clip_image008

1. From the All Items screen, navigate and select Web Sites icon from the left navigation sidebar. In most cases, it is located right under the All Items icon. This will display the Web Sites screen.

clip_image010

You will see this initial screen when there are no web sites created.

clip_image012

2. Click on Create A Web Site. This will bring up the Create Screen.

Let’s pause here for a moment and discuss the different options for creating a website.

· Quick Create: Will create a website using the .NET platform by default. You will then need the required applications and tools to configure and build the website. There are also no linked resources, such as a database.

· Custom Create: Will allow you to create a website with a certain database type, database connection string, and servers if required. You will then need the required applications and tools to configure and build the website. This option is typical for advance web developers.

· From Gallery: This option gives you the greatest options for website customization. You can define your database type, web platform, and choose from several website content management systems (CMS), such as WordPress. Feel free to browse through the available third party and template websites.

For the purpose of this lab guide, From Gallery create option and WordPress from the Gallery will be used.

clip_image014

3. Select From Gallery. This will bring up the Find Apps for Windows Azure screen. Feel free to browse through what is currently available.

clip_image016

When ready, scroll down and select WordPress. Then click the Circled Right Arrow to continue.

4. Configure You App

clip_image018

URL: Enter a URL name. This URL name is shared throughout the Windows Azure infrastructure, and if the name you entered is used, you will receive a red exclamation mark clip_image020. When a unique URL is entered, you will receive a green checkmark clip_image022.

Database: A new MySQL database will created.

Region: Select your closest region.

clip_image024

Click the Circled Right Arrow to continue.

5. New MySQL Database

Name: A name is automatically generated for your new MySQL database for WordPress. It is recommended for beginners to change the name to something that is easily manageable. If you are new to WordPress, you do not have to change this field. For the purpose of this lab guide, the name was changed.

 

Region: You do have the option to change the region of your database, but it is not recommended for performance issues. The region field should already be what you choose from the step above. If not, select your closet region.

ClearDB: You must check this checkbox to continue. ClearDB is used to create the MySQL database and for monitoring.

clip_image028

 

Click the Circled Checkmark to create your new WordPress Azure website.

clip_image030

clip_image026

6. The web site creation will not take long and once completed successfully, your new web site is almost ready to use. You will need to install and configure WordPress. Click the URL to install and configure WordPress.

Configure WordPress

Before your new web site has that look and feel of a traditional WordPress blog site, you have to configure a few options.

1. clip_image032

You will need to give your site a title, create the admin user, enter a password, and enter your email address.

Best practices for WordPress ask that you do not use the standard admin user for site administrator. You have the option here to change the Administrator user now, but for the purpose of this lab guide, admin will be used. You may also change this user later from the WordPress site dashboard.

You may also uncheck the Privacy box if you so wish.

clip_image034

Enter your information and click the button Install WordPress.

clip_image036

2. Once completed, click the Log In button.

clip_image038

3. clip_image040Enter the user credentials created in Step 1 of this section. Click the Log In button.

4. You will be taken to your WordPress site Dashboard. The Dashboard is the main point of control for your site. For more information about the WordPress Dashboard, click here.

clip_image042

Your WordPress site is now available for viewing from any browser. Verify this by hovering you mouse pointer over your site title in the upper left corner of the gray, top navigation bar of the Dashboard screen. A drop-down menu will appear. Right-click on Visit Site and choose to Open in a new tab or window.

clip_image044

Congratulations! You have successfully created a WordPress site in Windows Azure.

Before we continue with your WordPress site, let’s take a look back at the Windows Azure portal and look at the new screens associated with your web site in the Web Sites category.

Windows Azure Web Sites Category Navigation

Now that your Windows Azure WordPress Web Site is up running, Windows Azure offers you several features to monitor, control, and scale on-demand resources as needed. Let’s explore these resources for your website.

clip_image046

From your Windows Azure portal, navigate to the Web Sites category from the left sidebar navigation.

Quick Start:

clip_image048

Click your web site name.

The Quick Start screen is displayed. The Quick Start screen is fairly new to Windows Azure and is to help new users navigate the portal and features associated with the service they are currently viewing. You have the option to not display this screen on next viewing. The Dashboard screen will then become the default start screen when viewing the selected service.

clip_image050

From here you have the option to navigate to the resources for this selected service and the ability to install and/or download tools associated with the service.

Select Dashboard from the top navigation bar.

Dashboard:

clip_image052

The Dashboard screen is the summary of all things associated with the selected service. Here you can view information about endpoints for monitoring, autoscale status, usage, linked resources, and detailed information pertaining to FTP user(s), and subscription information.

Monitor:

clip_image054

The Monitor screen is the usage graph from the Dashboard screen with specific detail analytics for your website.

Configure:

clip_image056

The Configure screen will allow to configure or modify details pertaining to your web site such as: General settings that let you configure your web site environment, Manage SSL certificates that you can bind to your custom domain names, View additional custom domain names for the web site here, Enable application logging to collect diagnostic traces from your web site code, Gathering diagnostic information for your web site, including web server logging, detailed error messages, or failed request tracing, Monitor the availability of HTTP or HTTPS endpoints from geo-distributed locations, Specify name/value pairs that will be loaded by your web application when it starts, View connection strings for linked resources, Add, remove, or reorder your web site's default documents, and Specify a custom script processor to handle requests for the file extension that you specified.

Scale:

The Scale screen will allow you to change your Web Site Mode. Use this option to ramp up the resources associated with your web site.

clip_image058

Windows Azure offers three modes for you to run your web sites: Free, Shared (PREVIEW), and Standard. In the Free and Shared modes, all web sites run in a multi-tenant environment and have quotas for usage of CPU, memory, and network resources. The maximum number of sites you can run in Free mode may vary with your plan. Shared mode is a preview feature that employs less stringent resource usage quotas than Free mode, but provides a reduced SLA when compared to the Standard mode. When you choose Standard mode, you choose which sites run on dedicated virtual machines that correspond to standard Windows Azure compute resources.

Linked Resources:

clip_image060

To show your web site's dependencies on other resources, you can link new or existing Windows Azure SQL Database instances, MySQL instances, or storage accounts to the web site, and then monitor their usage on the web site dashboard.

That was just a quick overview of what is available in the Windows Azure portal to monitor, control, and configure your website.

If you are already familiar with WordPress, you make skip the next section of this lab guide. For those new to WordPress, continue to follow along to learn how to perform simple administration and customization tasks and make your first post and page.

Let’s jump back to your WordPress site and perform a few common tasks to get you started on using WordPress. Switch back to your web browser with the WordPress Dashboard.

If you closed that tab or logged out, from the Windows Azure portal, navigate back to the Web Sites All Items screen and click on the URL for your website. Then scroll down and click on Log In. Use the credentials that you created earlier in this guide.

Common WordPress Tasks:

Create a Post:

clip_image062

1. Select Posts from the left sidebar navigation. You may also select from the pop-out menu All Posts or Add New. For now, just click on Posts.

clip_image064

The Posts screen is displayed. You will notice that a sample post has already been created. You may delete this post.

clip_image066

2. Click Add New. The Add New Post screen is displayed.

clip_image068

· Enter a title for the post

· Enter text in the post body

· Click Publish

clip_image070

You screen will refresh, staying on the Add New post screen, but now you will be in Edit mode for the post. You will notice that the Publish button has now changed to Update.

clip_image072

Click on All Posts from the left sidebar navigation. You will see your new post listed. To learn about the other fields in the Posts screen, such as Categories, see the WordPress site for more information.

clip_image074

If you have another tab open with your site, refresh it and see your new post.

Switch back to the WordPress Dashboard browser tab and click on Dashboard in the left sidebar navigation.

Create a Page:

clip_image076

1. Select Pages from the left sidebar navigation. You may also select from the pop-out menu All Pages or Add New. For now, just click on Posts.

clip_image078

The Pages screen is displayed. You will notice that a sample page has already been created. You may delete this page.

clip_image080

2. Click Add New. The Add New Page screen is displayed.

clip_image082

· Enter a title for the page

· Enter text in the page body

· Click Publish

clip_image084

You screen will refresh, staying on the Add New page screen, but now you will be in Edit mode for the page. You will notice that the Publish button has now changed to Update.

clip_image086

Click on All Pages from the left sidebar navigation. You will see your new page listed.

clip_image088

If you have another tab open with your site, refresh it and see your new page listed in the navigation bar under your site title.

Switch back to the WordPress Dashboard browser tab and click on Dashboard in the left sidebar navigation.

Creating posts and pages is very straight forward and easy with WordPress. Now, there is a lot more you can do in both, such as add images, media, formatting, etc., but that is up to you learn. WordPress has a great community of users that are willing to help even beginners on their web site, documentation, and forums. Make sure to visit them for help and resources.

WordPress Updates:

One of the most common administrative tasks in WordPress is Updates. You may have notice that there are a couple of items that require updating after the initial install of WordPress. Let’s see what needs to be updated.

clip_image090

1. From your Dashboard screen, click Updates from the left sidebar navigation.

clip_image092

2. The WordPress Updates screen lists all the available updates for WordPress itself, installed plugins, and installed themes. Let’s update WordPress first. Click the Update Now button.

3. clip_image094

This update will only take a moment. Once the update is successful, you’ll be taken to the update summary screen for WordPress. Scroll through this page to see what was updated in WordPress 3.5.2.

clip_image096

4. On the left sidebar navigation, hover over Dashboard and select Updates. You still have a Plugin that needs to be updated.

clip_image098

5. Select the checkbox for the Akismet plugin and click the Update Plugins button.

clip_image100

The update process will only take a moment.

clip_image102

Click on Dashboard. You are now ready to explore more of the features in WordPress.

There are many more administrative tasks and settings that can be configured for your site. There are also thousands of plugins and themes you can download and install to make your site the way you want it. Explore the WordPress site to find out how powerful WordPress is.

Author:

This article and lab guide was authored by Blain Barton and Alex Melching.

This lab guide has been tested thoroughly, but if there are any questions, problems or any errors later discovered, please email Alex Melching at alex@tbvug.com and reference this document.

If there are any updates or service changes to the Windows Azure Web Sites service or the portal, this lab guide will be updated.

· http://blogs.technet.com/blainbar


Viewing all articles
Browse latest Browse all 34890

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>