ライムライトがHashiCorpのTerraformプロビジョニングプラットフォームと統合
ライムライトは、クラウドサービスをプロビジョニングして管理するためのオープンソースツールであるHashiCorpのTerraformプラットフォームとの統合を完了しました。ライムライトのお客様でOpsおよびDevOpsに携わる方々は、ライムライトの主要なサービスをTerraformから直接管理できます。
ライムライトはTerraformの検証済みプロバイダーであるため、お客様はTerraform Registryを介してオープンソースの統合ソフトウェア(Terraformプロバイダー)をインストールできます。新しいプロバイダーは、Limelight’s public GitHubからも入手できます。
ライムライトのTerraformプロバイダーは、コンテンツ配信とEdgeFunctionsという2つの主要なライムライトサービスのプロビジョニングと管理をサポートしています。Terraformを使用すると、お客様はコンテンツ配信のコンフィグレーションとEdgeFunctionsコードインスタンスの両方を作成、更新、削除できます。
コンテンツ配信サービスの場合であれば、新しいコンフィグレーションを最初から作成することも、既存のコンフィグレーションからインポートすることもできます。
以下のContent Delivery APIエンドポイントの機能がサポートされています。
新しい配信サービスインスタンスを作成:POST https://apis.llnw.com/config-api/v1/svcinst/delivery
既存の配信サービスインスタンスを取得:GET https://apis.llnw.com/config-api/v1/svcinst/delivery/{id}
既存の配信サービスインスタンスを更新:PUT https://apis.llnw.com/config-api/v1/svcinst/delivery/{id }
既存の配信svcインスタンスを削除:DELETE https://apis.llnw.com/config-api/v1/svcinst/delivery/{id}
EdgeFunctionsサービスの場合には、EdgeFunctionsを作成、更新、削除できます。すべてのEdgeFunctions APIエンドポイントがサポートされています。
今後、ライムライトのTerraformプロバイダーは、ライムライトのRealtime Streamingサービスのスロットプロビジョニングと管理も可能にし、さらに追加のサービスをサポートする予定です。
$ terraform apply An execution plan has been generated and is shown below. Resource actions are indicated with the following symbols: + create Terraform will perform the following actions: # limelight_delivery.new_config will be created + resource "limelight_delivery" "new_config" { + shortname = "example" + service_profile = "LLNW-Generic" + source_hostname = "origin.example.com" + source_path = "/" + published_hostname = "published.example.com" + published_path = "/" + id = (known after apply) + version_number = (known after apply) + protocol_set { + source_protocol = "https" + published_protocol = "https" } } Plan: 1 to add, 0 to change, 0 to destroy. Do you want to perform these actions? Terraform will perform the actions described above. Only 'yes' will be accepted to approve. Enter a value: yes limelight_delivery.new_config: Creating... limelight_delivery.new_config: Creation complete after 6s [id=47ad5644-82e3-4999-9ee4-e4e6248c2346] Apply complete! Resources: 1 added, 0 changed, 0 destroyed.
2020/10/28