npm install artillery
- ๊ฐ๋จํ
์คํธ
artillery quick --count 500 -n 20 https://scaleouttest.azurewebsites.net/
- 500๋ฒ ์นด์ดํธ๋ฅผ 20๋ช ์ด์ ํ๋ ํจ๊ณผ(?)
a4b.amazonaws.com | |
acm-pca.amazonaws.com | |
acm.amazonaws.com | |
alexa-appkit.amazon.com | |
alexa-connectedhome.amazon.com | |
amazonmq.amazonaws.com | |
apigateway.amazonaws.com | |
application-autoscaling.amazonaws.com | |
appstream.application-autoscaling.amazonaws.com | |
appsync.amazonaws.com |
module "prod-openvpn-sg" { | |
# source = "../modules/security-group" | |
source = "github.com/terraform-aws-modules/terraform-aws-security-group" | |
name = "${var.vpn_name}-sg" | |
description = "Security Group for openvpn server Prod" | |
vpc_id = var.vpc_id | |
ingress_cidr_blocks = ["0.0.0.0/0"] # Actual IP range to support | |
ingress_ipv6_cidr_blocks = ["::/0"] | |
ingress_rules = ["openvpn-udp", "openvpn-tcp", "openvpn-https-tcp", "ssh-tcp"] | |
egress_rules = ["all-all"] |
apiVersion: v1 | |
kind: Pod | |
metadata: | |
name: ubuntu | |
labels: | |
app: ubuntu | |
spec: | |
containers: | |
- image: ubuntu | |
command: |
npm install artillery
artillery quick --count 500 -n 20 https://scaleouttest.azurewebsites.net/
Resources: | |
ProductsFunction: | |
Type: AWS::Serverless::Function | |
Properties: | |
CodeUri: products/ | |
Handler: app.handler | |
Layers: | |
- !Ref CommonLayer | |
Runtime: nodejs8.10 | |
Events: |
git archive --format=tar.gz -o /tmp/my-repo.tar.gz --prefix=my-repo/ master
More detailed version: https://til.simonwillison.net/git/git-archive
# See list of docker virtual machines on the local box | |
$ docker-machine ls | |
NAME ACTIVE URL STATE URL SWARM DOCKER ERRORS | |
default * virtualbox Running tcp://192.168.99.100:2376 v1.9.1 | |
# Note the host URL 192.168.99.100 - it will be used later! | |
# Build an image from current folder under given image name | |
$ docker build -t gleb/demo-app . |
tl;dr: Copy the q42:accounts-microsoft and q42:microsoft package, modify the URLs and service name and it works! Probably anyway...
When creating a commercial application with a wide target audience, you can stumble upon users wanting to login using an unknown and barely used OAuth service. And why deny your users this when you can easily create a login service package?
With only about 400 million active users and only 2nd place as world most valuable brand it makes sense that no developer has created an implementation to log in with your Microsoft account. But believe it or not, some people like logging in with their Microsoft Account. And so, by building on the the default meteor google and [accounts-google](https://atmospherejs.com/me
# | |
# Ubuntu Node.js Dockerfile | |
# | |
# https://github.com/dockerfile/ubuntu/blob/master/Dockerfile | |
# https://docs.docker.com/examples/nodejs_web_app/ | |
# | |
# Pull base image. | |
FROM ubuntu:14.04 |