I hereby claim:
- I am z0ph on github.
- I am zoph (https://keybase.io/zoph) on keybase.
- I have a public key ASA7SugWvwT4F4VceTFDHhj6HMpfxM2eimR8fG4hTc_eVwo
To claim this, I am signing this object:
# Installation Office 2016 from USB Key | |
# VGR - 09/03/17 | |
# Current folder of the running .ps1 file | |
$PS1dir = [System.IO.Path]::GetDirectoryName($myInvocation.MyCommand.Definition) | |
# Path of the configuration | |
$conf = "$($PS1dir)\conf_FR.xml" | |
# Current path with reformated end of XML line |
{ | |
"Comment": "Update the A record set", | |
"Changes": [ | |
{ | |
"Action": "UPSERT", | |
"ResourceRecordSet": { | |
"Name": "MY_DNS_RECORD_NAME", | |
"Type": "A", | |
"TTL": 60, | |
"ResourceRecords": [ |
#!/bin/bash | |
yum install bash-completion --enablerepo=epel -y | |
. /etc/bash_completion | |
curl https://raw.githubusercontent.com/wallix/awless/master/getawless.sh | bash | |
mv awless /usr/local/bin/ | |
echo 'source <(awless completion bash)' >> ~/.bashrc:x | |
source .bashrc |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env python | |
import boto3 | |
import argparse | |
def lookup_by_id(sgid): | |
sg = ec2.get_all_security_groups(group_ids=sgid) | |
return sg[0].name | |
# get a full list of the available regions | |
session = boto3.Session(profile_name='dev') |
Migrated to https://github.com/zoph-io/awscon-onepager
Disclamer
This year, there is too much announcements to be completely exhaustive, I will only list the most major announcements.
Retour sur une semaine incroyable et riche en annonces comme à l'accoutumée pour cette nouvelle édition du salon annuel Amazon Web Services (AWS) à Las Vegas.
Dans cet article, nous allons revenir sur les principaux lancements de cette année, des plus importants aux plus inattendus.
Quelques chiffres avant de commencer, AWS est un business avec un CA de 27Mds$, avec une croissance de 46-49%. Cette année, le re:Invent c'est 50 000 participants annoncés, répartis sur les 5 principaux casinos de Las Vegas.
# install aws cli first | |
for region in `aws ec2 describe-regions --output text | cut -f3` | |
do | |
echo -e "\nListing Instances in region:'$region'..." | |
aws ec2 describe-instances --query "Reservations[*].Instances[*].{IP:PublicIpAddress,ID:InstanceId,Type:InstanceType,State:State.Name,Name:Tags[0].Value}" --output=table --region $region | |
done |
I hereby claim:
To claim this, I am signing this object:
import boto3 | |
AWS_REGION = 'eu-west-1' | |
session = boto3.Session(region_name=AWS_REGION) | |
ec2 = session.client('ec2') | |
def main(event, context): | |
ec2_regions = [region['RegionName'] for region in ec2.describe_regions()['Regions']] | |
# For all AWS Regions | |
for region in ec2_regions: |