subeans / architect-cloud

Kubernetes , AWS Serveless

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

architect-cloud

If your Google Cloud Console is once disconnected, run the command below on Google Cloud Console before you start typing anything.

$ export PROJECT_ID=$(gcloud config list --format 'value(core.project)')

Set variable for EKS

rm -vf ${HOME}/.aws/credentials

sudo yum install jq -y

export ACCOUNT_ID=$(aws sts get-caller-identity --output text --query Account)
export AWS_REGION=$(curl -s 169.254.169.254/latest/dynamic/instance-identity/document | jq -r '.region')

echo "export ACCOUNT_ID=${ACCOUNT_ID}" | tee -a ~/.bash_profile
echo "export AWS_REGION=${AWS_REGION}" | tee -a ~/.bash_profile
aws configure set default.region ${AWS_REGION}
aws configure get default.region

About

Kubernetes , AWS Serveless


Languages

Language:Python 41.1%Language:HTML 31.4%Language:JavaScript 20.2%Language:Shell 5.7%Language:Dockerfile 1.6%