Cloud Trial Managed Instances

Trial Managed Instances (aka PoC) are private, dedicated Sourcegraph instances provisioned and managed by Sourcegraph - more. The purpose is to provide free of charge Managed Instances for future customers for a trial period (default is 30 days).

Difference from paid instances

The difference from paid Managed Instances:

  1. During the trial period, Sourcegraph is covering all the infrastructure and licence costs.
  2. Trial Managed Instances have the GCP label instance-type=trial, which allows to filter them.
  3. Trial Managed Instances are monitored for trial expiration period (default 30 days). When a Trial Managed Instance expires, the instance requestor has to decide to:

Cloud Trial Requests

Due to the high costs of infrastructure & human resources, along with the low activation rates in the self-service cloud trial experiment, we are no longer automatically provisioning cloud trial instances. Effective February 1, 2023, SDRs are responsible for the initial follow up and qualification for cloud trial requests. SDRs should seek to schedule an introduction meeting between the prospective Sourcegraph cloud customer and the Sourcegraph account team (appropriate AE & CE) to qualify the technical and security requirements. If, following that conversation, there is mutual fit for a Sourcegraph cloud trial, CEs are responsible for requesting the trial via the workflow documented below:

  1. Prospect fills out web form requesting trial at about.sourcegraph.com/get-started.
  2. Request is captured, and lead is generated and tagged with appropriate campaign info (PR - Trial - Cloud - 9.27.22).
  3. If lead is from AE-owned/named account, lead is routed to the Outbound SDR owner of that account.
  4. If lead is from unnamed account, lead is routed to Inbound SDR.
  5. SDR lead owner follows up with lead to qualify interest and schedule introductory call with appropriate AE & CE.
  6. If it is determined that a trial managed instance is appropriate for the prospect, the CE requests a trial via the New Cloud instance issue template

New Trial Managed Instance create SLA (since 27th of September 2022)

SLA for trial Managed Instance creation

Architecture

Managed Instance architecture

Trial Managed Instances sizes

Trial managed instances default to small and reasonable defaults (see issue template):

SizeVirtual MachineCloudSQL instance
smalln2-highmem-4db-custom-1-4096

Technical details

Monitoring Trial Managed Instances

Trial instances are handled the same as production instances. To view metrics, logs, or other information, find the trial instance on go/cloud-ops and select the Observability section.

Convert trial to paying customer

When a customer has decided to sign the deal, the instance requestor will create a Managed Instance Convert Trial to Paid GitHub issue. Once the issue is raised, the Cloud Team will:

  • cd cloud/environments/production/CUSTOMER
  • modify .metadata.labels.instance-type annotation to production’ in config.yaml
  • mi2 generate cdktf to regenerate Terraform assets
  • commit the changes to allow Terraform Cloud to update the GCP labels

Requesting to change the subdomain

Upon conversion (or potentially earlier), you can request to change the domain name to a vanity subdomain (eg. acme-corp.sourcegraph.com). To do so, raise a Change cloud instance subdomain request.

Note that changing the subdomain will require the admin to:

  • reconfigure the auth provider (if using SSO). Auth will be broken until they do that.
  • reconfigure the auth provider (if using permission syncing). Repository syncing will be broken until they do that.
  • reconfigure webhooks if they’ve set those up.
  • it will also break all hardcoded links to their sourcegraph instance
  • cause some brief downtime

Be sure to set expectations with the site admin ahead of raising the issue and indicate the configuration steps required.

Teardown Trial Managed Instance

When trial expires and the customer does not wish to sign the deal, the instance requestor should open a Teardown Managed Instance request

Trial Managed Instance creation flow (manual)

  1. New trial managed instance request issue is opened by CE.

  2. Cloud Team will receive new Trial Managed Instance request via email and on-call person should proceed to p.3 within 1 working day

  3. Create Trial Managed Instance

    Trial Managed Instance should be created according to the Managed Instance create process.

    Important:

    • Instance type should be trial
    • Instance size should be small
    • Other parameters should be used from New Trial Managed Instance request.

For other questions please use Managed Instance FAQ