Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Platform] Ability to setup GCP provider with shared VPC #3383

Closed
ramkumarvs opened this issue Jan 17, 2020 · 0 comments
Closed

[Platform] Ability to setup GCP provider with shared VPC #3383

ramkumarvs opened this issue Jan 17, 2020 · 0 comments
Assignees
Labels
area/platform Yugabyte Platform

Comments

@ramkumarvs
Copy link
Contributor

Right now our GCP provider setup is not flexible as our AWS provider setup, we should enhance it to support user providing their Region, Zone, VPC and Subnet information. And we provision their cloud provider accordingly.

@ramkumarvs ramkumarvs added the area/platform Yugabyte Platform label Jan 17, 2020
WesleyW added a commit that referenced this issue Mar 23, 2020
… subnets per region

Summary:
If users want to create shared VPC universes, they need to specify the host project of the shared
when creating provider (along with the VPC). When they create, the universe will exist on the host
project rather than the project YW is run on.

Users can also specify a subnet in `perRegionMetadata` when creating a provider. This is currently
API only and will be followed up by the UI change in a separate diff.

Test Plan:
Shared VPC:
- Set up YW on subproject. Create universe with shared VPC.

Multiple subnets in region:
Create a provider without bootstrapping and then run:
```bin/ybcloud.sh gcp network bootstrap --custom_payload '{"errorString":null,"providerUUID":"5ce99a14-e6b0-4a19-a230-3bc5edb6cabd","perRegionMetadata":{"us-west1":{"vpcId":null,"vpcCidr":null,"azToSubnetIds":null,"customImageId":null,"customSecurityGroupId":null}},"keyPairName":null,"sshPrivateKeyContent":null,"sshUser":null,"hostVpcId":null,"hostVpcRegion":null,"customHostCidrs":[],"destVpcId":"wesley-shared-vpc","subnetId":"wesley-shared-subnet"}'```

Reviewers: ram, bogdan

Reviewed By: bogdan

Subscribers: andrew, jenkins-bot, yugaware

Differential Revision: https://phabricator.dev.yugabyte.com/D8014
@WesleyW WesleyW closed this as completed Apr 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/platform Yugabyte Platform
Projects
None yet
Development

No branches or pull requests

2 participants