Your cloud (BYOC)
Cloud prerequisites at a glance
What your AWS account or Google Cloud project needs before you connect it and create a setup, side by side.
Before an owner, admin or Technical administrator connects AWS or Google Cloud and creates a setup, the account or project needs the things on this page; each row links to the section with the check, the fix and the exact error.
Before you start
| You supply | Example | Comes from |
|---|---|---|
| The cloud | AWS or Google Cloud | Your decision. Azure is not available |
| A person in the cloud who can create the access | AWS: an administrator who can create CloudFormation stacks and named IAM roles. Google Cloud: an Owner of the project | Your cloud administrators |
| A person in Diakrin who can manage infrastructure | Owner, admin or Technical administrator | Settings → Members |
Prerequisites by cloud
| Prerequisite | AWS | Google Cloud |
|---|---|---|
| Who runs the connect step | An AWS administrator creates the DiakrinAccess-<id> stack in CloudFormation | An Owner of the project runs a pinned script in Cloud Shell |
| Account identifier | 12-digit account ID | Exact project ID (not the name or number) |
| Billing | Not checked | Must be enabled; the script checks it |
| Diakrin's access version for a setup | 1.1.0 or later. Newest is 1.1.1 | 0.8.9 or later. Newest is 0.8.13 |
| Region | 17 priced regions for a setup. Home region of the stack: any of 34 | us-central1, fixed per account |
| Network | Existing VPC with two private subnets in two zones, or a new VPC | Its own VPC. No choice |
| Organization policies | Not checked. SCPs and boundaries can block | Not checked. Policies can block |
| Quotas | Not checked | Not checked |
| App address | Nothing to provide | Nothing to provide |
| Details | Connect AWS and create a setup | Connect Google Cloud and create a setup |
What Diakrin never does
- It never keeps a long-lived cloud key. On AWS it assumes roles with an external ID; on Google Cloud it uses keyless federation and creates no service-account key.
- It never lets itself edit its own access: only you change or remove it.
- It never deletes your resources when you disconnect an account or delete a setup. The one exception is a Google Cloud setup's app address: deleting the setup first removes its gateway, DNS delegation, zone and certificate.
If it fails
| Symptom | Cause | Fix |
|---|---|---|
A setup is refused with ACCOUNT_ACCESS_UPGRADE_REQUIRED | Diakrin's access in your account is older than a setup needs | AWS: update the stack. Google Cloud: update the access |
| Creation stops partway with a provider error | A policy, quota or permission in your cloud, which Diakrin does not read beforehand | AWS: policies and quotas. Google Cloud: policies and quotas |
| You are unsure which cloud step failed | Start at the cloud's own page and its If it fails table |
Next
Continue to Connect AWS and create a setup or Connect Google Cloud and create a setup.