-
Notifications
You must be signed in to change notification settings - Fork 7
docs: overhaul main README with badges, catalog, and missing samples #278
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,56 +1,117 @@ | ||
| # FSx-ONTAP-samples-scripts | ||
| # Amazon FSx for NetApp ONTAP — Samples & Scripts | ||
|
|
||
| FSx for NetApp ONTAP is an AWS service providing a comprehensive set of advanced storage features purposely | ||
| built to maximize cost performance, resilience, and accessibility in business-critical workloads. | ||
| [](LICENSE) | ||
| [](https://github.com/NetApp/FSx-ONTAP-samples-scripts/actions/workflows/actionlint.yml) | ||
| [](https://github.com/NetApp/FSx-ONTAP-samples-scripts/actions/workflows/terraform.yml) | ||
| [](https://github.com/NetApp/FSx-ONTAP-samples-scripts/stargazers) | ||
| [](https://github.com/NetApp/FSx-ONTAP-samples-scripts/network/members) | ||
| [](https://github.com/NetApp/FSx-ONTAP-samples-scripts/graphs/contributors) | ||
|
|
||
| ## Overview | ||
| Production-ready code samples, automation scripts, and Infrastructure as Code (IaC) templates for | ||
| **[Amazon FSx for NetApp ONTAP](https://aws.amazon.com/fsx/netapp-ontap/)**. Use these samples alongside the | ||
| automation, management, and monitoring that **[NetApp Workload Factory](https://console.workloads.netapp.com)** provides. | ||
|
|
||
| This GitHub repository contains comprehensive code samples and automation scripts for FSx for Netapp ONTAP operations, | ||
| promoting the use of Infrastructure as Code (IAC) tools and encouraging developers to extend the product's | ||
| functionalities through code. The samples here go alongside the automation, management and monitoring that | ||
| [Workload Factory](https://console.workloads.netapp.com) provides. | ||
| --- | ||
|
|
||
| We welcome contributions from the community! Please read our [contribution guidelines](CONTRIBUTING.md) before getting started. | ||
| ## Quick Navigation | ||
|
|
||
| | Track | Focus | Samples | | ||
| |:------|:------|:-------:| | ||
| | [Infrastructure as Code](/Infrastructure_as_Code) | Terraform, CloudFormation & Ansible templates for provisioning and configuring FSx ONTAP resources | 11 | | ||
| | [EKS](/EKS) | Persistent storage for Kubernetes with Trident Protect, PV migration & log collection | 4 | | ||
| | [Management Utilities](/Management-Utilities) | Day-2 operations — SnapMirror, secrets rotation, auto-grow, iSCSI, reporting & more | 9 | | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. In this case, the focus is too vague. How about: |
||
| | [Monitoring](/Monitoring) | CloudWatch dashboards, alarms, LUN metrics, Harvest/Grafana & ONTAP service health | 7 | | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I've been meaning to take out the monitoring references in this repo. I only left the code here for historical reasons in case someone has a pointer to a specific folder. So, let's take out this row of the table. |
||
|
|
||
| --- | ||
|
|
||
| ## Getting Started | ||
|
|
||
| 1. **Browse** the catalog below or use the Quick Navigation table above to find a sample. | ||
| 2. **Clone** this repository: | ||
| ```bash | ||
| git clone https://github.com/NetApp/FSx-ONTAP-samples-scripts.git | ||
| ``` | ||
| 3. **Navigate** into the sample directory and follow its `README.md` for prerequisites and usage. | ||
| 4. **Contribute** — we welcome PRs! Read our [contribution guidelines](CONTRIBUTING.md) first. | ||
|
|
||
| Have a great idea? We'd love to hear it! Email us at [ng-fsxn-github-samples@netapp.com](mailto:ng-fsxn-github-samples@netapp.com). | ||
|
|
||
| --- | ||
|
|
||
| ## Sample Catalog | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Change "Sample" to "Samples", otherwise it looks like a template that wasn't changed. |
||
|
|
||
| ### Infrastructure as Code | ||
|
|
||
| Provision, configure, and replicate FSx ONTAP resources using industry-standard IaC tools. | ||
|
|
||
| * **[Ansible](/Infrastructure_as_Code/Ansible)** | ||
| * [FSx ONTAP inventory report](/Infrastructure_as_Code/Ansible/fsx_inventory_report) — Generate a complete inventory of your FSx ONTAP resources | ||
| * [SnapMirror report](/Infrastructure_as_Code/Ansible/snapmirror_report) — Report on SnapMirror relationship status | ||
| * [Volume Management](/Infrastructure_as_Code/Ansible/Volume_Management) — Create, modify, and delete volumes | ||
| * **[CloudFormation](/Infrastructure_as_Code/CloudFormation)** | ||
| * [Deploy FSx ONTAP](/Infrastructure_as_Code/CloudFormation/deploy-fsx-ontap) — One-click FSx ONTAP deployment stack | ||
| * [Export FSx ONTAP Configuration to CloudFormation](/Infrastructure_as_Code/CloudFormation/Export-FSxN-CloudFormation) — Reverse-engineer existing resources into templates | ||
| * [Custom Resources Samples](/Infrastructure_as_Code/CloudFormation/NetApp-FSxN-Custom-Resources-Samples) — Lambda-backed custom resources for advanced provisioning | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Maybe change the description to be: |
||
| * **[Terraform](/Infrastructure_as_Code/Terraform)** | ||
| * [FSx ONTAP deployment](/Infrastructure_as_Code/Terraform/deploy-fsx-ontap) — Core Terraform module for FSx ONTAP | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Maybe change the description to: |
||
| * [FSx ONTAP with VPN for File Share Access](/Infrastructure_as_Code/Terraform/deploy-fsx-ontap-fileshare-access) — Secure file share access over VPN | ||
| * [SQL Server on EC2 with FSx ONTAP](/Infrastructure_as_Code/Terraform/deploy-fsx-ontap-sqlserver) — End-to-end SQL Server deployment with FSx ONTAP storage | ||
| * [FSx ONTAP Replication](/Infrastructure_as_Code/Terraform/fsxn-replicate) — SnapMirror replication via Terraform | ||
| * [Miscellaneous Terraform resources](/Infrastructure_as_Code/Terraform/Miscellaneous) — Additional Terraform examples and helpers | ||
|
|
||
| ### EKS | ||
|
|
||
| Run stateful Kubernetes workloads on Amazon EKS with FSx ONTAP persistent volumes. | ||
|
|
||
| Have a great idea? We'd love to hear it! Please email us at [ng-fsxn-github-samples@netapp.com](mailto:ng-fsxn-github-samples@netapp.com). | ||
|
|
||
| ## Table of Contents | ||
|
|
||
| * [Infrastructure as Code](/Infrastructure_as_Code) | ||
| * [Ansible](/Infrastructure_as_Code/Ansible) | ||
| * [FSx ONTAP inventory report](/Infrastructure_as_Code/Ansible/fsx_inventory_report) | ||
| * [SnapMirror report](/Infrastructure_as_Code/Ansible/snapmirror_report) | ||
| * [Volume Management](/Infrastructure_as_Code/Ansible/Volume_Management) | ||
| * [CloudFormation](/Infrastructure_as_Code/CloudFormation) | ||
| * [Deploy-fsx-ontap](/Infrastructure_as_Code/CloudFormation/deploy-fsx-ontap) | ||
| * [Export FSx for ONTAP Configuration to CloudFormation](/Infrastructure_as_Code/CloudFormation/Export-FSxN-CloudFormation) | ||
| * [NetApp-FSxN-Custom-Resources-Samples](/Infrastructure_as_Code/CloudFormation/NetApp-FSxN-Custom-Resources-Samples) | ||
| * [Terraform](/Infrastructure_as_Code/Terraform) | ||
| * [Deployment of FSx ONTAP with VPN for File Share Access](/Infrastructure_as_Code/Terraform/deploy-fsx-ontap-fileshare-access) | ||
| * [Deployment of SQL Server on EC2 with FSx ONTAP](/Infrastructure_as_Code/Terraform/deploy-fsx-ontap-sqlserver) | ||
| * [FSx ONTAP deployment using Terraform](/Infrastructure_as_Code/Terraform/deploy-fsx-ontap) | ||
| * [FSx ONTAP Replication](/Infrastructure_as_Code/Terraform/fsxn-replicate) | ||
| * [Miscellaneous FSx ONTAP resources using Terraform](/Infrastructure_as_Code/Terraform/Miscellaneous) | ||
| * [EKS](/EKS) | ||
| * [Backup-EKS-Applications-with-Trident-Protect](/EKS/Backup-EKS-Applications-with-Trident-Protect) | ||
| * [EKS applications non-stdout logs collection into ELK](/EKS/EKS-logs-to-ELK) | ||
| * [FSx for NetApp ONTAP as persistent storage for EKS](/EKS/FSxN-as-PVC-for-EKS) | ||
| * [PV-Migrate-with-Trident-Protect](/EKS/PV-Migrate-with-Trident-Protect) | ||
| * [Management Utilities](/Management-Utilities) | ||
| * [Auto Create SnapMirror Relationships](/Management-Utilities/auto_create_sm_relationships) | ||
| * [Auto Set FSxN Auto Grow](/Management-Utilities/auto_set_fsxn_auto_grow) | ||
| * [AWS CLI management scripts for FSx ONTAP](/Management-Utilities/fsx-ontap-aws-cli-scripts) | ||
| * [FSx ONTAP iscsi volume creation automation for Windows](/Management-Utilities/iscsi-vol-create-and-mount) | ||
| * [Rotate AWS Secrets Manager Secret](/Management-Utilities/fsxn-rotate-secret) | ||
| * [Warm Performance Tier](/Management-Utilities/warm_performance_tier) | ||
| * [Workload Factory API Samples](/Management-Utilities/Workload-Factory-API-Samples) | ||
| * [Monitoring](/Monitoring) | ||
| * [Automatically Add CloudWatch Alarms for FSx Resources](/Monitoring/auto-add-cw-alarms) | ||
| * [CloudWatch Dashboard for FSx for ONTAP](/Monitoring/CloudWatch-FSx) | ||
| * [Export LUN metrics from an FSx ONTAP to Amazon CloudWatch](/Monitoring/LUN-monitoring) | ||
| * [Ingest NAS audit logs into CloudWatch](/Monitoring/ingest_nas_audit_logs_into_cloudwatch) | ||
| * [Monitor FSx for ONTAP with Harvest on EKS](/Monitoring/monitor_fsxn_with_harvest_on_eks) | ||
| * [Monitor ONTAP metrics from FSx ONTAP using python Lambda function](/Monitoring/monitor-ontap-services) | ||
| * [Backup EKS Applications with Trident Protect](/EKS/Backup-EKS-Applications-with-Trident-Protect) — Backup and restore PVCs using Trident Protect | ||
| * [EKS non-stdout logs collection into ELK](/EKS/EKS-logs-to-ELK) — Shared FSx ONTAP storage for non-standard log collection | ||
| * [FSx for NetApp ONTAP as persistent storage for EKS](/EKS/FSxN-as-PVC-for-EKS) — Sandbox environment for FSx ONTAP PVC integration | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Maybe: |
||
| * [PV Migrate with Trident Protect](/EKS/PV-Migrate-with-Trident-Protect) — Migrate persistent volumes between clusters | ||
|
|
||
| ### Management Utilities | ||
|
|
||
| Day-2 operational tools for managing FSx ONTAP file systems at scale. | ||
|
|
||
| * [Auto Create SnapMirror Relationships](/Management-Utilities/auto_create_sm_relationships) — Automatically create SnapMirror relationships between file systems | ||
| * [Auto Set FSxN Auto Grow](/Management-Utilities/auto_set_fsxn_auto_grow) — Automatically enable volume auto-grow | ||
| * [AWS CLI Management Scripts](/Management-Utilities/fsx-ontap-aws-cli-scripts) — Collection of AWS CLI scripts for FSx ONTAP operations | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Maybe: |
||
| * [EC2 User Data iSCSI Create & Mount](/Management-Utilities/ec2-user-data-iscsi-create-and-mount) — Launch EC2 instances with auto-provisioned iSCSI volumes | ||
| * [FSxN Report](/Management-Utilities/FSxN-Report) — Generate reports of all FSx ONTAP file systems, volumes, and SVMs | ||
| * [iSCSI Volume Creation for Windows](/Management-Utilities/iscsi-vol-create-and-mount) — Create iSCSI volumes and mount to Windows EC2 instances | ||
| * [Rotate AWS Secrets Manager Secret](/Management-Utilities/fsxn-rotate-secret) — Lambda function for FSx ONTAP admin password rotation | ||
| * [Warm Performance Tier](/Management-Utilities/warm_performance_tier) — Warm up the performance tier of an FSx ONTAP volume | ||
| * [Workload Factory API Samples](/Management-Utilities/Workload-Factory-API-Samples) — Bash scripts demonstrating Workload Factory API usage | ||
|
|
||
| ### Monitoring | ||
|
|
||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Just delete this Monitoring section |
||
| > [!NOTE] | ||
| > Active monitoring development has moved to **[NetApp/FSx-ONTAP-monitoring](https://github.com/NetApp/FSx-ONTAP-monitoring)**. | ||
| > The samples below remain functional but new features land in the dedicated monitoring repository. | ||
|
|
||
| * [Automatically Add CloudWatch Alarms](/Monitoring/auto-add-cw-alarms) — Auto-create alarms for storage, CPU, and volume utilization | ||
| * [CloudWatch Dashboard for FSx ONTAP](/Monitoring/CloudWatch-FSx) — Pre-built CloudWatch dashboard for FSx ONTAP metrics | ||
| * [Export LUN Metrics to CloudWatch](/Monitoring/LUN-monitoring) — Push LUN metrics to CloudWatch with a dashboard | ||
| * [Ingest NAS Audit Logs into CloudWatch](/Monitoring/ingest_nas_audit_logs_into_cloudwatch) — Stream NAS audit logs to CloudWatch | ||
| * [Monitor FSx ONTAP with Harvest on EC2](/Monitoring/monitor_fsxn_with_harvest_on_ec2) — Harvest + Prometheus + Grafana on EC2 | ||
| * [Monitor FSx ONTAP with Harvest on EKS](/Monitoring/monitor_fsxn_with_harvest_on_eks) — Harvest + Prometheus + Grafana on EKS | ||
| * [Monitor ONTAP Services](/Monitoring/monitor-ontap-services) — Lambda-based monitoring with SNS alerts for EMS, SnapMirror, quotas & health | ||
|
|
||
| --- | ||
|
|
||
| ## Related Resources | ||
|
|
||
| | Resource | Link | | ||
| |:---------|:-----| | ||
| | AWS FSx for NetApp ONTAP documentation | [docs.aws.amazon.com](https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/what-is-fsx-ontap.html) | | ||
| | NetApp Workload Factory | [console.workloads.netapp.com](https://console.workloads.netapp.com) | | ||
| | FSx ONTAP Monitoring (dedicated repo) | [NetApp/FSx-ONTAP-monitoring](https://github.com/NetApp/FSx-ONTAP-monitoring) | | ||
| | NetApp BlueXP | [bluexp.netapp.com](https://bluexp.netapp.com) | | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Change BlueXP to "Console" and the URL to console.netapp.com |
||
|
|
||
| --- | ||
|
|
||
| ## Contributing | ||
|
|
||
| We welcome contributions from the community! Please read our [contribution guidelines](CONTRIBUTING.md) before getting started. | ||
|
|
||
| ## Author Information | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the focus is too specific. Maybe:
Samples of how to use FSxN with your EKS deployments leveraging Trident and Trident Protect.