Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to apply for and use Docker containers on Google Container Engine

2025-03-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article introduces the knowledge of "how to apply for and use Docker containers on Google Container Engine". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!

Background

Docker is perhaps the hottest technology in the developer circle today-it's almost impossible to skip Docker to talk to developers-so Google's cloud computing platform team decided to fully support it, making it easier for developers to run distributed applications.

In essence, the new service is based on a "cluster as a service" (Cluster-as-a-Service) platform for Google's open source project Kubernetes. Kubernetes helps developers manage their own container clusters, and at the bottom of it is Google's own processing of containers in its vast data center. In this new service, Kubernetes will dynamically manage different Docker containers through which users develop applications.

Google says the combination of "fast-start, efficient virtual hosting and seamless virtual network integration" makes its cloud computing services "the best place to run container-based applications". The company's competitors may not agree, but for now, no one else can offer a similar service.

When using containers, organizations or enterprises can build their own applications in a modular way, a piece of each component's holding application-- this is called a micro-service architecture. When an application needs to be updated, a new container can be easily replaced to minimize the impact of the operation.

The container also lays the foundation for the DevOps of software development, where developers create a software program that iterates quickly, and individual components can be easily and frequently tested by packaging within the container.

With this service, users can deploy complex applications involving multiple containers. Google Container Engine records operations, ensures the proper operation of each container, and provides a very simple way to adjust a cluster by adding attachment processing or memory.

Application method

1. Google Container Engine official website:

1. Official home page: https://cloud.google.com/container-engine/

2. Google Container Engine is a product of Google Cloud Platform (Google Cloud platform). Google Cloud products also include App Engine, Compute Engine, CLOUD SQL, CLOUD STORAGE and so on.

3. Google Cloud Platform currently has a two-month trial of $300. as long as you verify your credit card in Google Cloud Platform, you can get a coupon worth $300. with this coupon, you can basically experience all Google's cloud computing, cloud storage, cloud database and other products.

4. If you have Tenpay American Express Card and Payoneer MasterCard, you can add them to Google Cloud Platform to verify. Of course, if you add a dual-currency card issued by your own major domestic banks, you should pay special attention to the fees incurred during the trial. If you are not in use, it is recommended to delete it so as to avoid fees.

5. After entering Google Cloud Platform, you can start to create VPS hosts, containers, storage and other services, which is the Google Cloud Control Panel.

6. Under "calculation", select Container Engine, click New Container, enter the container name, and select the location of the computer room. At present, Google Cloud provides nodes in Asia, the United States, Europe and so on.

7. The Asian node of Google Cloud Platform seems to be located in Taiwan, and the speed of connecting to China is relatively fast. Then select the configuration of the host, with a minimum of 1 CPU,0.6GB memory.

8. Once you have made your choice, you can start creating Google Container services.

Using tutorials

1. You can see the containers that have been created in the Google Container Engine list.

2. After clicking the container name, you can see the details of Container.

3. You can see CPU utilization, hard disk space, traffic statistics and so on in the Container Engine statistics table. (click to enlarge)

4. The memory, CPU and IP of Container Engine can be adjusted at any time in the later stage.

5. Container Engine runs on Google Compute Engine and is similar to GCE.

6. Google Container Engine uses the Kubernetes framework to centrally manage various containers, including defining the purpose, resources and policies of containers, allowing customers to migrate tasks on different platforms, including local deployment of public cloud architectures from different vendors.

7. Up to 6 nodes can be used for free. Managing more than 6 nodes costs US $0.15 per hour per cluster.

This is the end of "how to apply for and use Docker containers on Google Container Engine". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report