Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1059969
  • 博文数量: 186
  • 博客积分: 4939
  • 博客等级: 上校
  • 技术积分: 2075
  • 用 户 组: 普通用户
  • 注册时间: 2010-04-08 17:15
文章分类

全部博文(186)

文章存档

2018年(1)

2017年(3)

2016年(11)

2015年(42)

2014年(21)

2013年(9)

2012年(18)

2011年(46)

2010年(35)

发布时间:2016-08-13 19:16:19

{ "api.xxx.cn": [{"address": "10.0.16.19:9022","ttl": 0}]}route = JSON.parse(result)temp_route = {}route.each do |host, ip_metas|temp_route[host] = ip_metas.map { |ip_meta| ip_m.........【阅读全文】

阅读(3673) | 评论(0) | 转发(0)

发布时间:2016-07-31 19:03:36

#!/usr/bin/env python# -*- coding: utf-8 -*-# # Date: Jul 25,2016'''### Purpose ####Correlating the reservations you currently have active with your running instances is a manual, time-consuming, and error .........【阅读全文】

阅读(1770) | 评论(0) | 转发(0)

发布时间:2016-07-29 22:10:04

漫笔:    1.  CloudFormation 官方啰嗦一大堆,其实就是根据amazon提供的API和规则编写json文件(stack)来实现自动创建各种资源如vpc/ec2/rds等。总之平时你在console做的事大都可以用CF来实现,不过也得看官方是否提供了对应的resource。    2. 好处:非常的方便,当然.........【阅读全文】

阅读(3986) | 评论(0) | 转发(0)

发布时间:2016-07-07 16:55:43

     官方的CLI参考,http://docs.aws.amazon.com/cli/latest/reference/index.html#cli-aws     常用的见下边的脚本,写着备忘。    #config.sh, 定义vpc等信息。#!/bin/bashREGION=cn-north-1VPC_NAME=web-vpcVPC_C.........【阅读全文】

阅读(1404) | 评论(0) | 转发(0)

发布时间:2016-05-11 17:45:21

    写到这里真想问候相关政策的制定者,搞得一个全球化的产品到了中国都要打上xxx特色。    1. 用s3cmd --configure 配置完毕,发现 s3cmd not working with a bucket in the "cn-north-1" region,需要编辑 .s3cfg  bucket_location = cn-north-1host_base = s3.cn-north-1..........【阅读全文】

阅读(4059) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册