Safdar Mirza @ Cloud

Google - GCP Tricks - How to ... 

 

Setup VPN connectivity via the Direct Connect to GCP (Firewalled one way initiated traffic from on-prem to GCP)

Folder / Project structure create via best practice.

2 factor authentication to GCP console.

Enable SSO to local AD or NIS. 

Disable API access via chrome to Google storage.

Secure GCP org, internet via firewall.  Shared VPC for most projects, that disables direct internet access. Setup proxy for permitted internet access by ip / port / dest URL.

Setup an example of syncing a GCP storage bucket to an internal filesystem

Help in editing an existing condor template to customize a condor pool startup. Advise on an autobuild of OS image via internal puppet setup.

 


https://cloud.google.com/sdk/docs/quickstart-linux

 

Tutorials

Here are some links to help you get started with Google Cloud Platform services.

 

Read the Google Cloud Platform documentation on Google Compute Engine.

Read about Google Cloud Platform Virtual Private Cloud (VPC).

 

 

Docker Container: 

  • Container can start in seconds.
  • Container use few resources space/memory.
  • Container is a running instance of an image.
  • Image is a template.
  • Image contains OS, Software, Application all bundle up in a file.
  • Image is define using a docker file which is just a text file that contains list of step that are required to create the image. For example: configure OS install software, copy project files. 

Docker File -> Image -> Container

 

Install Docker 

Downlaod Docker for Mac:
https://docs.docker.com/docker-for-mac/

Download Docker for Windows:
https://docs.docker.com/docker-for-windows/

https://store.docker.com

check if docker is installed. 

$ docker --version

$ docker-compose --version

$ docker-machine --version

 

Open a command-line terminal and test that your installation works by running the simple Docker image, hello-world:

$ docker run hello-world

 

Check Version:

 

To try something more ambitious, you can run an Ubuntu container with:

 $ docker run -it ubuntu bash

 

 

Docker Related Links:

https://docs.docker.com