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 …

docker hands-on guide: minikube with kvm on ubuntu 17.10 vm

kubectl installation oldhorse@ubdev:~$ curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 64.2M 100 64.2M 0 0 355k 0 0:03:05 0:03:05 –:–:– 83005 oldhorse@ubdev:~$ chmod +x ./kubectl oldhorse@ubdev:~$ sudo mv ./kubectl /usr/local/bin/kubectl verify by oldhorse@ubdev:~$ …

docker hands-on guide: docker and minikube not working when firewall ON

docker toolbox for windows start docker machine msys without issue, $ dm start msys Starting “msys”… (msysdev) Check network to re-create if needed… (msysdev) Waiting for an IP… Machine “msys” was started. Waiting for SSH to be available… Detecting the provisioner… Started machines may have new IP addresses. You may …