Deploying into customer environments

5 concepts · 10 practice questions

Deploying into the customer's cloud

Many customers will not send their data to a vendor's cloud, so the software runs in their own cloud account or VPC. Expect private networking with no outbound internet, an approved image registry, and changes that go through their change process. Ask for a narrowly scoped role you can assume, limited to the deployment's resources and logged on their side, not admin keys. Run a preflight check from inside their network before install day: DNS, required endpoints, permissions and quotas.

import socket

REQUIRED = [
    ("registry.internal.customer.example", 443),   # their image mirror
    ("db.internal.customer.example", 5432),
    ("kms.internal.customer.example", 443),
]

def preflight(targets=REQUIRED, timeout=3):
    """Run inside the customer's network before install day."""
    failures = []
    for host, port in targets:
        try:
            with socket.create_connection((host, port), timeout=timeout):
                pass
        except OSError as exc:
            failures.append(f"{host}:{port} unreachable ({exc})")
    return failures

Also covered

On-premises and air-gapped installs
Containers and a little Kubernetes
Configuration and secrets per customer
Upgrades and rollback across many installs

Sign in to read the rest and take the 10-question test.

Sign in to continue