When it comes to Amazon Web Services, there are two concepts that are extremely important and spanning across all the services, and that you simply can’t help but be aware of: Regions and Availability Zones. Both of them associate with most of the AW…
1.关系 Availability Zones 通常是对 computes 节点上的资源在小的区域内进行逻辑上的分组和隔离.例如在同一个数据中心,我们可以将 Availability Zones 规划到不同的机房,或者在同一机房的几个相邻的机架,从而保障如果某个 Availability Zone 的节点发生故障(如供电系统或网络),而不影响其他的 Availability Zones 上节点运行的虚拟机,通过这种划分来提高 OpenStack 的可用性.目前 OpenStack 默认的安装是把…
find a bug: at first there is only one zone. create aggregate host1 in zone1 create aggregate host1 in zone1 then create boot a vm. It will fail. set default_availability_zone in cinder.conf http://docs.openstack.org/draft/config-reference/content/se…
/* Domain 1 Design Resilient Architectures 1. Which of the following statements regarding S3 storage classes is true? A. The availability of S3 and S3-IA is the same. B. The durability of S3 and S3-IA is the same. C. The latency of S3 and Glacier is…
1. What is the average queue length recommended by AWS to achieve a lower latency for the 200 PIOPS EBS volume? A. 5 B. 1 C. 2 D. 4 Answer: B 2. An organization is planning to host a web application in the AWS VPC. The organization does not want to h…
AWS Organizations offers policy-based management for multiple AWS accounts and is now generally available for all customers. With Organizations, you can create groups of accounts and then apply policies to those groups. Organizations enables you to c…
Installing VS Components To follow along with this article, you must have an AWS account and install the AWS Toolkit for Visual Studio. I’m using Visual Studio Community 2017. Visit AWS on Amazon to create an AWS account. You can find the latest AWS…
Overview In this post, we'll cover how to automate EBS snapshots for your AWS infrastructure using Lambda and CloudWatch. We'll build a solution that creates nightly snapshots for volumes attached to EC2 instances and deletes any snapshots older th…
In a N x N grid composed of 1 x 1 squares, each 1 x 1 square consists of a /, \, or blank space. These characters divide the square into contiguous regions. (Note that backslash characters are escaped, so a \ is represented as "\\".) Return the…
原题链接在这里:https://leetcode.com/problems/regions-cut-by-slashes/ 题目: In a N x N grid composed of 1 x 1 squares, each 1 x 1 square consists of a /, \, or blank space. These characters divide the square into contiguous regions. (Note that backslash chara…
题目如下: In a N x N grid composed of 1 x 1 squares, each 1 x 1 square consists of a /, \, or blank space. These characters divide the square into contiguous regions. (Note that backslash characters are escaped, so a \ is represented as "\\".) Retu…
作者: 负雪明烛 id: fuxuemingzhu 个人博客: http://fuxuemingzhu.cn/ 目录 题目描述 题目大意 解题思路 代码 日期 题目地址:https://leetcode.com/problems/regions-cut-by-slashes/description/ 题目描述 In a N x N grid composed of 1 x 1 squares, each 1 x 1 square consists of a /, \, or blank spac…
记录一下搭建 Spring Cloud 过程中踩过的一些坑,测试的东西断断续续已经弄了好多了,一直没有时间整理搭建过程,时间啊~时间~ Spring 版本 Spring Boot:2.0.6.RELEASE Spring Cloud:Finchley.SR2 多环境配置切换 使用 Spring Cloud 来处理 多配置的切换在开发中真是很常用,能有效提高效率.一些成熟的框架基本都有关于配置切换的解决方案,当然了 Spring Cloud 也不例外! 先看看我的配置文件结构: 配置文件通过后缀区…
1. Service Discovery: Eureka Server(服务发现:eureka服务器) 1.1 依赖 <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-netflix-eureka-server</artifactId> </dependency> 1.2 How to Run a Eur…
This article is from blog of Amazon CTO Werner Vogels. -------------------- Today is a very exciting day as we release Amazon DynamoDB, a fast, highly reliable and cost-effective NoSQL database service designed for internet scale applications. Dynamo…
OpenStack 2014.1 (Icehouse) Release Notes General Upgrade Notes Windows packagers should use pbr 0.8 to avoid bug 1294246 The log-config option has been renamed log-config-append, and will now append any configuration specified, rather than completel…