Skip to content
@Edge-Center

Edge-Center

EdgeCenter - infrastructure as code for cloud, CDN, DNS and the edge

Terraform Registry Go SDKs Developer docs API reference

One provider. Every service.

Compute and network Edge and delivery Platform services
Instances
edgecenter_instance
CDN
edgecenter_cdn_resource
Kubernetes
edgecenter_mkaas_cluster
Load balancers
edgecenter_loadbalancerv2
DNS
edgecenter_dns_zone
Managed databases
edgecenter_dbaas_cluster
Block storage
edgecenter_volume
DDoS Protection
edgecenter_protection_resource
Object Storage
edgecenter_storage_s3
Security groups
edgecenter_securitygroup
Certificates
edgecenter_cdn_sslcert
Monitoring
edgecenter_rmon_check_http

All of it ships from one repository: terraform-provider-edgecenter - source, releases and the issue tracker. The reference for every resource and data source is on the Terraform Registry.

Up and running

terraform {
  required_providers {
    edgecenter = { source = "Edge-Center/edgecenter", version = "~> 0.14" }
  }
}

provider "edgecenter" {}

resource "edgecenter_network" "app" {
  name       = "app"
  type       = "vxlan"
  project_id = 1
  region_id  = 1
}

resource "edgecenter_cdn_resource" "cdn" {
  cname           = "cdn.example.com"
  origin          = "origin.example.com"
  origin_protocol = "HTTPS"
}
export EC_PERMANENT_TOKEN="your-token"
terraform apply

One token, issued once in the control panel, reaches every service above. The provider reads it straight from the environment.

Prefer Go?

Each service is a standalone module. Take only what you need.

client, _ := edgecloud.NewWithRetries(nil,
    edgecloud.SetAPIKey(os.Getenv("EC_PERMANENT_TOKEN")),
    edgecloud.SetRegion(1),
    edgecloud.SetProject(1),
)

instances, _, err := client.Instances.List(ctx, nil)
Module Covers
edgecentercloud-go Compute, networking, load balancers, Kubernetes, databases
edgecentercdn-go CDN resources, rules, origins, certificates
edgecenter-dns-sdk-go Zones and records
edgecenter-storage-sdk-go Buckets and credentials
edgecenterprotection-go DDoS Protection
edgecenteredgemon-go Checks, channels, status pages

Running Kubernetes with us

helm repo add edgecenter https://edge-center.github.io/ec-helm-charts.github.io/

Popular repositories Loading

  1. terraform-provider-edgecenter terraform-provider-edgecenter Public

    EdgeCenter Cloud Terraform Provider

    Go 9 6

  2. pylint-blocking-calls pylint-blocking-calls Public

    A pylint plugin that detects blocking calls in async Python code to help maintain optimal event loop performance.

    Python 5 1

  3. android_streams_demo android_streams_demo Public

    integration example of a streaming platform with an Android application

    Kotlin 5 4

  4. edgecentercloud-go edgecentercloud-go Public

    Go 4 1

  5. android_vod_demo android_vod_demo Public

    integration example of a streaming platform with an Android application

    Kotlin 3 1

  6. edgecentercloud-git-hooks edgecentercloud-git-hooks Public

    Python 3

Repositories

Showing 10 of 24 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…