I have opened eight services, but in fact may be used in two or three kinds, today I come to a novice point of view under the ECS cloud server, relational database RDS, open storage services OSS, content distribution network CDN, cloud engine ACE All kinds of ...
I front + PHP a novice, did not think of the beginning of the use of Aliyun, because I am currently a blog (Japanese IP, however, on the web before the virtual host), in addition to writing some of their own test program DEMO, On Sina SAE (later write cloud engine ACE I will elaborate on this). Originally, I was going to use Alishan's OSS. Later, by chance, I participated in the activities of Aliyun Weibo and obtained the vouchers. Therefore, an ECS was launched, and all my friends and relatives could pay attention to Alibaba Cloud's Weibo and more To participate in its activities, the winning rate is still quite high, often there will be vouchers to send Oh!
Well, start today's topic.
First, cloud server ECS
1, first come to a simple purchase process to help newbies familiar with the next.
First, enter the purchase interface, if the site traffic is not large, or is a veteran of the server, it is recommended to choose linxu 512M. Why do you say that, because we recognized Linux server is better than window, so try to choose linux; but some children's shoes site visits are not high, they will not linux, you can install a mirror like me.
What is the image of it, that is to say, the company has made the entire environment + integrated software for a good mirror made after you choose to open the mirror can be used directly. Linux some of the commonly used image, you need to be reminded Centos host Bao mirror FTP some problems, I contacted the official when they say a few days to re-mirror, I do not know the current situation.
After the purchase you can see the purchase of the server in the console, an example of Hangzhou, you can see, the control panel function is quite Ting, power on, restart, remote connection, reinstall the system, initialize the disk can be in the console Simple to complete.
Click on the instance can enter the instance details inside, there is this server more detailed information. Such as configuration, payment and monitoring information, in particular, this monitoring information, you can see the CPU, hard disk, traffic information is very simple and clear.
Cloud service control panel also has a snapshot function, you can create a snapshot of the system disk and disk, respectively, in the face of problems can also be a simple snapshot recovery, mom no longer have to worry about.
In addition, you can also create a snapshot of the snapshot, after you buy the server again when you can directly use the mirror you created directly oh ~ snapshots can be manually created, you can also automatically create the server ECS console functions commonly used on these, and then simple Learn to understand the background of host Bao's interface.
The site was created successfully, the site has been displayed. Then create FTP.
FTP list is empty, click New.
Fill in the account password, the host Po has a very good feature is that you can customize the FTP directory management, for example, you can set the themes only to the front directory (directory), to prevent these people do not know how to manipulate program files.
As host Po is not apach, so the pseudo-static rules are slightly different, here you can directly copy the pseudo-static rules Paste to the new site> custom rules there, if you have already built the site can be added in the amendment.
2, some opinions
1) The first is the filing. Aliyun supports the filing in all regions except Tibet. Tencent "can not accept the record businesses in Inner Mongolia, Guizhou, Gansu, Heilongjiang, Shandong, Xinjiang and Tibet." As for the other cloud server for the record, I did not understand in detail. Aliyun cloud record also support how long how long to send, if support for filing courier to pay even better. The only dissatisfaction is that, do not know what the record center problems, the last time I filed for the record of the main address of my correspondent add the "most auspicious address that can be reached through the address of the site sponsor" Then my second record was a tragedy, and it was necessary to amend the record-keeping subject before continuing to record. Depressed dead.
2) security, almost 20 days into the cloud (I know this is a very short period of time can not explain what) did not appear website failure, I used Baidu, 360, Ali cloud monitoring, before using Web Hosting, ten days Half a month will be a failure. Will be restored in a few minutes (virtual host can understand it).
3) Artificial services, Aliyun only support ticket service, but the corresponding work orders or faster, response within 2 hours, usually half an hour to reply to you. If you ask the question is more wonderful, then it may be slower, and even if it was somebody else to reply most of the night, I once had a work order submitted by midnight and somebody replied. However, Alibaba's customer service orders are also mixed, some problems have been very easy to solve the results were wasted most of the time customer service.
4) other advantages. You can see the product details page, such as 100 times fault compensation ah what. I mention the data backup and roll back a little. [Font = Microsoft Yahei, 'Microsoft Yahei', 'Hiragino Sans GB', tahoma, arial, Times New Roman], a friend had a problem with the website before and he did not have the habit of backup, But he submitted the work orders very easy roll back a few days before the data, do not worry about anything. Flexible upgrade is also very good, if the server's performance can not support the site, flexible upgrade can be, do not need website moving, database migration and so on cumbersome things.
3, just say it
Cloud service has many advantages, but the price is not cheap, if you are only a small site, such as my kind of day IP no more than 5 blog, no need to use Ali cloud. Anyway, reasonable consumption, need to buy, if you want to buy, Ali cloud is good. (Aliyun can now apply for six months free use, this half-year only need to buy the public network bandwidth, 1M almost half a year more than 100)
Second, the relational database RDS
Relational database Simply put is to separate the database, initially in the era of VPS, what things are resolved inside that server, like web applications, web site attachments, web site database, etc., the benefits are in a server for easy management The more money, but the downside is that you can not focus your server on what to do with the server, but also deal with things like attachments and databases at the same time. If the server is broken, your entire site is dead.
Separate the database, making the database Aliyun help you to maintain, you just need to use the database on the line. If the site hung up, your database is still there, you can restore the database to any time within 7 days.
First look at my database, a database instance can create a lot of databases. Need to be reminded that different regions of the server and database are not interoperable within the network, and the public network is to collect money.
If your data is in other databases, you can migrate the database to RDS through "Database Migration".
First need to create a database with the same name in the RDS and you need to migrate the database, then fill in the appropriate information, check the database permissions, and then you can migrate. (Certainly not supported by the virtual host, not enough authority)
Database management background and the same server management background, a detailed resource monitoring.
Third, open storage services OSS
How to say this, I originally wanted to list the price, and found that the price is really no advantage ah! ! ! ! ! ! No ah! ! !
The only good is stability, but too lazy to go to another service provider where the registered account.
Need to be reminded that, OSS can be easily divided into image storage and ordinary file storage. Pictures stored, you can Ali in the picture processing, such as setting a uniform width or something, but the corresponding, the picture is the site users will have a CDN fee.
(The first OSS will also be presented 200 yuan trial voucher Oh, pro!)
Fourth, content distribution network CDN
This refers to the different regions to visit different nodes, to achieve the purpose of opening the website faster.
I used some of the site speed testing tools tested, really great improvement.
The only drawback is that the price is too expensive, I use the OSS image storage, a few plans is more than 1M CDN traffic.
Fifth, cloud engine ACE
Cloud engine is a similar to the virtual host of the stuff, if you just create a microblogging application, QQ space applications, you can use ACE, you do not have to go cumbersome to configure the server database and the like. This stuff is still closed beta, ACE can create ACE and PHP environment applications, the default will automatically create an instance of the RDS database, of course, certainly not buy their own so much RDS permissions.
ACE can create different versions, and then through the SVN management, I also quite like this management.
Some programs I wrote myself DEMO are Sina SAE + cloud engine RDS database. Sina SAE and cloud engine, if I choose one, I will certainly choose Ali ACE, Sina SAE disable some of the functions, and many operations to use SAE own call, but mainly Sina SAE I now free With the above DEMO more, I am too lazy to move, but not sure what day ACE charges I have to move back. . .
Probably is so much, before and after the write add up a few hours, write more do not know how to write, I feel a bit biased. These days in the use of Aliyun products, but also did not encounter any major problems. In fact, the development of cloud services for so long, that has been developed may have exaggerated the cloud service is still groping forward, so there are problems are inevitable, although the probability of problems is small, but it is still possible that there Ali Cloud as a leader in cloud server services, in various types of services is still doing a good job, Ali cloud is still quite like. We also sincerely hope Aliyun can get better and better, the price is getting cheaper.
By the way, when it comes to cheap, Aliyun various free benefits for new users, it is so old users sad. Alas, especially since I bought a server for a few days, especially for free for six months.