Workflow Detail
Infrastructure Bootstrap
Initialize cloud resources and deployment infrastructure.
Overview
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 By Step
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
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
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
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
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