MySQL is a database management systems commonly used for deploying cloud-native applications. Programming languages such as Python can be used to access and affect the database. Python is popular for this programming databases because it is platform-independent, fast, portable, and supportive of relational databases, SQL cursors, and opened or closed connections.
Today I will use a Python-Connector to connect Python & MySQL, and then I’ll make a test MySQL database. I gained inspiration to try this exercise from a former coach of mine, and you can find his original article here. …
The Phoenix Project, which I summarized in a past article, is an educational novel about DevOps. The DevOps Handbook is the non-fiction follow up to The Phoenix Project. In today’s article, I outline The DevOps Handbook, with focus on the major themes depicted below.
The purpose of today’s article is to show how multiple tools can come together to create architecture that is reliably stored and continuously deployed. You can read some related articles here and here.
The sequence I followed was first to create the VPC with CIDR 10.0.0.0/16, create two public subnets with CIDR 10.0.1.0/24 and 10.0.2.0/24, and create an autoscaling group with Amazon Linux 2 instances (t3.nano) with a minimum of 2 & a max of 3 instances. …
In this exercise I used Python to build a Linux & Bash-themed quiz. The program calls upon users to answer ten questions, and at the end of the quiz, the user is told their score.
First I made the following dictionary named data.py (Image 1). This features ten trivia…
GitLab is a web-based DevOps lifecycle tool providing users with a Git repository manager and CI/CD pipeline features. GitLab is open-source with additional functionality being proprietary.
In this exercise, I will launch a static website using GitLab, and I will explore the tool in the context of CI/CD. The steps I took to first register, then create a new project, then run the project pipeline, and then to test my work.
I went to the Sign In/Register page on GitLab. I then registered (Image 1).
Amazon Elastic Kubernetes Service (EKS) is AWS’ service for deploying, managing, and scaling containerized applications with Kubernetes. Terraform Cloud is an application that manages Terraform runs & allows for automated deployments.
In this exercise, my plan was to provision an Amazon EKS cluster with Terraform Cloud, while meeting the following requirements: For the EKS Cluster, one worker group shall have a desired capacity of 2. Also, a random string shall allows 5 characters to build the cluster name. Next, we will output the cluster name and IP address of the containers in the cluster. …
Continuous Integration / Continuous Development (CI/CD) is the frequent delivery of applications by steamlining & automating development and operations processes. This method is beautifully illustrated as the key solution towards the end of the novel The Phoenix Project, which I summarized in a previous Medium article.
In this exercise we will create a highly available two-tier AWS architecture, and we will deploy this using Terraform Cloud as our CI/CD tool.
My objective was to create a highly available infrastructure with three public subnets, three private subnets, an auto scaling group…
In Terraform, modules are blocks containing multiple resources being used together. Modules allow you to feed information and other “child” modules into a “parent” module, though “parent” modules cannot be fed into “child” modules. In this exercise, we will make a custom module so that a standardized EC2 instance with an Amazon Linux 2 AMI can be easily reproduced and adjusted in the future.
Using modules in Terraform is great, but one should be cautious of over-using modules because it can be challenging to understand and maintain an unorganized or redundant family of modules.
This exercise centers around Amazon Elastic Container Service (ECS), a service offering managed container orchestration. It integrates with the AWS platform to deploy, manage & scale containerized applications. Also in this exercise we will leverage Terraform Registry, which is a place for providers to offer resource types and modules for quick deployments.
In order to create an Amazon ECS cluster with a CentOS image using Terraform, I first made a new directory for this project called ecsclusterproject, and therein I made…
I first heard of The Phoenix Project in 2016, when a former customer told me he expected all of his employees to read the book. At the time, I skimmed the book, both out of curiosity and to be a good partner.
As I continue my growth in Cloud & DevOps, I thought it’d make sense to finally read the book completely. This article is the result of my notes & key takeaways from The Phoenix Project.
As for a book review, I give it 5/5 stars because the book: