get tenant id and subscription id
az account show -o json | jq ".tenantId, .id"create an application
| Resources: | |
| ProductsFunction: | |
| Type: AWS::Serverless::Function | |
| Properties: | |
| CodeUri: products/ | |
| Handler: app.handler | |
| Layers: | |
| - !Ref CommonLayer | |
| Runtime: nodejs8.10 | |
| Events: |
npm install artillery
artillery quick --count 500 -n 20 https://scaleouttest.azurewebsites.net/| apiVersion: v1 | |
| kind: Pod | |
| metadata: | |
| name: ubuntu | |
| labels: | |
| app: ubuntu | |
| spec: | |
| containers: | |
| - image: ubuntu | |
| command: |
| 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"] |
| 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 |