Skip to content

Instantly share code, notes, and snippets.

View hzburki's full-sized avatar
👋
Hi! Any questions?

Haseeb Burki hzburki

👋
Hi! Any questions?
View GitHub Profile
@hzburki
hzburki / serverless.yml
Created April 16, 2019 07:59
.yml file for blog post serverless project
# Happy Coding!
service: serverless-node
provider:
name: aws
runtime: nodejs8.10
stage: dev
region: eu-west-1
@hzburki
hzburki / buildspec.yml
Created December 15, 2018 13:33
buildspec.yml file for uploading static site to AWS S3 with CodeBuild
version: 0.2
phases:
install:
commands:
- npm i npm@latest -g
- pip install --upgrade pip
- pip install --upgrade awscli
pre_build:
commands:
@hzburki
hzburki / ssl.config
Last active August 11, 2020 13:10
File for Configuring SSL Certificate to Elastic Beanstalk - Single Instance
Resources:
sslSecurityGroupIngress:
Type: AWS::EC2::SecurityGroupIngress
Properties:
GroupId: {"Fn::GetAtt" : ["AWSEBSecurityGroup", "GroupId"]}
IpProtocol: tcp
ToPort: 443
FromPort: 443
CidrIp: 0.0.0.0/0