Timestream Influxdb
AWSOfficialPublished by AWS
- Skill
- Tool integration
- Cloud and DevOps
- Apache-2.0
- Low risk
- Has scripts
AutoGineer summary
Written by AutoGineer from the skill’s own files, not by the author
This skill provides authoritative guidance for managing Amazon Timestream for InfluxDB across its supported engine variants (V2, V2 Read Replica, and V3). It covers provisioning, schema design, migration from LiveAnalytics, and operational tasks like encryption, connectivity, and troubleshooting. The skill emphasizes adherence to specific API models and documentation for each engine variant, ensuring that users follow correct procedures for IAM, networking, and resource lifecycle management.
What it does
- Provides guidance on selecting and provisioning InfluxDB engine variants on AWS.
- Offers instructions for schema design, including tag and field modeling.
- Details procedures for migrating from LiveAnalytics to InfluxDB 3.
- Provides operational commands for resource management using the AWS CLI.
- Outlines security best practices for IAM, encryption at rest, and secret management.
- Assists with troubleshooting connectivity, write, and query errors.
When to use it
- When planning a new deployment of Amazon Timestream for InfluxDB.
- When migrating existing LiveAnalytics workloads to InfluxDB 3.
- When configuring encryption, IAM roles, or network access for database instances.
- When troubleshooting operational issues or performance concerns related to schema design.
- When needing to perform administrative tasks like backups or log delivery configuration.
Advantages
- Ensures adherence to engine-specific API requirements and constraints.
- Promotes secure practices for credential and key management.
- Provides structured workflows for complex tasks like migration and provisioning.
- Reduces configuration errors by enforcing version-specific parameter validation.
Usage examples
- “How do I provision a new InfluxDB 3 cluster?”
- The agent will guide you through the InfluxDB 3 Core creation contract, including the required parameter-group identifier and API fields, while ensuring you apply mandatory resource tags.
- “What is the best way to design my schema for high cardinality data?”
- The agent will explain the difference between tags and fields, advising you to use fields for high-cardinality data to maintain query performance.
Install
Download the skill as a ZIP:
https://mp-staging.autogineer.com/agent-skills/aws/timestream-influxdb/downloadUnzip it into the cross-client skills folder of your project:
mkdir -p .agents/skills && unzip timestream-influxdb.zip -d .agents/skills
Documentation by AWS
Amazon Timestream for InfluxDB
Overview
Amazon Timestream for InfluxDB is a managed time-series database with engine variants and deployment types whose capabilities differ. Before comparing them, retrieve the Timestream for InfluxDB documentation and inspect the applicable Create API models. For an existing resource, read its GetDbInstance or GetDbCluster response. Use those sources to verify the engine variant, endpoint port, query languages, data model, authentication flow, deployment types, licensing, and Processing Engine support for the user's Region. Do not infer one engine variant's capabilities from another variant or from examples in this skill.
For new workloads, verify the supported engine variants and recommend InfluxDB 3 when the service documentation identifies it as an option. For existing V2 deployments, verify V2 support before advising whether to stay on V2 or migrate.
Advisory in nature: it recommends actions and provides the AWS CLI and API commands to carry them out (including mutations such as instance/cluster creation and tagging). It does not act autonomously — it executes mutations only in response to an explicit user request, never on its own initiative.
Tooling: The AWS MCP server is recommended for streamlined AWS API interactions but is not required. All examples use standard AWS CLI syntax and can run without MCP.
Common Tasks
1. Verify Dependencies
Before any guidance, confirm tooling and engine variant.
Constraints:
You MUST confirm which engine variant the user runs (V2, V2 Read Replica, or V3) before giving advice specific to that engine variant — APIs and defaults differ.
You MUST NOT mix V2 APIs (Flux, orgs, buckets, port 8086) with V3 APIs (SQL/InfluxQL, databases, tables, port 8181).
You MUST verify the AWS CLI (or
call_aws) is available before provisioning guidance.You MUST inspect the Create API and ask for all required parameters upfront, including engine variant, Region, VPC/subnet IDs, name, instance type, and a supported encryption choice. For production V3 workloads, verify customer-managed KMS key support in that API before recommending it for customer-controlled policy, rotation, revocation, and CloudTrail visibility. Collect an identifier in a form that API accepts.
Tool call examples:
aws timestream-influxdb list-db-instances --region us-east-1
aws timestream-influxdb list-db-clusters --region us-east-1Resource tagging (always apply on resource creation)
When creating any cluster or instance (create-db-cluster, create-db-instance), ALWAYS include these tags:
--tags Key=created_by,Value=timestream-skill Key=generation_model,Value={your-model-id}
Example: --tags Key=created_by,Value=timestream-skill Key=generation_model,Value=claude-sonnet-4-20250514
Include these tags even if the user does not mention tagging, so that they can identify the resources created via this skill. If the user provides additional tags, append these to their tags rather than replacing them.
2. Select the right engine variant
Decision flow:
New workload → InfluxDB 3 Core (Enterprise for HA multi-node).
Existing V2 migrating to AWS → InfluxDB 2 (or Read Replica Cluster if read-heavy).
High cardinality (>10M series) or SQL → InfluxDB 3.
Need Processing Engine → InfluxDB 3.
Before providing provisioning guidance for InfluxDB 3 or a V2 Read Replica Cluster, you MUST load and follow the creation, licensing, IAM, and networking contracts for that engine variant in the getting-started guide. For V3 encryption choices, customer-managed KMS key policy, migration, or key lifecycle guidance, load encryption guidance.
Provisioning and operational contracts you MUST follow:
InfluxDB 3 Core creation contract: For a new V3 Core workload, use
create-db-clusterwith the exact default parameter-group identifierInfluxDBV3Core. Do not usecreate-db-instance, and do not pass the V2-onlyallocatedStorage,dbStorageType,deploymentType,username,password,organization, orbucketfields. Core connects on port 8181. Before provisioning, verify Core's current Marketplace and licensing prerequisites in the Timestream for InfluxDB documentation and currentCreateDbClusterAPI model; never inherit requirements from V2, Read Replica, or Enterprise. If an installed CLI or SDK model does not expose the V3 Core creation contract, update that tooling; never fall back to the V2 creation operation or fields.Core→Enterprise upgrade IS supported via AWS Console or AWS Support. There IS an upgrade path — do NOT say it's impossible or requires a new cluster.
Encryption mutability: Verify
kmsKeyIdin the Create and Update API models before asserting whether a key can change; follow "Choose the Key Before Creation" in encryption guidance.Encryption scope and key loss: Retrieve the Data protection documentation and report only the details the user requests; follow "Response Scope" and "Existing Clusters and Key Loss" in encryption guidance.
Key verification: Confirm a specific customer-managed KMS key only by matching the returned ARN to the requested key ARN. Interpret an absent
kmsKeyIdonly when the currentGetDbClusterresponse documentation explicitly defines its semantics; never use absence to identify a specific customer-managed KMS key. Follow "Verify the Key" in encryption guidance.Creation completion: After
create-db-clusterreturns, pollget-db-clusteruntil it reportsAVAILABLEor a terminal failure. Do not report creation complete or ask the user to take over polling while the cluster remainsCREATING. For a customer-managed key request, success also requires the returnedkmsKeyIdARN to match the requested key ARN; an absent value while the cluster is transitioning is unverified and MUST be checked again atAVAILABLE.Retrieve the V3 initial-token secret by ARN: Inspect the
GetDbClusteroutput or API reference for the token-secret ARN field, then pass the returned ARN to AWS Secrets Manager. Never derive the secret identifier from a naming convention. V3 usesAuthorization: Bearer <token>(NOTToken). V2 usesAuthorization: Token <token>.reboot-db-clustersupports--instance-idsfor targeting specific nodes. Before using it, verify the current maximum number of IDs and all request constraints in theRebootDbClusterAPI model and Timestream for InfluxDB documentation. Do NOT say no reboot command exists or assume a fixed node-count limit.Before asserting S3 log-delivery availability or configuration paths, verify the create and update API request parameters and the Timestream for InfluxDB log-delivery documentation. Use only the operations, service principal, and bucket-policy requirements those sources document.
Do NOT invent CloudWatch metric names. Load monitoring operations and metric discovery, then verify availability for the selected engine variant and deployment type. If unsure whether a metric exists, say so explicitly.
Before asserting backup or restore availability, verify the Timestream for InfluxDB CLI or SDK API model and the customer-managed backup and restore documentation. Confirm support by engine variant and Region for on-demand, scheduled, continuous, point-in-time, and self-service restore capabilities. Use
DbBackupterminology forDbBackupresources, never "snapshot," and separately verify the accessibility and recovery path for service-managed snapshots.--publicly-accessibleis a supported option at instance/cluster creation time. Do NOT say the service is exclusively VPC-only — public access is an opt-in feature.
3. Design the schema (tags vs fields)
Tags (indexed, used in WHERE/GROUP BY): MUST be low-cardinality like method, region, status_code. High-cardinality values (user IDs, request IDs, trace IDs) MUST be fields, not tags — making them tags explodes series cardinality and cripples query performance.
Fields (not indexed): numeric measurements, high-cardinality strings, binary data.
InfluxDB 3 handles high cardinality better than V2, but tag design affects query performance. Load the schema-design guide for patterns including deduplication and retention.
4. Migrate from LiveAnalytics
LiveAnalytics is in maintenance mode. For migration to InfluxDB 3:
<1B records / <125GB: Use the certified LiveAnalytics Migration plugin with the migration client. Exports to S3 (Parquet), re-ingests into V3.
>1B records: Contact the AWS account team — no self-service path exists for larger migrations.
Load the migration guide for the procedure.
5. Use Processing Engine plugins (V3 only)
Before listing plugins or describing custom-plugin support, retrieve the certified plugin catalog and support statement from the Timestream for InfluxDB Processing Engine documentation or a documented catalog API. State only what the retrieved source confirms: do not assert a fixed plugin count, name a plugin absent from the retrieved catalog, or infer service availability from a general InfluxDB plugin repository. Load the processing-engine guide for verified trigger and configuration guidance.
6. Monitor and operate
Load monitoring operations and metric discovery before giving metric, alarm, maintenance, backup, or restore guidance. Verify metric names and dimensions from the service documentation and the resource's CloudWatch telemetry before configuring alarms. Verify maintenance request shapes, backup and restore capabilities, and service quotas in their respective API models rather than relying on embedded examples or fixed availability claims.
Troubleshooting
Confirm the engine variant and deployment/access type, then load the troubleshooting runbook for verified triage specific to that engine variant across connectivity, write/query, storage, replication, and S3 endpoint issues. Never mix V2 and V3 remediation or assert a cause before completing the runbook's verification steps.
Security Considerations
Apply these baseline controls in every environment:
Over-privileged IAM: Use least-privilege roles and remove temporary broad permissions immediately after activation.
Password or token exposure: Store the V2 initial password and V3 initial token in AWS Secrets Manager; never place them in source, logs, shell history, or literal command arguments. Rotate or replace each through the workflow documented for its engine variant, and issue a scoped application token per workload.
VPC misconfiguration: Prefer private networking and restrict every security-group rule to trusted CIDRs or security-group IDs; never allow
0.0.0.0/0.Encryption gaps: Require encryption at rest and TLS in transit. Verify supported key options in the Data protection documentation and API model before selecting a customer-managed KMS key.
Audit gaps: Enable CloudTrail, supported service log delivery, and operational alarms. Protect CloudTrail S3 objects, CloudWatch Logs, and alarm topics with SSE-KMS, and enable CloudTrail log-file validation.
You MUST load and follow security best practices for every deployment, including development, experimentation, and production, before providing provisioning or operational guidance.
Additional Resources
Handoff from aws-database-selection
This skill can be invoked directly, or it can be entered from the aws-database-selection parent skill after that skill has run a requirements interview and produced a requirements.json artifact. When you see a backtick-wrapped path matching aws_dbs_requirements/*/requirements.json in recent conversation, follow the entry protocol in aws-database-selection/references/handoff-contract.md:
Read the artifact using
file_read.Validate it against
aws-database-selection/references/workload-primary-artifact.schema.json. If malformed or unreadable, tell the user and proceed without it.Acknowledge what's relevant in one or two bold sentences, citing high-level facts from the artifact (dominant shapes, hard constraints, migration context) — do not parrot the entire artifact back.
Scope-check: this skill is scoped to Amazon Timestream for InfluxDB (V2, V2 Read Replica, V3) — engine variant selection, schema design, migration from LiveAnalytics, Processing Engine plugins. If the artifact's
workload_primaries.dominant_shapesormigration_contextdon't match that scope, emit weak backpressure per the handoff contract: suggestdynamodb-skillfor non-InfluxDB time-series on DynamoDB, or go back toaws-database-selectionif the dominant shape isn't time-series, then ask the user whether to go back or proceed anyway. Do not silently misuse the artifact.Proceed with this skill's native workflow, citing artifact paths as evidence when recommendations are grounded in the requirements.
All user-facing output from this skill follows the markdown-primitives-only formatting convention in the handoff contract: bold labels, backticks for paths and enum values, bullet lists for alternatives, no ASCII art or box-drawing characters.
Files
- ATTRIBUTION.mdAdded by AutoGineer926 B
- LICENSELicence file added by AutoGineer9.9 KiB
- NOTICELicence file added by AutoGineer67 B
- SKILL.md14.9 KiB
- references/encryption.md12.9 KiB
- references/getting-started.md21.7 KiB
- references/migration-guide.md5.7 KiB
- references/monitoring-metrics.md2.0 KiB
- references/monitoring-operations.md10.0 KiB
- references/processing-engine-guide.md7.2 KiB
- references/s3-vpc-endpoint-troubleshooting.md1.7 KiB
- references/schema-design-guide.md4.4 KiB
- references/security-best-practices.md6.8 KiB
- references/troubleshooting-runbook.md6.3 KiB
- scripts/get_token.shScript1.9 KiB
- scripts/health_check.shScript3.2 KiB
- scripts/input_validator.pyScript1.7 KiB
- scripts/instance_types.pyScript2.5 KiB
references/security-best-practices.md
Security Best Practices
Apply this guidance to every deployment, including development, experimentation, and production.
IAM and Access Control
Before Marketplace activation, verify the selected engine variant's permissions in the AWS managed policies for Timestream for InfluxDB documentation and the IAM policy versions. Attach only policies the documentation requires. If it requires
AmazonTimestreamInfluxDBFullAccessorAmazonTimestreamConsoleFullAccessfor activation, remove them immediately afterward and replace them with a scoped custom policy.Follow least privilege: grant only the actions the application actually calls.
Use IAM roles for EC2, Lambda, and ECS. Never embed long-lived credentials in code or S3.
InfluxDB API Tokens
Rotate the initial admin token or password immediately after setup.
Create per-application scoped tokens with the minimum required permissions, such as read or write access to a specific bucket or database.
Store tokens in AWS Secrets Manager and configure rotation only when the rotation workflow also updates the token in InfluxDB.
Never expose tokens in logs, environment variables, shell history, or public repositories.
Network Isolation
For existing resources, read
publiclyAccessiblefromGetDbInstanceorGetDbCluster. Before creation or update, inspect the API model before asserting public-access availability or mutability. Prefer private placement when the service supports it unless public access is explicitly required.For existing resources, use the
portreturned byGetDbInstanceorGetDbCluster; before creation, verify the Create API or SDK model. Restrict security-group ingress for that port to known CIDR ranges or security-group IDs. Never use0.0.0.0/0.For private resources, choose a remote-access path supported by the Timestream for InfluxDB and VPC documentation.
For a directly accessible public endpoint, treat security-group restrictions as the minimum network control, not as rate limiting. Allow only trusted client CIDRs, and enforce request-rate and concurrency limits in each calling application or an approved reverse proxy before traffic reaches InfluxDB.
Callers MUST validate line-protocol writes before submission: reject malformed records, enforce expected measurement, tag, and field names and types, bound payload and batch sizes, and reject or normalize unbounded tag values that could cause cardinality exhaustion.
Before recommending a load balancer or AWS WAF, verify the Timestream connectivity options and AWS WAF supported-resource matrix. Use WAF only through a supported integration; do not present it as direct protection for the native endpoint unless the matrix explicitly lists that resource.
Before configuring browser response headers, verify the Elastic Load Balancing or CloudFront capability. When supported, emit
Strict-Transport-Security,X-Content-Type-Options,X-Frame-Options, and a restrictiveContent-Security-Policy; choose values compatible with the InfluxDB UI and authorized embedding, and test API clients before deployment.
Encryption
You MUST require encryption at rest and in transit for every deployment. Verify the service-applied at-rest encryption behavior and supported key choices in the Data protection documentation and the Create and Update API models, including whether and when
kmsKeyIdis accepted. For production workloads, prefer a customer-managed KMS key when the API supports it and the workload requires customer-controlled policy, rotation, revocation, or CloudTrail visibility.Load encryption guidance for key selection, key policy, backup scope, migration, key lifecycle, TLS, custom domains, load-balancer security, and AWS WAF guidance.
Before configuring S3 log-delivery encryption, verify the bucket account and Region constraints and supported KMS key ownership arrangements in the log-delivery documentation.
Enable SSE-KMS on Amazon SNS topics used for alarm notifications and on CloudWatch Logs log groups receiving operational data. Confirm that every SNS topic subscription delivers only to authorized security or operations personnel, and periodically audit subscriptions to prevent unauthorized recipients from receiving sensitive alarm data.
S3 Bucket Policy for Log Delivery
Verify the log-delivery service principal, object prefix, bucket ownership constraints, and supported source-condition keys before writing the bucket policy. Use
aws:SourceArnandaws:SourceAccountwhen the documentation prescribes them.Verify log and data-bucket ownership in the service documentation, and apply a customer bucket policy only to buckets the customer manages.
Auditing
Check the Timestream for InfluxDB CloudTrail documentation before asserting event coverage. Enable CloudTrail for the event classes that documentation lists.
Encrypt CloudTrail log files in the associated S3 delivery bucket with SSE-KMS, and enable CloudTrail log file validation to detect modification or deletion.
Verify data-plane,
/metrics, and native audit-log availability for the selected engine, and state only the coverage the observability documentation confirms.
References
Requirements and compatibility
Works with: Claude Code, Claude apps, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Kiro, OpenCode, Goose, Amp, Roo Code, JetBrains Junie, Factory Droid, Devin (ex-Windsurf), Mistral Vibe, OpenHands, Letta
“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.
Needs: Needs an MCP server, Needs a command-line tool, Needs Python, Needs Node.js
Security
What our scanner noticed· Low risk
- Scripts that your agent may run
This skill includes scripts that your agent may run. Read them before you use it.
A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.
Attribution and licence
- Published by
- AWS
- Publisher
- AWS (Official)
- Source
- aws/agent-toolkit-for-aws · skills/specialized-skills/database-skills/timestream-influxdb · commit 0a218f8
- Licence
- Apache License 2.0 (redistribution allowed)
- LICENSE (added by AutoGineer from LICENSE)
- NOTICE (added by AutoGineer from NOTICE)
- ATTRIBUTION.md (written by AutoGineer)
- Synced
AutoGineer is not affiliated with or endorsed by AWS.
Download ZIP
The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download timestream-influxdb.zip