Skip to content

Instantly share code, notes, and snippets.

View GovardhanKanala's full-sized avatar
💭
I may be slow to respond.

GovardhanKanala

💭
I may be slow to respond.
View GitHub Profile
@GovardhanKanala
GovardhanKanala / spot_price.config
Created October 3, 2018 10:57 — forked from rahulmamgain/spot_price.config
Spot Instance Configuration Elastic Beanstalk
Resources:
AWSEBAutoScalingLaunchConfiguration:
Type: "AWS::AutoScaling::LaunchConfiguration"
Properties:
SpotPrice:
"Fn::GetOptionSetting":
Namespace: "aws:elasticbeanstalk:application:environment"
OptionName: "EC2_SPOT_PRICE"
DefaultValue: {"Ref":"AWS::NoValue"}
@GovardhanKanala
GovardhanKanala / master.md
Created November 22, 2017 01:13 — forked from gangsta/master.md
Install Consul Server on Centos 7
echo '
#! /bin/bash


####### yum update is optional #####
#yum -y update
yum install firewalld -y
systemctl start firewalld
firewall-cmd  --add-port=8300/tcp --add-port=8301/tcp --add-port=8302/tcp --add-port=8400/tcp --add-port=8500/tcp --add-port=80/tcp --add-port=443/tcp --permanent