Skip to content

Instantly share code, notes, and snippets.

@edwardsamuel
edwardsamuel / 00-load-balancer.config
Created July 17, 2015 15:40
Enable HTTPS and HTTP-Redirection on AWS Elastic Beanstalk
{
"Resources": {
"AWSEBSecurityGroup": {
"Type": "AWS::EC2::SecurityGroup",
"Properties": {
"GroupDescription": "Allow SSH, HTTP, and HTTPS",
"SecurityGroupIngress": [
{
"IpProtocol": "tcp",
"FromPort": 22,
@edwardsamuel
edwardsamuel / vpc-scenario-2.json
Created July 4, 2015 14:40
AWS CloudFormation Template: VPC
{
"AWSTemplateFormatVersion": "2010-09-09",
"Description": "A VPC environment in two availability zones with an NAT instance.",
"Parameters": {
"envPrefix": {
"Description": "Environment name prefix.",
"Type": "String",
"Default": "Test"
},
"vpcCidr": {