Whether the website can be successfully built is a key action for Xiaobai to mature. Building a website generally requires understanding three issues: domain name, website source code and server .
A domain name is easy to understand, it is as unique as a "mobile phone number" and allows others to find your website. So how can we solve the problem of website source code and server in one step? This article allows you to easily build your first personal website using Serverless in 1 minute without considering the server and website source code.
Serverless website
No need to worry about server issues anymore
Building a website and applying for a server is the first card point for many people. You need:
1. Compare with server manufacturers;
2. Select the server configuration;
3. Purchase a server;
4. Server filing;
5. Install the server.
You are thinking of buying a 9.9 server to play with, but then you will face more problems, such as storage space size, IIS concurrency, CPU limit rate, database support, traffic limit, installable program support, Web site program support, etc. Suddenly I feel that the 9.9 server package I just got is not fragrant...
Can you skip the annoying server and just focus on the code part and have a personal website easily? sure!
You can use serverless technology, Alibaba Cloud's function computing product (an event-driven fully managed serverless computing service). You don't need to manage infrastructure such as servers, just write code and upload it. Function Compute will prepare computing resources for you and run your code in an elastic and reliable manner, so you can easily solve server operation and maintenance problems.
Free quota, convenient experience
Function Compute provides users with a certain free quota every month (about 46 yuan per month, and the annual total is about 552 yuan). The user's Alibaba Cloud account shares the monthly free call times and execution time quota with the RAM user. The free quota will not be accumulated on a monthly basis, and will be cleared and recalculated at the beginning of the next natural month, that is, at 01:00.
Experience rewarded
Participate in the "1-minute Serverless Build a Real Website" now, and you will have a chance to get a Tmall supermarket voucher when you complete it!
Active address (recommended for PC experience):
https://developer.aliyun.com/adc/series/activity/serverless2022
1 minute Alibaba Cloud function computing to build a personal website tutorial
If you are just starting to build a website for the first time, it is highly recommended to start with a blog site, because the blog site is the easiest and easiest to use. Generally, there are many open source and free blog programs, both at home and abroad. The most familiar one is wordpress. Zblog et al.
This experiment will take building a Zblog blog as an example, so that you can experience the advantages of low cost, free operation and maintenance, and high availability of function computing website construction and website maintenance. Zblog is a small and powerful blog program based on the Asp platform. It is very convenient for beginners to operate, and can quickly build their own website.
Online experience address:
https://developer.aliyun.com/adc/scenario/090f692302374a809aaea49d9064ab09
Build a personal website:
Go to the Function Compute console:
https://fcnext.console.aliyun.com/overview
Click the Apply button on the left:
Note: If you have used the App Center before, a page similar to the following appears after clicking Apply:
At this point, you can click the "Create Application" button to continue the process.
After clicking Apply/Create Application, you can see the list of applications, select "Zblog" at this time:
Choose Create Now, then choose Direct Deploy:
At this point you also need to focus on the role name section on the page, for example:
At this point, you need to click Go to Authorization to authorize. After the authorization is completed, you may be prompted:
You also need to continue to click to go to authorization:
Click the Create button at the bottom of the page when finished:
Wait for a while here, wait for the creation to complete, and you can see the access domain name:
At this point, you can open the access domain name for Zblog initialization, first read the agreement, and click Agree to go to the next step:
All the above content has passed the test, and there will be a green check mark. At this time, you can click Next:
Select the SQLite database, configure the site name and administrator information, and click Next to complete the initialization.
Wait a moment to see the result:
At this point, click Finish, you can see the blog home page:
Add the path after your domain name: /zb_system/login.php is the management address, for example:
Enter the newly configured administrator account password, you can enter the personal blog management background, and start your own blog journey.
Expansion of ideas
Alibaba Cloud Serverless Application Center, in addition to Zblog, also has blog systems such as Wordpress, which can be experienced independently.
Experience more scenarios Welcome to the Serverless Application Center!
Go to the Function Compute console:
https://fcnext.console.aliyun.com/overview
Click the Apply button on the left to choose from a large number of templates.
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。