Skip to content

Commit c3ee5ee

Browse files
Merge pull request #27 from devdattakulkarni/Containers
Updated manual steps for GCP Kubernetes deployment
2 parents 755c615 + a66abb7 commit c3ee5ee

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

Containers/Kubernetes-examples/GCP/steps.txt

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
Steps for deploying a stateful containerized application on GKE
22
----------------------------------------------------------------
33

4+
Note: These steps are for Ubuntu. Feel free to use Mac OS if you like.
5+
You will have to figure out how to install Docker and Google Cloud CLI on Mac OS.
6+
47
1) Install Docker and gcloud CLI
58
Create free tier EC2 instance
69
- create Ubuntu 16.04 EC2 instance (free tier). Allow ingress for port 22 from anywhere (0.0.0.0/0)
@@ -16,8 +19,9 @@ SSH back into EC2 instance
1619

1720

1821
2) Configure authentication for gcloud CLI
19-
gcloud auth login <your-gmail-address>
20-
Create Project in Google Cloud Console
22+
gcloud auth login --> Follow the prompts (you will have to open browser window and paste the generated link, then paste the generated code in
23+
the verification field in your console.)
24+
Create Project in Google Cloud Console --> Note down the Project ID. Remember that Project ID is different than the Project's Name. You will need Project ID in subsequent steps.
2125
export PROJECT_ID=<Project-ID-from-previous-step>
2226
export CLOUDSDK_COMPUTE_ZONE=us-central1-b
2327
gcloud config set project ${PROJECT_ID}

0 commit comments

Comments
 (0)