sap-edge-integration-cell-on-azure-accelerator
Copilot instructions7 starsChanged 3 years agoMITView on GitHub
Infrastructure-as-code that automates deployment of the infrastructure required to run SAP Edge Integration Cell (EIC) on Azure Kubernetes Service (AKS), plus SAP BTP entitlement setup. There is no application code here — only IaC templates and Markdown docs. The repo is split into two maturity tiers, each containing parallel target environments: The production-ready direction is to build on the Azure Well-Architected Framework. All WAF/AKS-baseline scripting lives in the upstream baseline repositories and must only be linked from here, never copied,…
The file
We split this copilot-instructions.md into the rules it gives an agent
3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 32
Always cd into the target sample directory first (e.g.
- Distinctive: line 91
When handling AKS/kubectl requests for quickstart/PoC in this repository, assume SAP EIC behavior and naming before proposing fixes:
- Very specific: line 93
Use EIC namespace layout first: Check edge-icell, edge-icell-services, edge-icell-ela, and edgelm before assuming a single eic namespace.
≈ “Common” is an estimate: at least 1 in 5 of the 1,644 Copilot instructions files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
SAP Edge Integration Cell on Azure Accelerator
Infrastructure-as-code that automates deployment of the infrastructure required to run SAP Edge Integration Cell (EIC) on Azure Kubernetes Service (AKS), plus SAP BTP entitlement setup. There is no application code here — only IaC templates and Markdown docs.
Repository layout
The repo is split into two maturity tiers, each containing parallel target environments:
quickstart/— non-production samples meant to provision quickly. Keep these as light as possible: the goal is the shortest path for a customer to see a working SAP Edge Integration Cell. Resist adding networking, hardening, or extra services here — that belongs inproduction-ready/.aks/— minimal AKS cluster (the primary working sample, Terraform).sap/— SAP BTP entitlement for theedge_integration_cellplan via theSAP/btpTerraform provider.azure-local/— docs only (🚧UNDER CONSTRUCTION🚧).
production-ready/— well-architected blueprints (aks/,sap/,azure-local/). Most are stubs marked🚧UNDER CONSTRUCTION🚧; the existingproduction-ready/aks/*.tfis in-development scaffolding and not yet internally consistent (e.g.main.tfreferences resources such asazurerm_resource_group.rg,random_pet.*,azurerm_virtual_network.defaultthat aren't all defined).
Production-ready relies on the AKS baseline — link, don't copy
The production-ready direction is to build on the Azure Well-Architected Framework. All WAF/AKS-baseline scripting lives in the upstream baseline repositories and must only be linked from here, never copied, to avoid redundancy and to always benefit from their ongoing updates:
This repo's production-ready content should layer the EIC-specific pieces on top of (and reference) that baseline rather than reimplementing cluster hardening, networking, or governance.
IaC is multi-language
Terraform is the current implementation but not the only IaC going forward — production-ready blueprints will introduce Bicep (WAF-aligned). When adding to production-ready/, prefer Bicep for new WAF blueprint work; keep Terraform and Bicep assets clearly separated by directory so each environment stays a self-contained, independently deployable unit.
Each Terraform sample is a self-contained root module with its own provider.tf, variables.tf, main.tf (and optionally outputs.tf, plus feature files like postgresql-fs-db.tf, ssh.tf). Deploy from inside the specific sample directory, not the repo root. The root versions.tf is not part of any deployable module.
Working with Terraform here
Always cd into the target sample directory first (e.g. quickstart/aks), then:
terraform init
terraform plan
terraform apply- Variables are supplied via a
terraform.tfvarsfile the user creates locally (not committed). See each sample'sREADME.mdfor expected variable names (e.g.resource_group_name,location). - There is no remote backend and no CI that runs Terraform —
applyhappens manually from a workstation, Azure Cloud Shell, or the devcontainer. Authentication is via Azure CLI (az account set --subscription <id>). Docs referenceARM_SKIP_PROVIDER_REGISTRATION=trueto skip provider registration. quickstart/saptargets SAP BTP (not Azure) and requiresglobalaccount/subaccount_id; it assumes SAP CPI is already available in the subaccount.
Conventions
These are written for long-term, multi-contributor and agentic maintenance — favor changes that keep samples self-describing and reduce per-release manual edits.
- Move away from hardcoded versions toward configurable inputs. Current samples pin values inline that should become variables with sensible defaults — notably
kubernetes_versionand VM sizes inquickstart/aks/main.tf. Prefer exposing these asvariables.tfinputs (documented in the README) over editingmain.tfper deployment. SAP only supports specific AKS versions, so make the version configurable and document the "verify latest SAP-supported stable AKS version" check rather than freezing a value. - Provider pins are currently inconsistent and should be converging upward. Root
versions.tfand several docs targetazurerm ~> 4.x, but sampleprovider.tffiles still pinazurerm ~> 3.0. When touching a sample, align it toward the4.xbaseline where feasible; if you must keep an older pin, leave a note why. Don't silently introduce a third divergent pin. - Resource naming uses interpolation prefixes (e.g.
"k8s-${var.resource_group_name}","rg-${var.resource_group_name}",random_pet-based names in production-ready). Keep new resources consistent with the surrounding file's scheme. - Docs are a primary deliverable: each sample's
README.mddocuments variables and step-by-step usage. When you add or rename a variable, update that sample's README in the same change. The manual EIC install still relies on SAP's video/guide because not all steps are automated yet.
Documentation links
Markdown link health is enforced by .github/workflows/links-watcher.yml (lychee, daily + workflow_dispatch). Broken links fail the job and auto-file/update a GitHub issue. Keep added Markdown links valid; portal.azure.com, developers.sap.com, and shell.azure.com are excluded from checking.
Knowledge Base (knowledge-base/)
The knowledge-base/ directory is a curated, agent-friendly knowledge source designed for consumption by Azure SRE Agent via the "web page" source type, and by human operators. Community members and agents extend SAP EIC-specific operational knowledge here.
Conventions for knowledge-base content
- Each article is self-contained — independently understandable without reading the full repo.
- Structured headings — H2 for major topics, H3 for sub-procedures. Agents use heading hierarchy for section retrieval.
- Tables for structured data — symptoms/causes/resolutions, parameters/descriptions, metrics/thresholds.
- Severity tags on troubleshooting entries (
Critical,High,Medium,Low). - Command blocks include context comments explaining when and why to run.
- Links to authoritative sources (SAP notes, Microsoft Learn) in a
## Related Resourcesfooter. - No inline images — agents consume text; describe visuals in prose or tables.
- New articles must be added to the Article Index table in
knowledge-base/README.md. - See
knowledge-base/CONTRIBUTING.mdfor the full article template and contribution workflow.
What goes where
| Content | Location |
| Terraform variable docs, step-by-step deployment | Sample README.md (e.g., quickstart/aks/README.md) |
| Architecture, operations, troubleshooting, runbooks | knowledge-base/ |
| IaC templates | quickstart/ or production-ready/ |
The knowledge base references sample READMEs and IaC files via relative links but does not duplicate their content.
Devcontainer
.devcontainer/devcontainer.json provides Ubuntu + Azure CLI + Terraform (latest) and the HashiCorp Terraform / GitHub Actions / Azure CLI VS Code extensions. Use it (or Codespaces) for a ready-to-run environment. When Bicep blueprints land, the Azure CLI already present covers az bicep/az deployment.
EIC AKS/Kubernetes command guidance
This guidance is for the current PoC/quickstart deployment shape in this repository. Production-ready environments may intentionally add stricter networking, ingress, certificate, and policy controls and should be evaluated against their own architecture/runbooks.
When handling AKS/kubectl requests for quickstart/PoC in this repository, assume SAP EIC behavior and naming before proposing fixes:
- Use EIC namespace layout first. Check
edge-icell,edge-icell-services,edge-icell-ela, andedgelmbefore assuming a singleeicnamespace. - Treat Istio ingress service as the external entrypoint proof. In this setup,
istio-system/istio-ingressgateway(LoadBalancer) with the public IP is the primary signal for external exposure;kubectl get ingresscan legitimately be empty. - Do not require Kubernetes Ingress objects as a completion gate for quickstart EIC validations. Prefer checking ingressgateway service, pod readiness, and endpoints.
- Do not assume TLS secrets are in AKS. Keystore/PFX can be configured only in SAP Integration Suite; lack of a TLS secret in cluster namespaces is not automatically a deployment failure.
- Validate internal service health with Kubernetes primitives: pods ready, deployments/statefulsets available, service endpoints populated, PVCs bound, and no persistent crash loops.
- Interpret completed utility jobs carefully.
Completedstatus for one-off diagnostic hooks/jobs is expected and should not be flagged as unhealthy by default.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

