launch k8s cluster using vagrant box dreamcloud-ub17k8s

dreamcloud/ub17k8s is a docker/k8s ready box, here is demo to show how to launch a 2 nodes k8s cluster in few mins using vagrant. tool set vagant 2.0.1 virtualbox 5.1.30 cmder/msys64, I use portabledevops which seamless integrated with vagrant/virtualbox prepare Vagrantfile $ mkdir ~/vagrant/k8stest $ curl -LO https://raw.githubusercontent.com/robertluwang/docker-hands-on-guide/master/dreamcloud-vagrant/ub17k8s/Vagrantfile assume the …

launch ubuntu dev vm from dreamcloud-ubuntu17.10

launch ubuntu dev vm from dreamcloud-ubuntu17.10 I build [dreamcloud/ubuntu17.10]() vagrant box as practise, it is a dev ready vm: Guest Tool, shared folder ifupdown which removed from ubuntu 17.10 standard release gcc/git/python/pip Here is demo how to launch ubuntu vm from this base, add 2nd host-only interface for private network. …

create ubuntu 17.10 vagrant box from scratch

install ubuntu server 17.10 download iso from link create new vm memory 1024MB disk 50GB dynamic Audio, USB disable first NIC is NAT, 10.0.2.0/24 for Internet access, add port forward in virtualbox setting: 127.0.0.1:2220 to guest 22 user vagrant/vagrant NAT setup NAT NIC enp0s3 is up, 2: enp0s3: mtu 1500 …

How to manually download vagrant box and install it

find download path here is download link format: https://atlas.hashicorp.com/$boxrelease/providers/virtualbox.box from vagrant site find the release info https://app.vagrantup.com/ubuntu/boxes/artful64/versions/20171220.0.0 so $boxrelease=ubuntu/boxes/artful64/versions/20171220.0.0 this is real download link, https://atlas.hashicorp.com/ubuntu/boxes/artful64/versions/20171220.0.0/providers/virtualbox.box copy and paste to browser, will download, or from cli, $ curl -Lo ubuntu-artful64-vagrant.box https://atlas.hashicorp.com/ubuntu/boxes/artful64/versions/20171220.0.0/providers/virtualbox.box % Total % Received % Xferd Average Speed Time Time …

docker hands-on guide: k8s cluster setup script

k8s cluster script It is a demo how to quickly setup a k8s cluster (2 nodes) for testing and education purpose. pirvate network 10.100.0.0/24 10.100.0.15 k8s-master 10.100.0.16 k8s-node1 tool set Vagrant v2.0.1 x64 on win7 Virtulbox v5.1.30 x64 on win7 portable msys64 on win7 portabledevops it also works for Linux …

docker hands-on guide: docker and minikube on AWS EC2

create new vm in EC2 ssh to ec2 vm from local laptop, $ ssh -i “~/.ssh/dreamcloud.pem” ec2-user@ec2-xxxx.ca-central-1.compute.amazonaws.com __| __|_ ) _| ( / Amazon Linux AMI ___|\___|___| https://aws.amazon.com/amazon-linux-ami/2017.09-release-notes/ 1 package(s) needed for security, out of 6 available Run “sudo yum update” to apply all updates. [ec2-user@ip ~]$ [ec2-user@ip ~]$ uname …

docker hands-on guide: Elastic Container Service ECS on AWS

AWS setup sign up a aws account Open https://aws.amazon.com/, and then choose Create an AWS Account Create an IAM User AWS account root user, single sign-in identity that has complete access to all AWS services and resources in the account. IAM user,Identity and Access Management (IAM), create an IAM user, …

docker hands-on guide: portable Google Cloud SDK on msys64

The Cloud SDK is a set of tools for Cloud Platform. gcloud, access Google Compute Engine gsutil, access Google Cloud Storage bq, access Google BigQuery other products and services CLI developed in python so it shipped with bundled python 2.7 Here are easy steps to make it portable with msys64 …