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

#1178 - custom VPC non-default option #1186

Merged
merged 2 commits into from
Jan 11, 2023

Conversation

fmichaelobrien
Copy link
Member

unit testing - not integration testing

michael@cloudshell:~/docproc-old/pubsec-declarative-toolkit/solutions/document-processing/gcloud (docproc-old)$ echo $NETWORK

michael@cloudshell:~/docproc-old/pubsec-declarative-toolkit/solutions/document-processing/gcloud (docproc-old)$ echo $SUBNET

michael@cloudshell:~/docproc-old/pubsec-declarative-toolkit/solutions/document-processing/gcloud (docproc-old)$ export REGION=us-central1
michael@cloudshell:~/docproc-old/pubsec-declarative-toolkit/solutions/document-processing/gcloud (docproc-old)$ export ZONE=$REGION-a
michael@cloudshell:~/docproc-old/pubsec-declarative-toolkit/solutions/document-processing/gcloud (docproc-old)$ export PROJECT_ID=docproc-old
michael@cloudshell:~/docproc-old/pubsec-declarative-toolkit/solutions/document-processing/gcloud (docproc-old)$ gcloud config set project docai-gen-4083
Updated property [core/project].
michael@cloudshell:~/docproc-old/pubsec-declarative-toolkit/solutions/document-processing/gcloud (docai-gen-4083)$ gcloud compute instances create ledgermonolith-service --project $PROJECT_ID --zone $ZONE --network ${NETWORK=default} --subnet ${SUBNET=default} --image-family=debian-10 --image-project=debian-cloud --machine-type=n1-standard-2
API [compute.googleapis.com] not enabled on project [281728183611]. Would you like to enable and retry (this will take a few minutes)? (y/N)?  y

Enabling service [compute.googleapis.com] on project [281728183611]...
Operation "operations/acf.p2-281728183611-7641d0a6-0db6-4ddc-9c38-565caa16832a" finished successfully.
Created [https://www.googleapis.com/compute/v1/projects/docproc-old/zones/us-central1-a/instances/ledgermonolith-service].
NAME: ledgermonolith-service
ZONE: us-central1-a
MACHINE_TYPE: n1-standard-2
PREEMPTIBLE:
INTERNAL_IP: 10.128.0.2
EXTERNAL_IP: 34....
STATUS: RUNNING

Thanks Nim

Fixes #<ISSUE_NUMBER>

Background

Change Summary

Additional Notes

Testing Procedure

Related PRs or Issues

unit testing - not integration testing
```
michael@cloudshell:~/docproc-old/pubsec-declarative-toolkit/solutions/document-processing/gcloud (docproc-old)$ echo $NETWORK

michael@cloudshell:~/docproc-old/pubsec-declarative-toolkit/solutions/document-processing/gcloud (docproc-old)$ echo $SUBNET

michael@cloudshell:~/docproc-old/pubsec-declarative-toolkit/solutions/document-processing/gcloud (docproc-old)$ export REGION=us-central1
michael@cloudshell:~/docproc-old/pubsec-declarative-toolkit/solutions/document-processing/gcloud (docproc-old)$ export ZONE=$REGION-a
michael@cloudshell:~/docproc-old/pubsec-declarative-toolkit/solutions/document-processing/gcloud (docproc-old)$ export PROJECT_ID=docproc-old
michael@cloudshell:~/docproc-old/pubsec-declarative-toolkit/solutions/document-processing/gcloud (docproc-old)$ gcloud config set project docai-gen-4083
Updated property [core/project].
michael@cloudshell:~/docproc-old/pubsec-declarative-toolkit/solutions/document-processing/gcloud (docai-gen-4083)$ gcloud compute instances create ledgermonolith-service --project $PROJECT_ID --zone $ZONE --network ${NETWORK=default} --subnet ${SUBNET=default} --image-family=debian-10 --image-project=debian-cloud --machine-type=n1-standard-2
API [compute.googleapis.com] not enabled on project [281728183611]. Would you like to enable and retry (this will take a few minutes)? (y/N)?  y

Enabling service [compute.googleapis.com] on project [281728183611]...
Operation "operations/acf.p2-281728183611-7641d0a6-0db6-4ddc-9c38-565caa16832a" finished successfully.
Created [https://www.googleapis.com/compute/v1/projects/docproc-old/zones/us-central1-a/instances/ledgermonolith-service].
NAME: ledgermonolith-service
ZONE: us-central1-a
MACHINE_TYPE: n1-standard-2
PREEMPTIBLE:
INTERNAL_IP: 10.128.0.2
EXTERNAL_IP: 34....
STATUS: RUNNING
```

Thanks Nim
@fmichaelobrien fmichaelobrien requested a review from a team as a code owner January 10, 2023 03:20
@arbrown arbrown enabled auto-merge (squash) January 11, 2023 22:46
@arbrown arbrown merged commit c044fb0 into GoogleCloudPlatform:main Jan 11, 2023
big-appled pushed a commit to big-appled/bank-of-anthos that referenced this pull request Jun 9, 2023
…Platform#1186)

unit testing - not integration testing
```
michael@cloudshell:~/docproc-old/pubsec-declarative-toolkit/solutions/document-processing/gcloud (docproc-old)$ echo $NETWORK

michael@cloudshell:~/docproc-old/pubsec-declarative-toolkit/solutions/document-processing/gcloud (docproc-old)$ echo $SUBNET

michael@cloudshell:~/docproc-old/pubsec-declarative-toolkit/solutions/document-processing/gcloud (docproc-old)$ export REGION=us-central1
michael@cloudshell:~/docproc-old/pubsec-declarative-toolkit/solutions/document-processing/gcloud (docproc-old)$ export ZONE=$REGION-a
michael@cloudshell:~/docproc-old/pubsec-declarative-toolkit/solutions/document-processing/gcloud (docproc-old)$ export PROJECT_ID=docproc-old
michael@cloudshell:~/docproc-old/pubsec-declarative-toolkit/solutions/document-processing/gcloud (docproc-old)$ gcloud config set project docai-gen-4083
Updated property [core/project].
michael@cloudshell:~/docproc-old/pubsec-declarative-toolkit/solutions/document-processing/gcloud (docai-gen-4083)$ gcloud compute instances create ledgermonolith-service --project $PROJECT_ID --zone $ZONE --network ${NETWORK=default} --subnet ${SUBNET=default} --image-family=debian-10 --image-project=debian-cloud --machine-type=n1-standard-2
API [compute.googleapis.com] not enabled on project [281728183611]. Would you like to enable and retry (this will take a few minutes)? (y/N)?  y

Enabling service [compute.googleapis.com] on project [281728183611]...
Operation "operations/acf.p2-281728183611-7641d0a6-0db6-4ddc-9c38-565caa16832a" finished successfully.
Created [https://www.googleapis.com/compute/v1/projects/docproc-old/zones/us-central1-a/instances/ledgermonolith-service].
NAME: ledgermonolith-service
ZONE: us-central1-a
MACHINE_TYPE: n1-standard-2
PREEMPTIBLE:
INTERNAL_IP: 10.128.0.2
EXTERNAL_IP: 34....
STATUS: RUNNING
```

Thanks Nim

Co-authored-by: Drew Brown <drew@drewbrown.me>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants