Setup Kubernetes on Ubuntu 16.04

Summary This setup is supposedly to install the kubernetes on ubuntu machine with version 16.04 (64bit). I did this in the cloud and have worked perfectly. # whoami && pwd root /root # apt-get update # apt-get install -y apt-transport-https # curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add – # echo “deb http://apt.kubernetes.io/ kubernetes-xenial main” … Read more

Create AWS codebuild project with Terraform

Summary AWS Codebuild is fully managed build service that compiles source code, run tests, and produces software packages that are ready to reploy. To make it easier, we can create it’s infrastructure using terraform. Setup directory structure Before we begin, we can create our own directory structure for the infrastructure. Why this is important? because … Read more

Create docker image and push to AWS ECR

Image tag : test-image awsudo -u aws-profile aws ecr get-login –no-include-email –region ap-southeast-1 sudo docker build -t test-image . sudo docker tag codebuild:test-image 743977200366.dkr.ecr.ap-southeast-1.amazonaws.com/codebuild:test-image sudo docker push 743977200366.dkr.ecr.ap-southeast-1.amazonaws.com/codebuild:test-image