Installing third-party software on Openflow BYOC deployments

An Openflow BYOC deployment runs in your AWS account, so you might choose to install your own security, monitoring, or compliance software alongside it. Examples include vulnerability scanners, endpoint detection agents, and observability collectors. This topic describes what Openflow does and doesn’t do with that software, and how to avoid conflicts with the resources that Openflow manages.

Support position

Snowflake doesn’t block you from installing additional software in your Openflow BYOC deployment, but Snowflake doesn’t explicitly support that software. Keep the following in mind:

  • Software that you install might change documented Openflow behavior. For example, additional pods reduce the number of runtimes that fit on a node.
  • If an Openflow problem might be related to your software, Snowflake Support might ask you to remove it so that the problem can be reproduced without it.
  • Snowflake doesn’t provide recommendations for configuring specific third-party products.

Install software on the EKS cluster

Openflow leaves software that you install in your own Kubernetes namespaces in place. Openflow doesn’t remove workloads from namespaces it doesn’t own. Follow these guidelines to avoid conflicts:

  • Run software as Kubernetes workloads, not on the nodes. Snowflake doesn’t support third-party software installed directly on EKS worker nodes. Worker nodes are replaced during upgrades, so packages installed on them aren’t kept. Use a Kubernetes workload, such as a DaemonSet, instead.
  • Use your own namespace. Don’t create resources in namespaces that Openflow manages, such as the kyverno namespace. Openflow might delete and recreate its own namespaces during recovery, which removes their contents.
  • Add tolerations for runtime nodes. Runtime node groups use a taint of the form target-node-group=cloud-<size>-group:NoSchedule, where <size> is sm, md, or lg. A DaemonSet without a matching toleration runs only on the management node. To run on runtime nodes, add a toleration for the target-node-group key, for example with operator: Exists.
  • Reserve capacity. Runtime pods are sized to fit the node group instances. Pods that you add on every node consume CPU and memory, and a runtime might not be schedulable if too little capacity remains. For help sizing runtimes, see Openflow BYOC cost and scaling considerations.
  • Expect slower scale-in. Workloads that you run on runtime nodes might prevent Openflow from scaling in the node group when demand drops, which increases your AWS costs.
  • Don’t block Openflow egress. Don’t apply a default-deny egress NetworkPolicy in a namespace that Openflow uses. Openflow needs outbound access to Snowflake, the Snowflake image registry, and, for Snowflake-managed ingress, Let’s Encrypt. For more information, see Set up Openflow - BYOC.
  • Expect image pull credentials in your namespaces. Openflow writes the Snowflake image registry pull secret (image-registry-secret) to active namespaces in the cluster, including yours. That secret doesn’t configure or remove your software.
  • Add your own EKS access entries. An EKS access entry that you add for your own tooling is kept. Openflow doesn’t remove access entries that it didn’t create.

Openflow currently runs privileged components of its own, such as the CSI drivers. Openflow admission policies don’t reject privileged, hostPID, or hostPath workloads in your own namespace.

Note

This guidance covers workloads that you install in your own namespaces. It doesn’t cover third-party admission controllers that act on Openflow pods. Validate any such controller in a non-production deployment first.

Install software on the deployment agent host

The deployment agent host is the EC2 instance named openflow-agent-{deployment-key}. Snowflake doesn’t support third-party software installed on the agent host, but Openflow doesn’t prevent it. If you install software on the agent host anyway:

  • Install it after the deployment is provisioned. Don’t modify the CloudFormation template to add it.
  • Make sure it doesn’t interfere with Docker, the package manager (dnf), or the Openflow services that run on the host.
  • Account for the resources it uses. The agent host is a small instance with a limited root volume.
  • Install it with repeatable automation, such as AWS Systems Manager State Manager or Distributor, and not by hand. If the instance is replaced, your software isn’t reinstalled automatically.
  • Expect the host to reboot during an upgrade when the operating system kernel changes. For more information, see What an upgrade changes.

If you want to scan or monitor the deployment without installing software on the agent host, consider an agentless or cloud-side scanning approach, such as Amazon GuardDuty or Amazon Inspector.

What happens to your software

The following table describes what happens to software that you install when Openflow upgrades, replaces, or reconciles deployment resources:

EventWorkload in your EKS namespacePackage installed on an EKS worker nodeSoftware installed on the agent host
Openflow deployment upgradeKept. Pods are rescheduled when nodes are replaced.Lost when the node is replaced.Kept, and packages from configured repositories can be upgraded.
Worker node replacement (new AMI)Rescheduled onto the new node.Lost.Not applicable.
Periodic reconciliation by the agentKept.Not applicable.Kept.
CloudFormation stack updateKept.Not applicable.Lost if the agent instance is replaced.

Openflow reconciles resources that it manages back to their expected state. This includes IAM roles, policies, and the security groups that Openflow creates. Don’t modify those resources. For more information, see Configured AWS permissions.

Next steps

What an upgrade changes