Skip to content

Instantly share code, notes, and snippets.

View macroramesh6's full-sized avatar
:octocat:

Ramesh Murugesan macroramesh6

:octocat:
View GitHub Profile
@navicore
navicore / az_cmds.md
Last active November 6, 2019 11:24
az commands

az commands

get tenant id and subscription id

az account show -o json | jq ".tenantId, .id"

create an application

@disono
disono / Ubuntu Server 20.04 Setup.md
Last active March 5, 2023 18:04
Setup Ubuntu Server for 20.04

SSH

$ sudo apt install openssh-server
$ sudo systemctl status ssh
# firewall
$ sudo ufw allow ssh

Swap file

Resources:
ProductsFunction:
Type: AWS::Serverless::Function
Properties:
CodeUri: products/
Handler: app.handler
Layers:
- !Ref CommonLayer
Runtime: nodejs8.10
Events:
@passionsjin
passionsjin / usage.md
Created May 12, 2020 02:57
부하테스트- artillery

npm install artillery

  • 간단테스트 artillery quick --count 500 -n 20 https://scaleouttest.azurewebsites.net/
  • 500번 카운트를 20명이서 하는 효과(?)
@tcdowney
tcdowney / ubuntu-sleep.yaml
Created June 27, 2020 00:54
Ubuntu Sleep Pod
apiVersion: v1
kind: Pod
metadata:
name: ubuntu
labels:
app: ubuntu
spec:
containers:
- image: ubuntu
command:
@ismail0352
ismail0352 / openvpn.tf
Last active April 8, 2021 05:16
Example of how a vpn server can be created
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"]
@sebandgo
sebandgo / aws-service-principals.txt
Created November 3, 2020 20:04
AWS Service Principals
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