Contenu connexe Similaire à Ana-Maria Calin [InfluxData] | Migrating from OSS to InfluxDB Cloud | InfluxDays NA 2021 (20) Ana-Maria Calin [InfluxData] | Migrating from OSS to InfluxDB Cloud | InfluxDays NA 20211. Ana Calin | Senior Software Engineer,
Deployments Team, InfluxData
27.10.2021
The who, the why and the what of
migrating your data.
Migrating from OSS
to InfluxDB Cloud
2. © 2021 InfluxData Inc. All Rights Reserved.
© 2021 InfluxData Inc. All Rights Reserved.
Ana Calin
Photo Goes Here
Software Engineer @ InfluxData
@AnaMariaCalin
@calinah
3. © 2021 InfluxData Inc. All Rights Reserved.
Content
Should I stay or should I go?
My InfluxDB OSS setup
Steps to consider
Demo time
Resources
4. © 2021 InfluxData Inc. All Rights Reserved.
© 2021 InfluxData Inc. All Rights Reserved.
6. © 2021 InfluxData Inc. All Rights Reserved.
© 2021 InfluxData Inc. All Rights Reserved.
Deeper insights
Multi-Region & Multi-Cloud
Interoperability across systems
Elastic services
InfluxDB Cloud
8. © 2021 InfluxData Inc. All Rights Reserved.
Influxdb CLoud
# Installs influxdb2 chart from github.com/influxdata/helm-charts/
helm upgrade --install influxdays --namespace influxdays
influxdata/influxdb2 --values
~/influxdays-demo/influxdb2_values.yaml
# Installs telegraf chart from github.com/influxdata/helm-charts/
helm upgrade --install telegraf --namespace influxdays
influxdata/telegraf --values
~/influxdays-demo/telegraf_values.yaml
9. © 2021 InfluxData Inc. All Rights Reserved.
~|⇒ kubectl get all -n influxdays
NAME READY STATUS RESTARTS AGE
pod/influxdays-influxdb2-0 1/1 Running 0 28h
pod/telegraf-56798579c7-b4nfj 1/1 Running 0 21h
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
service/influxdays-influxdb2 ClusterIP 10.126.77.243 <none> 80/TCP 28h
service/telegraf ClusterIP 10.126.6.166 <none> 8125/UDP 21h
NAME READY UP-TO-DATE AVAILABLE AGE
deployment.apps/telegraf 1/1 1 1 21h
NAME DESIRED CURRENT READY AGE
replicaset.apps/telegraf-56798579c7 1 1 1 21h
NAME READY AGE
statefulset.apps/influxdays-influxdb2 1/1 28h
11. © 2021 InfluxData Inc. All Rights Reserved.
© 2021 InfluxData Inc. All Rights Reserved.
Prerequisites for migration
• an InfluxDB Cloud account with an `org_id` and bucket
name - https://cloud2.influxdata.com/signup
• a write token
• quick writes headroom
• headroom for the cardinality you are adding
• a place to hold the LP data x 2 - S3 or GCS or similar
12. © 2021 InfluxData Inc. All Rights Reserved.
© 2021 InfluxData Inc. All Rights Reserved.
Influxdays Demo
13. © 2021 InfluxData Inc. All Rights Reserved.
© 2021 InfluxData Inc. All Rights Reserved.
Resources
https:/
/cloud2.influxdata.com/signup
https:/
/github.com/calinah/influxdays-demo
https:/
/docs.influxdata.com/influxdb/v2.0/ref
erence/cli/influxd/inspect/export-lp/
https:/
/docs.influxdata.com/influxdb/v2.0/ref
erence/sample-data/#noaa-ndbc-data