Skip to content

Instantly share code, notes, and snippets.

@akira345
akira345 / modify_ec2_instancetype.rb
Last active August 29, 2015 14:00
modify_EC2_InstanceType
# -*- coding: utf-8 -*-
#
# http://buta9999.hatenablog.jp/entry/2014/01/30/010351を参考に作成
require 'aws-sdk'
require 'yaml'
require 'pp'
require "optparse"
opts = OptionParser.new
@heitorlessa
heitorlessa / example_minio_boto3.py
Created August 30, 2016 14:18
Minio with python boto3
# Sample as to how to initialize s3 client to work with Minio API compatible - https://github.com/minio/minio
# AWS CLI counterpart - https://docs.minio.io/docs/aws-cli-with-minio
import boto3
s3 = boto3.resource('s3',
endpoint_url='http://<minio_IP>:9000',
config=boto3.session.Config(signature_version='s3v4')
)