Skip to content

Instantly share code, notes, and snippets.

View TakingItCasual's full-sized avatar

TakingItCasual

  • Mikkeli, Finland
View GitHub Profile
@riandyrn
riandyrn / INSTALL_GOLANG_1.13.4_AMI_LINUX.md
Last active December 18, 2021 21:23
[Install Golang 1.13.4 on AMI Linux]

Install Golang

cd /usr/local/
sudo wget https://dl.google.com/go/go1.13.4.linux-amd64.tar.gz
sudo tar -xzf go1.13.4.linux-amd64.tar.gz

Append Golang Binary to Path

@nguyendv
nguyendv / boto3_tutorial.py
Created June 30, 2017 20:36
Boto3 tutorial: create a vpc, a security group, a subnet, an instance on that subnet, then make that instance 'pingable' from Internet
import boto3
# http://boto3.readthedocs.io/en/latest/reference/services/ec2.html#service-resource
ec2 = boto3.resource('ec2', aws_access_key_id='AWS_ACCESS_KEY_ID',
aws_secret_access_key='AWS_SECRET_ACCESS_KEY',
region_name='us-west-2')
# create VPC
vpc = ec2.create_vpc(CidrBlock='192.168.0.0/16')