Email the Author
You can use this page to email Carles Mateo about Automating and Provisioning to Amazon AWS using boto3 SDK for Python 3.
About the Book
Creation Date: 2021-10-01
Last Update: 2022-01-16 v. 16
This book covers the Amazon SDK for Python 3: boto3.
Across 128 pages, DIN-A4 full size, PDF only, DRM-free, it explains, since the beginning, how to create a CLI (Command Line Interface) application that uses Amazon's boto3 Python SDK to interact with Amazon AWS and do operations like:
- Pass different credentials to boto3 as text (not just having on the default file locations)
- Create new Instances
- Start, Stop a Instance
- Stop all the running instances
- Start all the stopped instances
- List Instances
- Using tags
- Create, Add, Remove, EBS Volumes
- Create S3 Buckets, upload files, download files, list objects on a bucket
- Add CloudWatch Alerts
- Create tables in DynamoDB and perform Inserts
- Also includes how to deploy AWS group of instances from Ansible, and install Apache to one of the group through an Ansible Playbook
Full Source Code included.
It's completely hands on, and most of the book is code and explanations related, so you'll be able to code your own Automations for Amazon and save many hours or investigation and try and error.
It teaches you all the stuff you need to Automate Operations against Amazon AWS with Python 3.
The programs are tested to work with Ubuntu Linux, but they should work on any Linux distro, on Mac and Windows. (with the exception of chmod which is a specific command for Linux and Mac, and one Bash sample for Ansible which uses grep, another specific utility for Linux)
About the Author
I’m Carles Mateo, since January 2020 working as Operations Engineer for Blizzard Entertainment in Cork, Ireland.
Previously worked as Cloud Architect and SDM for Sanmina, in Ireland and United States, where I created and I did lead a Python and C project for a Storage Manager for our 4U Cold Storage Servers 1PB and 2U SSD and 1U NVMe with NICs up to 2x100Gbps, which will restore redundancy in the RAID when a drive dies, very quickly, using ZFS and DRAID.
I helped several multinationals:
- Volkswagen IT (gedas) where I got promoted to head of department of Reusability and Code Components and previously I lead the SEAT's Intranet project, I solved TCP/Ip transmission problems in project PortIc for Barcelona's port (EDI Transfer), I created a project to transfer warranty documents over Web and TCP/IP instead of X.25 expensive lines, and worked for CaixaBank (formerly "la caixa") creating a Documentum solution programing the GUI and DLL's.
- Winterthur Insurance (Axa) where I was Senior PM and I lead both technically and in functionally, the project to deploy a new Contact Center Software, the e-Commerce web platform and the insurance of health policies (special Data treatment)
- BBVA Tickets where I was responsible of the platform (Sun Solaris and Oracle)
I worked a lot for CSP (Cloud Service Providers) and ISP, in Linux.
Also I helped many Start ups, e-Commerces, Online travel agencies... as CTO or in hands on positions leading teams and coding myself, in Software Development, SRE and Operation roles.
I was one of the 5 Senior BackEnds that wrote Privalia's new multi-country Website, from the scratch, with inheritance, and I lead a KPI Dashboards for CEO, really learning the internals of all the areas of the company through the data.
The last company I was CTO for, in Barcelona, was sold to airbnb for 45 million euros.
My friends say that everything I touch turns into gold, and my very good friend Jaume (R.I.P.) used to say that I was the most brutal technical guy, solving all the difficult technical issues easily, that he ever met. I've very grateful thoughts and memories for all the people that did speak up how well they considered me, and that were fair Other people tried to take advantage by never telling me how good and helpful I was, so they could pay me less. What they didn't know is that I always had offers paying me double, and I was choosing to help them.
Now I only accept fair agreements. I know my value.
I started programming when I was 5 years old, at 10 I won a contest at Spanish State level, getting a Pc with a green phosphorescent monitor and a floppy drive, and I've lived the times of the BBS, much before Internet.
I've coded many Freeware Software, and Open Source Software, and I created the first system in Europe to sell Tickets for musical events, in 1995, for Tick Tack Ticket. I created this e-Commerce engine, with render template system completely in C, cgi-bin, HTML.
I love Software and Hardware.
I've worked with C, Java, PHP, Python... and my knowledge of PHP Unit Testing really reached its best when I was working for a bank.
I've invented the CSort algorithm.
In my free time I teach some students to get pro in coding. Most of my time now I work with Python 3, Docker Containers and Linux.
You can find information about me in my blog.