6 options for deploying services

Table of contents

1. Your own local machine:

2. Pages service:

3. Object storage

4. Cloud function:

Five, virtual host

6. Cloud services, etc.

1. Abroad:

2. Domestic:


1. Your own local machine:

       Applicable type: any service

       Fee: free

       Using peanut shells to realize the penetration of the personal network environment and the Internet can enable Internet users to access servers in their own local network environment. Peanut Shell is a batch of dynamic domain name resolution and intranet penetration service providers in China. At present, it has independently developed peanut shell software and hardware such as peanut sticks and peanut shell boxes. Intranet penetration service can also be realized without public network IP, supports Windows, Linux, Raspberry Pi, iOS, Android and other operating systems, and can be remotely managed through iPhone, Android phone APP or WeChat. Peanut shells are used in OA, ERP, CRM, FTP, SVN, NAS, Web services, video surveillance, Windows RDP remote desktop, game connection, small program development and debugging, Taobao customer acquisition system, remote sensing mapping, industry 4.0 and other application fields.

2. Pages service:

       Applicable type: pure static

       Fee: free

       Git hosting platforms such as Github and gitee provide free Pages services. Here is an example of Github Pages:

       1) Register and log in to Github

       2) Create a warehouse

       3) Upload the source code of the website to the warehouse, which can be quickly uploaded using the Git program

       4) Start the Pages function of the warehouse

       5) You will get a URL to access your website

3. Object storage

        Applicable type: pure static

        Cost: There is a free plan

        Object storage stores data as objects, each object has independent metadata and identifiers, and can be accessed and manipulated through the network. It has the characteristics of high scalability, high data reliability and strong security, and is widely used in cloud computing, big data analysis, Internet of Things and other fields. Object storage can create many buckets (Bucket), and each bucket can be regarded as a folder. You can upload the website source code to object storage, and then enable its static website function.

       Here we take Alibaba Cloud OSS as an example:

       1) Register and log in to Alibaba Cloud

       2) Open OSS object storage service

       3) Enter the OSS console and click "Create Bucket"

       4) Enter the Bucket name and click "OK"

       5) Enter the Bucket and click "Upload Files"

       6) Enter Bucket Configuration, Domain Name Management, and click "Bind Domain Name"

       7) According to the prompt content, set the domain name CNAME resolution

       8) You can access the website through the domain name

4. Cloud function:

       Applicable type: various websites

       Cost: There is a free plan

       Cloud function is a serverless computing service that deploys application code to the cloud to run, can be started and executed on demand, and is combined with cloud platforms and other services to realize automated and efficient application development and deployment, suitable for events Driver-driven applications, back-end business logic processing, data processing, task timing and other scenarios. Simply put, it is to hand over your code to the cloud function platform, and it will automatically run for us without caring about the operating environment of the code. This is also the so-called "serverless".

        Take HUAWEI CLOUD function flow as an example:

        1) Register and log in to HUAWEI CLOUD

        2) Click "Compute", "Function Workflow" in the product list

        3) Click "Use Now"

        4) Click "Function", "Function List", "Create Function"

        5) Select to fill in the function name, select runtime

        6) Function type: The event function of the cloud function is a function that responds to various event triggers on the platform, and the HTTP function is a type of cloud function, which can be used as a Web service endpoint to respond to the browser or client with the HTTP protocol. Request, usually used to implement scenarios such as API interface

        7) Runtime: The running environment of your code, you can choose NodeJS, PHP, Python, etc., depending on the platform support

        8) Edit code

        9) Click "Create Trigger"

       10) Fill in the trigger information and click "OK"

       11) The trigger provides a URL, just visit

Five, virtual host

        Applicable type: various websites

        Cost: There is a free plan

        12 Premium Free Virtual Servers:

                  ✅ Wix - Best Free Web Hosting with an Easy-to-Use Website Editor

                  ✅ InfinityFree - The Most Powerful Free Web Hosting

                  ✅ 000WebHost - Free web hosting service from Hostinger

                  ✅ Google Cloud Hosting - Cloud hosting with 1-year free trial period

                  ✅ AwardSpace - Best Free Web Hosting Without Ads

                  ✅ Atspace - Best Free Web Hosting With Unlimited Traffic

                  ✅ Freehostia - web hosting with fast website speed

                  ✅ Byethost - Best Free Web Hosting for Unlimited Websites

                  ✅ Freehosting

                  ✅ Agilityhoster

                  ✅ HyperPHP

                  ✅ FreeWebHostingArea

         The above free virtual hosts can be directly searched on Google to see the corresponding website, click to enter for details.

6. Cloud services, etc.

       Applicable type: various websites

       Cost: higher

       A cloud server is a computing resource provided to users using virtualization technology. In the data center of the cloud service provider, computing power is provided externally through the Internet. Users can choose cloud servers with different specifications according to their own needs, so that different applications can run in an independent environment. Cloud servers have the characteristics of high availability, elastic expansion, and security. Users only need to pay on demand, and can easily obtain the required computing resources, and dynamically adjust them at any time.

       Ideal for hosting a website, a cloud server is similar to a traditional computer in that it can run an operating system and install multiple applications. At the same time, the cloud server has higher performance and reliability. Users can flexibly adjust the configuration and specifications of the cloud server according to their needs, expand and shrink at any time, and enjoy a certain degree of security.

       Common cloud services include:

     1. Abroad:

       1)AWS(Amazon Web Services)

       AWS is one of the largest cloud service providers in the world. It provides a variety of computing and storage services, including EC2 instances, Lambda functions, S3 storage, and RDS databases. AWS EC2 is an elastic cloud computing service that allows users to create and launch virtual machine instances, supporting multiple operating systems and applications, including Node.js.

        2)Microsoft Azure

       Microsoft Azure is a cloud service platform launched by Microsoft, which provides services such as virtual machines, application services and storage. Azure also allows users to use multiple programming languages ​​and frameworks, including Node.js.

       3)Google Cloud Platform

       Google Cloud Platform is a cloud service platform provided by Google, which provides a variety of computing and storage services, including virtual machine instances, cloud storage and database services. Google Cloud Platform also supports Node.js.

      2. Domestic:

        1) Alibaba Cloud:

       Alibaba Cloud is a cloud computing brand under the Alibaba Group. Since its official launch in 2009, it has served more than 6 million enterprises and individuals. Alibaba Cloud provides global cloud computing products and services, including elastic computing, data analysis, network security and other aspects. Alibaba Cloud's technologies and services have been widely used in e-commerce, finance, manufacturing and many other fields.

        2) Tencent Cloud

        Tencent Cloud is the cloud computing business brand of Tencent. As one of the world's leading cloud service providers, Tencent Cloud provides a number of cloud services including cloud servers, elastic scaling, cloud databases, big data analysis, game services, etc. In addition, Tencent Cloud also has multiple data centers at home and abroad, which can provide customers around the world with a more stable and fast cloud service experience.

        3) Huawei Cloud

       HUAWEI CLOUD is Huawei's cloud computing brand, providing world-leading cloud computing solutions based on Huawei technology. HUAWEI CLOUD has global cloud service capabilities, including lightweight computing, virtual servers, cloud storage, big data, artificial intelligence and other solutions. With its advantages of security, reliability, high performance, and low cost, HUAWEI CLOUD serves various industries such as government, finance, energy, and manufacturing.

Guess you like

Origin blog.csdn.net/speedwalkman/article/details/131789666