www.awsgood.com
AWS CloudFormation是用以定义及自定义的模版创建及管理AWS资源服务。CloudFormation服务是免费的,你只需支付通过CloudFormation创建的AWS资源的使用费用。
在这里用AWS提供的LAMP模版创建CloudFormation。
登录到AWS管理页面以后,点击[CloudFormation] 
在AWS EC2的实例页面可确认到创建了Name为CloudFormation_for_awsgood的实例,并且在running状态。
SSH登录的时候使用的密钥是,在指定参数里配置的awsgood.com密钥。可以确认到httpd及mysqld等进程正在运行状态。
$ pstree -anp
init,1
tqudevd,662 -d
x tqudevd,704 -d
x mqudevd,705 -d
tqdhclient,1027 -q -lf /var/lib/dhclient/dhclient-eth0.leases -pf...
tqauditd,1068
x mq{auditd},1069
tqrsyslogd,1086 -i /var/run/syslogd.pid -c 5
x tq{rsyslogd},1087
x tq{rsyslogd},1089
x mq{rsyslogd},1090
tqdbus-daemon,1112 --system
tqsshd,1245
x mqsshd,1952
x mqsshd,1954
x mqbash,1955
x mqpstree,1980 -anp
tqntpd,1269 -u ntp:ntp -p /var/run/ntpd.pid -g
tqsendmail,1284
tqsendmail,1291
tqcrond,1299
tqatd,1309
tqhttpd,1490
x tqhttpd,1500
x tqhttpd,1501
x tqhttpd,1502
x tqhttpd,1503
x tqhttpd,1504
x tqhttpd,1505
x tqhttpd,1506
x mqhttpd,1507
tqcfn-hup,1516 /opt/aws/bin/cfn-hup
x mq{cfn-hup},1549
tqmysqld_safe,1637 /usr/bin/mysqld_safe --datadir=/var/lib/mysql...
x mqmysqld,1832 --basedir=/usr --datadir=/var/lib/mysql--plugin-dir=/usr/li
x tq{mysqld},1834
x tq{mysqld},1835
x tq{mysqld},1836
x tq{mysqld},1837
x tq{mysqld},1838
x tq{mysqld},1839
x tq{mysqld},1840
x tq{mysqld},1841
x tq{mysqld},1842
x tq{mysqld},1843
x tq{mysqld},1858
x tq{mysqld},1859
x tq{mysqld},1860
x tq{mysqld},1861
x mq{mysqld},1869
tqagetty,1920 hvc0 38400 vt100-nav
tqmingetty,1922 /dev/tty1
tqmingetty,1928 /dev/tty2
tqmingetty,1931 /dev/tty3
tqmingetty,1933 /dev/tty4
tqmingetty,1935 /dev/tty5
mqmingetty,1937 /dev/tty6
打开浏览器,并输入AWS EC2的公网IP,可确认到以下页面。
AWS CloudFormation是效率化搭建服务器环境环节的有效工具,也应该是每个运维工程师必须掌握的AWS服务之一。
在这里是利用了AWS提供的模版,下回研究一下如何自定义模版。
细心的朋友可能已经发现AWS管理页面已经汉化了,就是说在管理页面可以选择中文了。