Skip to content

Instantly share code, notes, and snippets.

{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"ResourcePrefix": {
"type": "string",
"metadata": {
"description": "provide a 2-13 alphanumeric character in lower case prefix for all resources."
}
},
@p-prakash
p-prakash / azure-vote.yaml
Created February 23, 2023 22:20
Sample Azure Vote application using topology spread to place pods in both spot and on-demand node pools
apiVersion: apps/v1
kind: Deployment
metadata:
name: azure-vote-back
spec:
replicas: 1
selector:
matchLabels:
app: azure-vote-back
template:
@p-prakash
p-prakash / xBrowserSync.yaml
Created October 30, 2022 19:57
This is a simple implementation of xBrowserSync API using AWS Serverless technologies. All the components that's used here are on-demand hence you pay only for what you use.
Description: "xBrowserSync Personal API Server"
AWSTemplateFormatVersion: 2010-09-09
Parameters:
ApiStageName:
Description: 'Name of the API Stage'
MaxLength: 6
MinLength: 3
Type: String
AWSTemplateFormatVersion: '2010-09-09'
Description: >
Stack to create an ALB backed by Lambda to return HTTP request back
Parameters:
Subnets:
Description: Select two or more public subnets
Type: List<AWS::EC2::Subnet::Id>
VpcId: