-
Continue reading →: Credit Card Number Checker (JavaScript)Credit card details are frequently used online and you may be wondering how a website checks if a card number is legitimate or not. During my CodeAcademy “Back-End Engineer” I have tackled the Credit Card Checker project which involves using the Luhn algorithm to check credit card numbers. Quoting Wikipedia…
-
Continue reading →: 30 Day Coding Challenge & Personal Update 2020
I live in a part of the UK that has been under restrictions since March (with a few unrestricted weeks at the beginning of Summer) due to Coronavirus. When October kicked in my mood went a little bit bleaker as the light summer months had been and gone, darker days…
-
Continue reading →: The DRY principle: Ansible and variablesOne of the frequent teachings I have learned whilst learning programming languages is that repeated blocks of code should be, where possible, placed into a function so that the function can be called multiple times instead of writing out the code multiple times. This approach as the benefits of: Producing…
-
Continue reading →: Hacktoberfest 2020
It’s October 2020 and time for the 7th Hacktoberfest. Between the 1st October and 31st October Hacktoberfest encourages anyone from developers, to students to those that just want to give Git a shot, to complete some Git pull requests and help out with public repositories on GitHub. I’ve not taken…
-
Continue reading →: Terraform – States, Locks & Team WorkTerraform can create, modify and destroy infrastructure, and with my last blog post I’ve seen that it can run Ansible to configure the infrastructure that it creates. So far, so good but what if multiple people work on the same project with each trying to adjust code at the same…
-
Continue reading →: Terraform – Security Groups, Provisioners and AnsibleMy previous blog posts looked at what Terraform is and also how to deploy an AWS EC2 instance with Terraform. In this blog post I am going to alter my main.tf file so that Terraform also creates a new AWS security group with some ingress rules and also runs an…
-
Continue reading →: Terraform – Introduction: TF files / First Run
Following on from my previous blog post which looked at installing Terraform, I am now going to look at using Terraform to deploy an AWS EC2 instance. Terraform uses Infrastructure as Code (IaC) and so it needs a terraform file containing the details of what the expected infrastructure should be.…
-
Continue reading →: Terraform – Introduction: Installation
In this blog post I am going to introduce Terraform and install it. What’s Terraform? Terraform is a tool to help build infrastructure from code, i.e. it takes a terraform file and then creates / destroys infrastructure as required. Terraform was created by Hashicorp, the same company behind Vagrant and…
-
Continue reading →: AWS – Virtual Image To EC2 Image (AWS)In this blog post I am going to look at exporting a virtual machine from Virtual Box and then importing it into AWS for use as an EC2 instance. Note: During my initial test I used a version of Ubuntu not yet supported by AWS EC2 (well, a version of the…
-
Continue reading →: AWS – Using Logstash to Ingest Logs From S3 Bucket Into ElasticI have written a few blog posts about setting up an ELK (Elastic Logstash Kibana) stack but have not really touched on the power of Logstash. In this blog post I am hoping to resolve this by looking at using Logstash to get logs from an AWS S3 bucket and…


