Method and system for realizing elastic expansion and contraction of cloud platform resources based on Terraform

A technology of elastic scaling and cloud platform, applied in the field of realization method and system of elastic scaling of cloud platform resources, to achieve good performance and horizontal expansion effect

Active Publication Date: 2020-06-12
山东汇贸电子口岸有限公司
View PDF7 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The technical task of the present invention is to provide a Terraform-based cloud platform resource elastic scaling method and system to solve how to ensure that resources are

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and system for realizing elastic expansion and contraction of cloud platform resources based on Terraform
  • Method and system for realizing elastic expansion and contraction of cloud platform resources based on Terraform
  • Method and system for realizing elastic expansion and contraction of cloud platform resources based on Terraform

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0053] 1 of the present invention is based on the Terraform cloud platform resource elastic scaling implementation method, the method is to use the open source Terraform tool and Etcd database, edit the Terraform template according to the tenant elastic scaling strategy, and execute the Terraform template through the Terraform tool of the provider plug-in provided by the cloud platform , and then dynamically control the tenant's resources on the cloud platform to achieve the effect of resource elastic scaling, realize the creation and deletion of tenant resources, and the decoupling and separation of infrastructure resource management and upper-layer applications on the cloud platform;

[0054] Among them, the elastic scaling policy customized by the tenant includes three types of policies, which are timing policy, periodic policy, and triggering policy based on monitoring alarms; the behavior of auto scaling includes three actions, namely increasing resources, reducing resource...

Embodiment 2

[0056] as attached figure 1 As shown, the cloud platform resource elastic scaling system based on Terraform of the present invention adopts the technical architecture of microservices, including UI layer, business logic layer and infrastructure management layer;

[0057] The UI layer is used to interact with users, receive user configurations, forward them to the business logic layer for processing, and present the processing results to users. It is also used to interact with third-party developers and provide functional APIs for third-party developers; the UI layer includes,

[0058] The AS-Front front-end application microservice unit is used to interact with users, receive user configurations, forward them to the business logic layer for processing, and present the processing results to users;

[0059] The OpenAPI unit is used to interact with third-party developers and provide functional APIs to third-party developers.

[0060] The business logic layer is used for data mo...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method and a system for realizing elastic expansion and contraction of cloud platform resources based on Terraform, and belongs to the field of cloud computing pass. The technical problem to be solved by the invention is how to ensure that resources are created as required. meet requirement of dynamically adjusting according to the service flow, increase the actual utilization of resources, and achieve efficient reduction of operating cost. According to the technical scheme, the method comprises the steps that an open-source Terraform tool and an Etcd database are used; editing a Terraform template according to an elastic stretching strategy of the tenant; the Terraform template is executed through a Terraform tool of a provider plug-in provided by the cloud platform, so that the template is obtained; therefore, the resources of the tenants on the cloud platform are dynamically controlled, the effect of elastic expansion and contraction of the resources is achieved, and creation and deletion operation of the tenant resources and decoupling and separation of infrastructure resource management and upper-layer applications on the cloud platform are achieved.The system adopts a micro-service technical architecture and comprises a UI layer, a business logic layer and an infrastructure management layer, and the UI layer is used for interacting with a user,receiving user configuration, forwarding the user configuration to the service logic layer for processing and presenting a processing result to the user.

Description

technical field [0001] The invention belongs to the field of cloud computing pass, and specifically relates to a Terraform-based method and system for realizing elastic scaling of cloud platform resources. Background technique [0002] With the rapid development of cloud computing technology, more and more government agencies, enterprises and individuals migrate their applications from traditional computing centers to cloud centers. More and more applications are deployed on cloud platforms, and the number of visits to applications is uncertain. In most cases, the traffic may be relatively stable, but the number of visits in a certain period of time will increase sharply. The high availability requirements for such applications are getting higher and higher. On the other hand, the operating costs of tenants need to be considered. [0003] For applications with relatively stable access traffic, after deployment, there is no need to dynamically adjust (elastic scaling) the req...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F9/48G06F9/445G06F9/50
CPCG06F9/4868G06F9/44526G06F9/5072Y02D10/00
Inventor 蒋方文高传集于昊张栋梁高申申王蕾
Owner 山东汇贸电子口岸有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products