All Products
Search
Document Center

Realtime Compute for Apache Flink:Terraform

Last Updated:Jan 25, 2024

Realtime Compute for Apache Flink supports Terraform. This way, you can use and manage Realtime Compute for Apache Flink resources based on Terraform.

Background information

Basic features

Terraform is an Infrastructure as Code tool that allows you to write simple code to define and configure cloud infrastructure without manual operations or configurations. For more information, see What is Terraform?

  • Terraform provides an easy-to-use CLI that allows you to deploy configuration files on the workloads of Alibaba Cloud services or third-party cloud services and manage the versions of the configuration files. Terraform allows you to define the infrastructure resources that are required to build cloud topologies in configuration files. The resources include virtual machines (VMs), storage accounts, and network interfaces.
  • Terraform supports new infrastructure by using providers. Terraform allows you to use a simple template language to define, preview, and deploy cloud infrastructure on Alibaba Cloud in an efficient manner.

  • Terraform allows you to create, modify, and delete the resources of multiple Alibaba Cloud services, such as Elastic Compute Services (ECS), Virtual Private Cloud (VPC), ApsaraDB RDS, and Server Load Balancer (SLB).

Scenarios

Terraform allows you to define infrastructure as code and use code to create, query, modify, and delete infrastructure resources. For information about the examples on how to use Terraform to manage the resources of Alibaba Cloud services, see Scenarios.

Benefits

For more information about the benefits of Terraform in common scenarios, see Benefits.

Terraform provides the following benefits when Terraform is used together with Realtime Compute for Apache Flink:

  • Declarative Infrastructure as Code

    • Supports workspace management.

    • Allows you to write code without the need to understand APIs.

  • Terraform ecosystem

    • Provides the LiveDiff capability, which allows you to manage Realtime Compute for Apache Flink resources in a more secure manner.

    • Helps you deploy applications to the desired state in a stable manner.

    • Provides management capabilities to allow you to deploy Realtime Compute for Apache Flink and required cloud resources with a few clicks. This greatly improves the efficiency of website building.

Install and configure Terraform

Only Terraform 1.214.0 and later allow you to manage Realtime Compute for Apache Flink resources.

Manage Realtime Compute for Apache Flink resources by using Terraform

The following table describes the resources that Realtime Compute for Apache Flink allows you to manage by using Terraform.

Resource type

Description

alicloud_realtime_compute_vvp_instance

Realtime Compute for Apache Flink workspace resources