View gist:4955f82c0a2f272e9a213a0e92349ea8
Weighted load balancer is needed to simplify the design of clustered virtual firewall appliance. The necessary weight is only 100 vs 0.
In the senarios that Azure Load Balancer which faces to internet balances to two virtual firewall appliances, firewalls must transrate a source ip address to avoid asymmetric routing. So the servers which recieve packets from firewalls don't know the ip address of real client. The details are in attached picture.
If Azure Load Balancer have the avility of weight balancing, firewalls don't transrate a source ip address. Because Every packet always pass through one firewall . The design of clustering two firewall become very simple in using the ha port of standard load balancer.

Title: author Azure Function uses deferral: ongou_ye

date: 2017-12-14 url: /archives/2017-12-14-using-asyncawait-on-azure-function categories:

*   Azure

View moment.js
let main = async() =>{
const moment = require('moment');
let m = moment()
let res = m.utc().format('MM')
View gist:a068ffd32d938c94e649e3e5371523e1
View gist:258d8c7b0ca898cd7202702c4831c8f6
id: "6129407334",
type: "PushEvent",
actor: {
id: 4665434,
login: "v-alje",
display_login: "v-alje",
gravatar_id: "",
url: "",
avatar_url: ""
View gist:7459c120bb74a6c15a805d9cdb532d83
id: "6121971036",
type: "PushEvent",
actor: {
id: 4665434,
login: "v-alje",
display_login: "v-alje",
View gist:c00473c9fa5665305c943b707df91108
Invoke-WebRequest -Uri -OutFile ConfigureRemotingForAnsible.ps1
powershell -ExecutionPolicy RemoteSigned .\ConfigureRemotingForAnsible.ps1 -SkipNetworkProfileCheck
View gist:36c396f6fcf43b58e55ddcd69eb8fc76
aws ec2 describe-images --owner self amazon --profile lambda --region ap-northeast-1 --filters 'Name=platform,Values=windows,Name=name,Values=Windows_Server-2012-R2*Japanese-64Bit-Base*' --query 'reverse(sort_by(Images,&CreationDate))[0].ImageId' --output text
View devtool's dockerfile
FROM ubuntu
RUN apt-get update && \
apt-get install -y python3 python3-dev libssl-dev python3-pip ruby wget -no-install-recommends && \
apt-get clean && rm -rf /var/cache/apt/archives/* /var/lib/apt/lists/* && \
apt-get update && \
pip3 install ansible && \
gem install serverspec test-kitchen --no-ri --no-rdoc && \
pip3 install awscli && \
pip3 install aws-shell && \