The websites of Microsoft's public cloud charm

Source: Internet
Author: User
Tags ssl certificate

Microsoft Azure, operated by the century, has been operating in the country for some time, and through recent projects I personally enjoy and love azure more and more, and I happen to be summarizing some information here to share with you, the previous blog post also has a simple chat about azure network, storage, Virtual machine Some of the topic, today to say websites, that is, site services.

First, Azure is a PAAs-level platform that provides four types of services, compute, data, application, network, and then subdivision in each type of service, and websites is a branch of the compute service. As Azure officially describes, Azure websites supports a variety of development frameworks, simple deployment, support for Autoscale and load balancing, and more.

650) this.width=650; "title=" 2014-10-22_21-05-14.png "style=" Float:none "src=" http://s3.51cto.com/wyfs02/M00/4C/ Ef/wkiom1rhw6wslmvdaaoxfeo9s6i496.jpg "alt=" Wkiom1rhw6wslmvdaaoxfeo9s6i496.jpg "/>

#####################################################################

The following directly into the topic to websites, first login to the Azure subscription, then you want to create a new website, you can use "Create a website" or the bottom left corner of the screen at any time click "New" can be, such as:

650) this.width=650; "title=" 2014-10-22_21-07-46.png "style=" Float:none "src=" http://s3.51cto.com/wyfs02/M01/4C/ F0/wkiol1rhw_pzht37aaijvaxwkhg801.jpg "alt=" Wkiol1rhw_pzht37aaijvaxwkhg801.jpg "/>

Then websites is also supported for fast creation and customization

650) this.width=650; "title=" 2014-10-22_21-08-24.png "style=" Float:none "src=" http://s3.51cto.com/wyfs02/M01/4C/ Ef/wkiom1rhw6fcmfqxaai4mnmqzdw141.jpg "alt=" Wkiom1rhw6fcmfqxaai4mnmqzdw141.jpg "/>

I choose to customize, then enter a URL name and make sure it is unique, and then in the database options you can keep "no database" or create a database, such as:

650) this.width=650; "title=" 2014-10-22_21-09-36.png "style=" Float:none "src=" http://s3.51cto.com/wyfs02/M02/4C/ F0/wkiol1rhw_xakmreaahkthejvjy674.jpg "alt=" Wkiol1rhw_xakmreaahkthejvjy674.jpg "/>

If you are creating a new SQL database, a connection string name is generated by default, which is, of course, a PAAs layer, and not a virtual machine that contains SQL for you to create.

650) this.width=650; "title=" 2014-10-22_21-10-01.png "style=" Float:none "src=" http://s3.51cto.com/wyfs02/M02/4C/ Ef/wkiom1rhw6mt2zehaaisoihidtk504.jpg "alt=" Wkiom1rhw6mt2zehaaisoihidtk504.jpg "/>

Then just like creating the SQL database service, you need to enter the login name and password of the database, and randomly generate a "logical" SQL Server name, if you click the Advanced settings will go to the next page, such as:

650) this.width=650; "title=" 2014-10-22_21-11-05.png "style=" Float:none "src=" http://s3.51cto.com/wyfs02/M00/4C/ F0/wkiol1rhw_ird5gpaakpl0rm4rw631.jpg "alt=" Wkiol1rhw_ird5gpaakpl0rm4rw631.jpg "/>

Unfortunately, the Create Database Wizard through the websites service can only lock the basic level, which is the maximum 2GB library and the low DTU, of course, can be modified later, such as:

650) this.width=650; "title=" 2014-10-22_21-12-50.png "style=" Float:none "src=" http://s3.51cto.com/wyfs02/M00/4C/ Ef/wkiom1rhw6yhqxw_aakg2zzhi40103.jpg "alt=" Wkiom1rhw6yhqxw_aakg2zzhi40103.jpg "/>

After this wizard, you can complete the creation of website, and I created two website, respectively, "xieruitest01" and "xieruitest02" and did not create a SQL database, such as:

650) this.width=650; "title=" 2014-10-22_21-15-05.png "style=" Float:none "src=" http://s3.51cto.com/wyfs02/M01/4C/ F0/wkiol1rhw_qaz-guaakcyezpjmm903.jpg "alt=" Wkiol1rhw_qaz-guaakcyezpjmm903.jpg "/>

The speed of creation is very fast, because it is the PAAs layer delivery, so for the user, the next task is to deploy or upload your website and application, do not care about the OS or lower maintenance, this is different from the private cloud environment, you have care many factors, network bandwidth enough, storage stability, The load on the virtual machine or the physical machine is too high and so on, now just put all your energy into the application itself. As shown in the newly created empty site, there is nothing, Azure for "*.chinacloudsites.cn" is the default open SSL link, so you can use https://to access the default URL, but if you want to do domain redirection is configured separately, This will be mentioned later.

650) this.width=650; "title=" 2014-10-22_21-15-26.png "style=" Float:none "src=" http://s3.51cto.com/wyfs02/M01/4C/ Ef/wkiom1rhw66hvipsaai3pj3rm4c029.jpg "alt=" Wkiom1rhw66hvipsaai3pj3rm4c029.jpg "/>

###################################################################

Into the xieruitest01 site that you just created, you can see a lot of things in the dashboard, such as configuring Autoscale, which is scale-out, setting up deployment logins, and so on, such as:

650) this.width=650; "title=" 2014-10-22_21-29-28.png "style=" Float:none "src=" http://s3.51cto.com/wyfs02/M02/4C/ F0/wkiol1rhw_2wivpkaan3lv1b2zc069.jpg "alt=" Wkiol1rhw_2wivpkaan3lv1b2zc069.jpg "/>

You can also see the FTP link and the previously configured user name, such as:

650) this.width=650; "title=" 2014-10-22_21-30-43.png "style=" Float:none "src=" http://s3.51cto.com/wyfs02/M02/4C/ Ef/wkiom1rhw7gjsisvaapwr5nd3yo801.jpg "alt=" Wkiom1rhw7gjsisvaapwr5nd3yo801.jpg "/>

If you want to reset your credentials, it's no problem, it's very simple:

650) this.width=650; "title=" 2014-10-22_21-31-48.png "style=" Float:none "src=" http://s3.51cto.com/wyfs02/M00/4C/ F0/wkiol1rhxadczo3iaamk7pxvffy595.jpg "alt=" Wkiol1rhxadczo3iaamk7pxvffy595.jpg "/>

Click the FTP link and log in with the credentials you just modified:

650) this.width=650; "title=" 2014-10-22_21-32-16.png "style=" Float:none "src=" http://s3.51cto.com/wyfs02/M00/4C/ Ef/wkiom1rhw7tw6j46aahnc7fxnb0638.jpg "alt=" Wkiom1rhw7tw6j46aahnc7fxnb0638.jpg "/>

You can open ftp and upload and edit files in the file browser, which is convenient:

650) this.width=650; "title=" 2014-10-22_21-32-37.png "style=" Float:none "src=" http://s3.51cto.com/wyfs02/M01/4C/ F0/wkiol1rhxakbxzl3aagcdlfeume723.jpg "alt=" Wkiol1rhxakbxzl3aagcdlfeume723.jpg "/>

Also click on the site's "configuration" to see the current default settings, such as PHP and Java version information:

650) this.width=650; "title=" 2014-10-22_21-33-26.png "style=" Float:none "src=" http://s3.51cto.com/wyfs02/M01/4C/ Ef/wkiom1rhw7wrsxnaaajcjmzl7cg249.jpg "alt=" Wkiom1rhw7wrsxnaaajcjmzl7cg249.jpg "/>

If you want to configure the scaling or upload SSL certificate, because the default website is a free type, it is not supported and needs to be configured:

650) this.width=650; "title=" 2014-10-22_21-33-51.png "style=" Float:none "src=" http://s3.51cto.com/wyfs02/M01/4C/ F0/wkiol1rhxassmxbfaal_iapvrai774.jpg "alt=" Wkiol1rhxassmxbfaal_iapvrai774.jpg "/>

Go to the "Zoom" option, you can see website support four modes, are free, shared, basic, Standard, what is the difference between them, the first free is in the Azure cloud your site is and all other people's free or shared sites together, can not configure the scale, And idle about 20 minutes after you will stop your website load, the benefit of sharing is better performance than free, the export traffic before 50G should be free, in the number of sites will be more, then the basic and standard will be much better, these two models will give you a separate open virtual machine instance, see:

650) this.width=650; "title=" 2014-10-22_21-34-51.png "style=" Float:none "src=" http://s3.51cto.com/wyfs02/M02/4C/ F0/wkiol1rhxawrlnecaak3nqbcl9o042.jpg "alt=" Wkiol1rhxawrlnecaak3nqbcl9o042.jpg "/>

Sharing can also be configured for scaling:

650) this.width=650; "title=" 2014-10-22_21-35-31.png "style=" Float:none "src=" http://s3.51cto.com/wyfs02/M02/4C/ Ef/wkiom1rhw7nxkl0jaajkaqmkp1o852.jpg "alt=" Wkiom1rhw7nxkl0jaajkaqmkp1o852.jpg "/>

The basic mode can choose the virtual machine instance size, but the virtual machine does not need you to maintain, as long as you know it exists is good:

650) this.width=650; "title=" 2014-10-22_21-37-04.png "style=" Float:none "src=" http://s3.51cto.com/wyfs02/M01/4C/ Ef/wkiom1rhw7rjy_aqaakxaifyya4682.jpg "alt=" Wkiom1rhw7rjy_aqaakxaifyya4682.jpg "/>

Standard words will be advanced a lot, first you can set the Zoom window, trigger conditions and so on, such as:

650) this.width=650; "title=" 2014-10-22_21-38-14.png "style=" Float:none "src=" http://s3.51cto.com/wyfs02/M00/4C/ F0/wkiol1rhxajzh1ejaajtm_vbhlm317.jpg "alt=" Wkiol1rhxajzh1ejaajtm_vbhlm317.jpg "/>

When I change the site to basic mode, you can upload the certificate, of course, this certificate is not used to bind with the default URL, because the default is the SSL certificate, should be issued by Cnnic root, and the function of managing the domain name is used for redirection, An SSL certificate is used to bind to a custom domain name or a record IP:

650) this.width=650; "title=" 2014-10-22_21-39-54.png "style=" Float:none "src=" http://s3.51cto.com/wyfs02/M00/4C/ Ef/wkiom1rhw7ycpa08aai9kr_lmbo858.jpg "alt=" Wkiom1rhw7ycpa08aai9kr_lmbo858.jpg "/>

####################################################################

So after understanding some websites simple configuration, then need to do the deployment work, just mentioned Azure websites support FTP deployment, but I prefer to use WebMatrix to do this job, because it is really convenient, especially for me this kind of people who do not understand the development, First search and download webmatrix3 through the Web installation platform, such as:

650) this.width=650; "title=" 2014-10-22_21-41-29.png "style=" Float:none "src=" http://s3.51cto.com/wyfs02/M02/4C/ F0/wkiol1rhxaqymjhnaakwwodrgq8838.jpg "alt=" Wkiol1rhxaqymjhnaakwwodrgq8838.jpg "/>

After starting WebMatrix, there is a login in the upper right corner:

650) this.width=650; "title=" 2014-10-22_21-42-07.png "style=" Float:none "src=" http://s3.51cto.com/wyfs02/M01/4C/ F0/wkiol1rhxa_jz8xraalqoqbu-xu977.jpg "alt=" Wkiol1rhxa_jz8xraalqoqbu-xu977.jpg "/>

Click Login to add the Account Wizard, note that there is an import account, such as:

650) this.width=650; "title=" 2014-10-22_21-42-29.png "style=" Float:none "src=" http://s3.51cto.com/wyfs02/M01/4C/ Ef/wkiom1rhw8sja_i8aahoqf1ru4e364.jpg "alt=" Wkiom1rhw8sja_i8aahoqf1ru4e364.jpg "/>

The import account is actually the

Get-azurepublishsettingsfile

Wait until the file is loaded (previously mentioned in the blog post), such as:

650) this.width=650; "title=" 2014-10-22_21-42-49.png "style=" Float:none "src=" http://s3.51cto.com/wyfs02/M02/4C/ F0/wkiol1rhxbwcmilsaarrshmlaqc365.jpg "alt=" Wkiol1rhxbwcmilsaarrshmlaqc365.jpg "/>

When the import is successful, you will see the existing subscription information, and WebMatrix requires that you type a good name for the account:

650) this.width=650; "title=" 2014-10-22_21-44-56.png "style=" Float:none "src=" http://s3.51cto.com/wyfs02/M02/4C/ Ef/wkiom1rhw8uj43kgaahcamnd_iy068.jpg "alt=" Wkiom1rhw8uj43kgaahcamnd_iy068.jpg "/>

You can then view all My Sites:

650) this.width=650; "title=" 2014-10-22_21-45-14.png "style=" Float:none "src=" http://s3.51cto.com/wyfs02/M00/4C/ F0/wkiol1rhxb3c6fydaaluzlell9u955.jpg "alt=" Wkiol1rhxb3c6fydaaluzlell9u955.jpg "/>

At this point WebMatrix will all the loaded subscriptions in the websites are listed, and so on can see I just new xieruitest01 and xieruitest02, such as:

650) this.width=650; "title=" 2014-10-22_21-45-39.png "style=" Float:none "src=" http://s3.51cto.com/wyfs02/M00/4C/ Ef/wkiom1rhw9lqjh5taaifuyhgpsw228.jpg "alt=" Wkiom1rhw9lqjh5taaifuyhgpsw228.jpg "/>

Then I'm going to create a new site to try, in order to save time I will not choose the application, directly from the template Library pick two simple:

650) this.width=650; "title=" 2014-10-22_21-46-06.png "style=" Float:none "src=" http://s3.51cto.com/wyfs02/M02/4C/ Ef/wkiom1rhw9ahuzicaaljjnufeok414.jpg "alt=" Wkiom1rhw9ahuzicaaljjnufeok414.jpg "/>

First find a "bakery" from ASP, such as:

650) this.width=650; "title=" 2014-10-22_21-47-14.png "style=" Float:none "src=" http://s3.51cto.com/wyfs02/M01/4C/ Ef/wkiom1rhw9vzonp-aaj76y00ofi458.jpg "alt=" Wkiom1rhw9vzonp-aaj76y00ofi458.jpg "/>

At this point the wizard will provide deployment options directly, you can see here through the WebMatrix can be directly new website, is not very convenient:

650) this.width=650; "title=" 2014-10-22_21-48-52.png "style=" Float:none "src=" http://s3.51cto.com/wyfs02/M02/4C/ F0/wkiol1rhxcvilemeaaih_eoir6q157.jpg "alt=" Wkiol1rhxcvilemeaaih_eoir6q157.jpg "/>

I skipped the Deployment Wizard, and at this point WebMatrix will download the template for this bakery to my local:

650) this.width=650; "title=" 2014-10-22_21-49-08.png "style=" Float:none "src=" http://s3.51cto.com/wyfs02/M00/4C/ F0/wkiol1rhxofdbu5iaahdzexseou486.jpg "alt=" Wkiol1rhxofdbu5iaahdzexseou486.jpg "/>

I'll edit it a little bit, like this:

650) this.width=650; "title=" 2014-10-22_21-51-56.png "style=" Float:none "src=" http://s3.51cto.com/wyfs02/M00/4C/ Ef/wkiom1rhxjybl7y4aatjwf_0ds4127.jpg "alt=" Wkiom1rhxjybl7y4aatjwf_0ds4127.jpg "/>

Test the effect, then click Publish in the top left corner:

650) this.width=650; "title=" 2014-10-22_21-52-43.png "style=" Float:none "src=" http://s3.51cto.com/wyfs02/M01/4C/ F0/wkiol1rhxo_s5skgaau-4_5syk0952.jpg "alt=" Wkiol1rhxo_s5skgaau-4_5syk0952.jpg "/>

In the Publish Wizard you can see the existing sites that can be deployed to Azure, which is exactly what I want:

650) this.width=650; "title=" 2014-10-22_21-55-14.png "style=" Float:none "src=" http://s3.51cto.com/wyfs02/M01/4C/ Ef/wkiom1rhxktir-6naalkmclde1a253.jpg "alt=" Wkiom1rhxktir-6naalkmclde1a253.jpg "/>

Select Deploy to "xieruitest01.chinacloudsites.cn", such as:

650) this.width=650; "title=" 2014-10-22_21-55-35.png "style=" Float:none "src=" http://s3.51cto.com/wyfs02/M02/4C/ F0/wkiol1rhxpkhmb7uaamo4erw1hc533.jpg "alt=" Wkiol1rhxpkhmb7uaamo4erw1hc533.jpg "/>

The wizard prompts you to check for compatibility, such as:

650) this.width=650; "title=" 2014-10-22_22-01-46.png "style=" Float:none "src=" http://s3.51cto.com/wyfs02/M00/4C/ F0/wkiol1rhxpsii5aoaaj4ikvp8jg696.jpg "alt=" Wkiol1rhxpsii5aoaaj4ikvp8jg696.jpg "/>

Compatibility is sure to be fine, then continue:

650) this.width=650; "title=" 2014-10-22_22-02-30.png "style=" Float:none "src=" http://s3.51cto.com/wyfs02/M02/4C/ Ef/wkiom1rhxkjqkr-qaaj8hb7a5lk739.jpg "alt=" Wkiom1rhxkjqkr-qaaj8hb7a5lk739.jpg "/>

Finally, you will be prompted to upload a list of files, confirm the error can be released:

650) this.width=650; "title=" 2014-10-22_22-03-59.png "style=" Float:none "src=" http://s3.51cto.com/wyfs02/M00/4C/ F0/wkiol1rhxpfhkcduaaryc0d2d0s829.jpg "alt=" Wkiol1rhxpfhkcduaaryc0d2d0s829.jpg "/>

After success, you can turn on log viewing, such as:

650) this.width=650; "title=" 2014-10-22_22-08-53.png "style=" Float:none "src=" http://s3.51cto.com/wyfs02/M00/4C/ Ef/wkiom1rhxkvieuv-aagoigew-xa532.jpg "alt=" Wkiom1rhxkvieuv-aagoigew-xa532.jpg "/>

It's easy to go back to Azure and open xieruitest01.chinacloudsites.cn and publish it successfully:

650) this.width=650; "title=" 2014-10-22_22-10-11.png "style=" Float:none "src=" http://s3.51cto.com/wyfs02/M01/4C/ F0/wkiol1rhxp3jn8r7aarris79tyk477.jpg "alt=" Wkiol1rhxp3jn8r7aarris79tyk477.jpg "/>

This is the same as posting a node. js site, such as:

650) this.width=650; "title=" 2014-10-22_22-14-07.png "style=" Float:none "src=" http://s3.51cto.com/wyfs02/M01/4C/ Ef/wkiom1rhxllyt7maaajtsgpm3io398.jpg "alt=" Wkiom1rhxllyt7maaajtsgpm3io398.jpg "/>

Also check for compatibility, and Azure is perfectly fine with node. JS:

650) this.width=650; "title=" 2014-10-22_22-23-15.png "style=" Float:none "src=" http://s3.51cto.com/wyfs02/M02/4C/ F0/wkiol1rhxqhsk7lfaakfcz4kfea684.jpg "alt=" Wkiol1rhxqhsk7lfaakfcz4kfea684.jpg "/>

Browse xieruitest02.chinacloudsites.cn, successfully released:

650) this.width=650; "title=" 2014-10-22_22-32-34.png "style=" Float:none "src=" http://s3.51cto.com/wyfs02/M02/4C/ Ef/wkiom1rhxlwx3b_taaqrgjsse0i991.jpg "alt=" Wkiom1rhxlwx3b_taaqrgjsse0i991.jpg "/>

###################################################################

The above is some of the Azure websites service brief content, in order to match the WebMatrix is still quite convenient, of course, want to consider the use of websites services, Price also to be evaluated, for different modes of the site, the supported performance and more aspects of configuration are different, In addition, in terms of scaling, whether the maximum number of instances to meet the current subscription limit is also important to note, about the price of information or to pay more attention to the Azure official website, I feel private cloud public cloud in many ways is like renting a house, not to say which has an absolute price advantage or controllability, Choosing the best solution for your business type is the key.

650) this.width=650; "title=" 2014-10-22_22-38-09.png "style=" Float:none "src=" http://s3.51cto.com/wyfs02/M00/4C/ F0/wkiol1rhxqtrgumgaalvb2tgtvg690.jpg "alt=" Wkiol1rhxqtrgumgaalvb2tgtvg690.jpg "/>

This article is from the "Technology Not Home" blog, please be sure to keep this source http://maomaostyle.blog.51cto.com/2220531/1566948

The websites of Microsoft's public cloud charm

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.