Quantcast
Channel: admin – Robert Chen
Browsing latest articles
Browse All 18 View Live

Image may be NSFW.
Clik here to view.

Using Puppet with r10k, hiera and bitbucket

The Architecture: R10k deploy all modules from git repository based on Puppetfile, each module can have its own branches.   install r10k gem install r10k 2. Create cache directory: mkdir...

View Article



Ansible full guide

Ansible is an open-source software platform for configuring and managing computers. It combines multi-node software deployment, ad hoc task execution, and configuration management. It manages nodes...

View Article

Image may be NSFW.
Clik here to view.

Running app on Kubernetes & Google container engine

Introduction This lab is turning an node.js app into a replicated application running on Kubernetes. This is taking code that have developed on your machine, turn it into a Docker container image, and...

View Article

Image may be NSFW.
Clik here to view.

Provision Cassandra (datastax enterprise) using puppet

1. Plan the cluster   Architecture diagram: Every connection in the diagram should be in secure.   Make sure the hostname and IP addresses can be resolved correctly. The nodes should can reach each...

View Article

Saltstack vs Puppet

Saltstack vs Puppet Robert Chen 1.1 Salt vs Puppet   Saltstack puppet Notes Developed language Python ruby   Module development language YAML Puppet DSL Salt uses state in YAML Puppet manifests is in...

View Article


Haproxy http filtering & header manipulation

The haproxy http filtering is very tricky and cannot google an altogether solution. Block index API reqideny ^(GET\ .*)(\?index=)(.*) reqideny ^(POST\ .*)(\?index=)(.*)   Replace an external domain to...

View Article

Image may be NSFW.
Clik here to view.

Deploy a Mesos, Marathon Cluster using docker

For quickly deploy a mesos, marathon environment, the docker is a better way. This article builds a mesos with multi-slaves.   root@ubuntu:~# HOST_IP=192.168.47.128 Start zookeeper root@ubuntu:~#...

View Article

Image may be NSFW.
Clik here to view.

Auto deploy MyBB with cloudformation

Author: Robert Chen   Requirements Deploy mybb with cloudformation Address security, scalability, high availability, monitoring Architecture Architecture is as below: The architecture is designed as an...

View Article


Image may be NSFW.
Clik here to view.

How to provision a WordPress site with AWS beanstalk

It is very easy to provision a wordpress site using beanstalk, this post has all captured screen. Logon to AWS and click beanstalk, click create application   Select “create web server”   Select...

View Article


Ansible playbook timeout with host unreachable and solution

softdist@ubuntu01:~/test> cat ~/.ansible.cfg [defaults] allow_world_readable_tmpfiles=True   [ssh_connection] retries = 3 ssh_args = -o ControlPersist=1200s -o ControlMaster=auto scp_if_ssh=True...

View Article
Browsing latest articles
Browse All 18 View Live




Latest Images