My Pet Projects

In this article, I will describe my current pet projects. These are mainly excuses to learn something new, or exercises to go deeper into particular technologies, but could be (I hope) useful for you too. Don’t hesitate to issue enhancements, bug fixes (PR), or just give it a try and share your thoughts. Instance Watcher :construction_worker: Tech: Lambda, Python, Serverless Application Model (SAM), SES ...

May 30, 2019 · 3 min · 513 words · Victor Grenu

My DevOps toolbox for AWS practitioner

In this post, you will find my best tools to work with if you are playing around with AWS services. Please let us know yours in the comments below :punch: Last Update: 2019-02-14 General :construction: Description Links Use multiple AWS Accounts on the same browser using Firefox Containers Firefox Containers Facilitate your switch role experience with this AddOn FF - Extend Switch Roles - Chrome - Extend Switch Roles Easy way to know your current public ip, using AWS Service What is my Public IP Check if any website is hosted on AWS Is It on AWS? Test the reachability of EC2 worldwide EC2 Reachability A great reference for IAM, needs to be updated Cloudonaut IAM Reference AWS Transfer costs are a nightmare, this is intended to help a bit AWS Transfer Costs Want to know the current inter AWS Region latency? Inter-Region Latency THE REFERENCE (don’t forget the associate Slack) AWS Open Guide FinOps :dollar: Description Links Compare all existing EC2 instances, and pricing on a single view, with search capabilities ec2instances.info Well known AWS Calculator, a new version is coming AWS Calc Infrastructure as Code (IaC) :memo: Description Links Great post if you plan to use VSCode with CFN VSCode Linter for CFN, and really up-to-date! cfn-lint PyCharm is my preferred IDE for Terraform with this plugin Terraform Security / Governance / Hardening :flashlight: Description Links Cloud Governance, Security and compliance made easy Cloud Custodian Entirely nuke an AWS Account (warning), for example, training accounts aws-nuke Store your AWS credentials encrypted, with other cool features like login AWS-Vault Least Privileges tool from 0xdabbad00, using Athena and CloudTrail CloudTracker Map / Audit your AWS environments, and much more, Thanks again Scott CloudMapper Schema :triangular_ruler: Description Links Schema / Design your Architecture (with new AWS icons) Draw.io Same, with some advanced paid features ($) CloudCraft See ya Folks. ...

February 14, 2019 · 2 min · 312 words · Victor Grenu

SecretManagement for Terraform and Ansible

In this quick article, I’ll show you how I use AWS SSM Parameter Store as glue between Terraform and Ansible. Use Case For a personal project, I needed to pass some parameters (key/value) and secrets (encrypted) from my IaC Terraform to Ansible. AWS SSM PS? AWS SSM Parameter Store is a secure key-value store, a native EC2 functionality. From AWS Documentation: Parameter Store offers the following benefits and features: Use a secure, scalable, hosted secrets management service (No servers to manage). Improve your security posture by separating your data from your code. Store configuration data and secure strings in hierarchies and track versions. Control and audit access at granular levels. Configure change notifications and trigger automated actions. Tag parameters individually, and then secure access from different levels, including operational, parameter, EC2 tag, or path levels. Reference AWS Secrets Manager secrets by using Parameter Store parameters. Use Parameter Store parameters with other Systems Manager capabilities and AWS services to retrieve secrets and configuration data from a central store. The following AWS services support Parameter Store parameters: Amazon EC2, Amazon Elastic Container Service, AWS Lambda, AWS CloudFormation, AWS CodeBuild, and AWS CodeDeploy. Configure integration with AWS KMS, Amazon SNS, Amazon CloudWatch, and AWS CloudTrail for encryption, notification, monitoring, and audit capabilities. Terraform Set SSM secrets the right way: ...

October 5, 2018 · 2 min · 344 words · Victor Grenu

[FR] Connexion sécurisée à votre réseau personnel

Dans ce premier article en Français, nous allons voir comment vous pouvez connecter à votre réseau personnel (LAN) de votre domicile de manière sécurisée. L’idée est d’ouvrir sur votre box internet le moins de port possible, et ainsi réduire votre surface d’attaque au maximum grâce à un tunnel SSH. Ainsi, il n’y aura qu’une seule porte d’entrée à votre réseau et à vos équipements, nous allons sécuriser cette unique entrée. ...

January 1, 2018 · 5 min · 877 words · Victor Grenu

Wanacry or Wanasmile?

In this article, you will find best practices regarding security and the high availability of your data to prevent the spread of Wanacry and other ransomware. What is wanacry? Wanacry is a ransomware that uses a hole in the SMB protocol called EternalBlue, then DoublePulsar is installed as a backdoor to run Wanacry. After you get infected, your files begin to be encrypted with the AES-128-CBC cipher, and then a popup asks you for a ransom to get them back. It spreads through the network using port TCP/445 (SMB v1). ...

May 29, 2017 · 5 min · 917 words · Victor Grenu