Skip to content

Instantly share code, notes, and snippets.

View ZhijieWang's full-sized avatar

Bill (Zhijie) Wang ZhijieWang

  • San Francisco
  • 12:36 (UTC -12:00)
View GitHub Profile
@ZhijieWang
ZhijieWang / AWS-ECS.md
Last active December 14, 2016 06:52 — forked from anonymous/AWS-ECS.md
Demystifying AWS ECS -- ECS documentation for the impatient

Task Definition:

A bunch of containers logically bundled together

  • i.e. Nginx + MVC + DB for Traditional stack
  • i.e. service + optional db for Miscroservices

NetWork Mode:

  • Bridge -- Fork the connection on host's network stack, will have individual IP for container
@ZhijieWang
ZhijieWang / es.sh
Created May 10, 2014 02:21 — forked from rajraj/es.sh
cd ~
sudo yum update
sudo yum install java-1.7.0-openjdk.i686 -y
wget https://github.com/downloads/elasticsearch/elasticsearch/elasticsearch-0.19.9.tar.gz -O elasticsearch.tar.gz
tar -xf elasticsearch.tar.gz
rm elasticsearch.tar.gz
mv elasticsearch-* elasticsearch
sudo mv elasticsearch /usr/local/share