Title: feat(aws-marketplace): gate Enterprise on the AWS Marketplace container license and add the EKS install profile by waleedlatif1 · Pull Request #9917 · simstudioai/sim · GitHub
Open Graph Title: feat(aws-marketplace): gate Enterprise on the AWS Marketplace container license and add the EKS install profile by waleedlatif1 · Pull Request #9917 · simstudioai/sim
X Title: feat(aws-marketplace): gate Enterprise on the AWS Marketplace container license and add the EKS install profile by waleedlatif1 · Pull Request #9917 · simstudioai/sim
Description: Summary On a Marketplace install (AWS_MARKETPLACE_LICENSE_PRODUCT_SKU set), the container entrypoint reads the buyer's AWS License Manager licenses for this product before the server loads, with ListReceivedLicenses filtered to the product SKU and the AWS Marketplace issuer fingerprint. A license that License Manager reports AVAILABLE and that carries the enterprise_license entitlement sets ENTERPRISE_ENABLED and its browser twin, so every existing Enterprise gate reads the answer unchanged The license is read, not checked out. A contract usually covers the deployment with one unit, so a checkout from every replica would make them compete for it, and a unit stuck after a failed check-in reads exactly like an expired license for an hour No license, or a check that can't reach License Manager, leaves Sim running as the open-source core. It never stops serving It re-checks every 15 minutes, the cadence AWS recommends for renewals, upgrades and cancellations. A definitive change (not a failed check) sends SIGTERM so Kubernetes restarts the pod in the right mode. Enterprise flags are read once at startup by the server and the browser, so a restart applies the change without rewriting any gate Nothing runs without the SKU env var, so other self-hosted and cloud deployments are unaffected New examples/values-aws-marketplace.yaml, the EKS profile the Marketplace chart ships as its defaults: It runs only Sim's own images: app, realtime, migrations, and the cron image for scheduled jobs in place of curlimages/curl. Bundled Postgres and Redis are off in favor of the buyer's RDS and ElastiCache, because AWS Marketplace hosts and scans every image a listing can deploy. The helm test busybox hook is off for the same reason. Secrets come only from pre-created Kubernetes Secrets, never from values. The ServiceAccount is annotated for IRSA. New examples/aws-marketplace-prerequisites.yaml, a CloudFormation template for the buyer's account: RDS for PostgreSQL 17, Multi-AZ and encrypted, with the master password managed in Secrets Manager. Valkey with TLS and a generated auth token. The IRSA role, allowed only license-manager:ListReceivedLicenses. @aws-sdk/client-license-manager 3.1162.0, the same version as the other AWS clients. It goes through awsRequestHandler, so HTTPS_PROXY is honored Type of Change New feature Testing helm lint and helm template with the new profile, alone and with ci/default-values.yaml, the way the chart CI renders every example. Rendered images are only simstudioai/{simstudio,realtime,migrations,cron} aws cloudformation validate-template and cfn-lint pass. cfn-lint's only warning is the major-only EngineVersion: '17', kept on purpose so RDS picks the current minor bun run lint, plus check:egress-boundary, check:source-conventions, check:utils, check:file-names, check:comment-hygiene, check:explicit-any and check:boundaries. The full audits, type-check and tests run in CI Chart version bumped to 1.11.15 for the chart-testing version check The end-to-end proof comes after release: subscribe from an allowlisted account, install on EKS from the Marketplace registry, and confirm the license read turns Enterprise on Checklist Code follows project style guidelines Self-reviewed my changes Tests added/updated and passing (new tests pass the test-audit authoring gate) No new warnings introduced I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)
Open Graph Description: Summary On a Marketplace install (AWS_MARKETPLACE_LICENSE_PRODUCT_SKU set), the container entrypoint reads the buyer's AWS License Manager licenses for this product before the server loads, wi...
X Description: Summary On a Marketplace install (AWS_MARKETPLACE_LICENSE_PRODUCT_SKU set), the container entrypoint reads the buyer's AWS License Manager licenses for this product before the server loads...
Opengraph URL: https://github.com/simstudioai/sim/pull/9917
X: @github
Domain: github.com
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:262a7d90-a6ec-7079-ba4e-82cef2ca359b |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E1CA:3222E4:AD2BFF:F48401:6AFB79B9 |
| html-safe-nonce | 057cc17a37ec559381b5ea8664e45c50b75696ae2ecf1484c1691c5cb4fb748d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMUNBOjMyMjJFNDpBRDJCRkY6RjQ4NDAxOjZBRkI3OUI5IiwidmlzaXRvcl9pZCI6IjYwODU3Njg0MTU5NjY2MjQxODUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 2a55fa3a529fe72ad79554516ebb90bad583849d4a70e2f9d73623341760d45f |
| hovercard-subject-tag | pull_request:5269217943 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/simstudioai/sim/pull/9917/files |
| twitter:image | https://avatars.githubusercontent.com/u/40672544?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/40672544?s=400&v=4 |
| og:image:alt | Summary On a Marketplace install (AWS_MARKETPLACE_LICENSE_PRODUCT_SKU set), the container entrypoint reads the buyer's AWS License Manager licenses for this product before the server loads, wi... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 0e29e7974fdda2feeaf5c891efd4b23b0734b23480232b62c7bdef13f40b5b48 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/simstudioai/sim git https://github.com/simstudioai/sim.git |
| octolytics-dimension-user_id | 199344406 |
| octolytics-dimension-user_login | simstudioai |
| octolytics-dimension-repository_id | 912559512 |
| octolytics-dimension-repository_nwo | simstudioai/sim |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 912559512 |
| octolytics-dimension-repository_network_root_nwo | simstudioai/sim |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 2e8872b770cc4d5d0cc1f2026afab747a268e2ce |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width