百度智能云

All Product Document

          Cloud Container Engine

          Quick Deployment of Nginx Application

          This article will introduce how to deploy a Web application in Baidu AI Cloud Cloud Container Engine service (CCE). The web application in this practice is Nginx and is exposed to the public network through Service of Load balancer type.

          Deploy Nginx

          Enter "Product Service > Cloud Container Engine (CCE)", click "Workload > Deployment" to enter the deployment page.

          Click the new deployment button, input the following YAML file, click Create to create the deployment of Nginx application.

          After the creation is successful, you can see in the deployment list that the application runs successfully and is in the running state.

          Create Nginx Service

          Service defines the access policy of Pod, and the backend Pod can be accessed through the fixed address of service. Service supports multiple access types. In this example, the Load balancer type service is used to expose the application to the public network. For other types, see Service Management.

          Enter "Product Service > Cloud Container Engine (CCE)", click "Traffic Access > Service" to enter service page.

          Click the new service button, input the following YAML file, click "Create" to create a service of load balancer type.

          After the creation is successful, you can view the created service in service list.

          The Nginx application can be accessed through the external Endpoint of the corresponding service in service list.

          image.png

          Previous
          Overview of Process of Using Cloud Container Engine (CCE)
          Next
          Operation Guide