Workflow Detail

Infrastructure Bootstrap

Initialize cloud resources and deployment infrastructure.

5 steps~40 mininfracloud

Required env vars: AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_REGION, GOOGLE_APPLICATION_CREDENTIALS, DOCKER_CONFIG, KUBECONFIG, ANSIBLE_CONFIG

Auth needed for: AWS CLI, Google Cloud CLI, Docker CLI, kubectl, Ansible CLI

Step 1AWS CLIAuth required

Execute AWS CLI stage in infrastructure bootstrap workflow.

Authentication

  • Step 1 Authenticate CLI profile for this provider.
  • Step 2 Set required environment variables: AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_REGION

aws configure

Configure AWS credentials

aws s3 ls

List S3 buckets

Step 2Google Cloud CLIAuth required

Execute Google Cloud CLI stage in infrastructure bootstrap workflow.

Authentication

  • Step 1 Authenticate CLI profile for this provider.
  • Step 2 Set required environment variables: GOOGLE_APPLICATION_CREDENTIALS

gcloud auth login

Authenticate gcloud

gcloud config set project

Set project context

Step 3Docker CLIAuth required

Execute Docker CLI stage in infrastructure bootstrap workflow.

Authentication

  • Step 1 Authenticate CLI profile for this provider.
  • Step 2 Set required environment variables: DOCKER_CONFIG

docker run

Create and run a new container from an image

docker exec

Execute a command in a running container

Step 4kubectlAuth required

Execute kubectl stage in infrastructure bootstrap workflow.

Authentication

  • Step 1 Authenticate CLI profile for this provider.
  • Step 2 Set required environment variables: KUBECONFIG

kubectl create

Create a resource from a file or from stdin

kubectl expose

Take a replication controller, service, deployment or pod and expose it as a new Kubernetes service

Step 5Ansible CLIAuth required

Execute Ansible CLI stage in infrastructure bootstrap workflow.

Authentication

  • Step 1 Export required environment variables: ANSIBLE_CONFIG

ansible playbook

Run playbook

ansible inventory

Inspect inventory