Help Center> Cloud Container Instance> User Guide> Environment Configuration
Updated on 2023-08-23 GMT+08:00

Environment Configuration

Logging In to the CCI Console

Log in to the CCI console and grant CCI the permission to access other cloud services.

  1. Log in to the management console.
  2. Click in the upper left corner and select a region.

    CCI is available only in regions LA-Sao Paulo 1, AP-Bangkok, and AP-Singapore.

    CCI does not allow you to create resources in sub-projects.

  3. Switch to the CCI console.
  4. If this is the first time you are logging in to the CCI console, click Agree to grant CCI the permission to access other cloud services.

    After the permission is granted, an agency named cci_admin_trust is created. You can view the agency on the IAM console.

(Optional) Uploading Images

The cloud platform provides the SoftWare Repository for Container (SWR) service for you to upload container images to the image repository. You can easily pull these images when creating workloads on CCI. For details about how to upload images, see Uploading an Image Through a Container Engine Client.

Currently, CCI does not support third-party image repositories.

After Enterprise Management is enabled, if an IAM user needs to use private images in your account, you need to log in to the CCI console using the account, choose Image Repository, and grant the required permission to the user on the SWR console.

You can use either of the following methods to grant permission to an IAM user:

  • On the details page of an image, click the Permissions tab, click Add Permission, and then grant the read, write, or manage permission to the user. For details, see Granting Permissions for a Specific Image.
  • On the details page of an organization, click the Users tab, click Add Permission, and then grant the read, write, or manage permission to the user. For details, see Granting Permissions for an Organization.

(Optional) Creating a Load Balancer

A load balancer allows your workloads to be accessed from external networks. For details about how to create a load balancer, see Creating a Load Balancer.

  1. Log in to the management console.
  2. Choose Service List > Networking > Elastic Load Balance.
  3. On the Elastic Load Balance page, click Buy Elastic Load Balancer.

    Specify the required parameters to create a load balancer.

    A load balancer can work on a public or private network.

(Optional) Preparing SSL Certificates

CCI allows workloads to be accessed over HTTPS. You can specify your own SSL certificate when you create a workload.

SSL certificates are classified into authoritative and self-signed certificates. Authoritative certificates are issued by CAs. You can obtain authoritative certificates from third-party certificate agents. A client trusts websites that use authoritative certificates by default. Self-signed certificates are self-issued by users, typically using OpenSSL. By default, self-signed certificates are untrusted by the client. The browser will display an alarm message when you access a website that uses a self-signed certificate. You can continue to access the website by ignoring the alarm.

For details about SSL certificates, see SSL Certificates.